This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import glob | |
from PIL import Image | |
from concurrent.futures import ThreadPoolExecutor | |
import logging | |
# Setup logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') | |
def convert_image_to_webp(img_path): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/shell/platform/android/android_egl_surface.cc b/shell/platform/android/android_egl_surface.cc | |
index 153cbe5c11..a7edfd85b8 100644 | |
--- a/shell/platform/android/android_egl_surface.cc | |
+++ b/shell/platform/android/android_egl_surface.cc | |
@@ -101,6 +101,7 @@ class AndroidEGLSurfaceDamage { | |
partial_redraw_supported_ = | |
set_damage_region_ != nullptr && swap_buffers_with_damage_ != nullptr; | |
+ partial_redraw_supported_ = false; | |
} |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"type":"RenderFrameWithRasterStats","snapshots":[{"layer_unique_id":1512,"duration_micros":477,"snapshot":[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,12,128,0,0,9,96,8,6,0,0,0,74,248,173,93,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,32,0,73,68,65,84,120,156,236,193,1,1,0,0,0,128,144,254,175,238,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math' as math; | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
// ignore: use_key_in_widget_constructors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GMOCK WARNING: | |
Uninteresting mock function call - taking default action specified at: | |
../../flutter/shell/common/shell_unittests.cc:2508: | |
Function call: CreateRenderingSurface() | |
Returns: (ptr = 0x614000043840, value = 8-byte object <30-5A 93-07 01-00 00-00>) | |
NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/docs/gmock_cook_book.md#knowing-when-to-expect for details. | |
GMOCK WARNING: | |
Uninteresting mock function call - returning default value. | |
Function call: IsValid() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inner Circle | 7 | |
---|---|---|
Close Friend | 14 | |
Friend | 28 | |
Professional | 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* thread #10, name = 'io.flutter.1.raster', stop reason = Use of deallocated memory | |
* frame #0: 0x000000010f5bef90 libclang_rt.asan_ios_dynamic.dylib`__asan::AsanDie() | |
frame #1: 0x000000010f5d41c4 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::Die() + 188 | |
frame #2: 0x000000010f5bc7f4 libclang_rt.asan_ios_dynamic.dylib`__asan::ScopedInErrorReport::~ScopedInErrorReport() + 420 | |
frame #3: 0x000000010f5bc018 libclang_rt.asan_ios_dynamic.dylib`__asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 1868 | |
frame #4: 0x000000010f5bcdd8 libclang_rt.asan_ios_dynamic.dylib`__asan_report_load8 + 52 | |
frame #5: 0x0000000108e806c8 Flutter`dart::TimelineEventRecorder::ThreadBlockStartEvent() [inlined] dart::TimelineEventBlock::IsFull(this=0x0000000120ddc900) const at timeline.h:593:32 | |
frame #6: 0x0000000108e806c4 Flutter`dart::TimelineEventRecorder::ThreadBlockStartEvent(this=<unavailable>) at timeline.cc:979 | |
frame #7: 0x000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thread #1, queue = 'com.apple.main-thread' | |
frame #0: 0x00000001cd5062d0 libsystem_kernel.dylib`mach_msg_trap + 8 | |
frame #1: 0x00000001cd505660 libsystem_kernel.dylib`mach_msg + 76 | |
frame #2: 0x000000019f550c30 CoreFoundation`__CFRunLoopServiceMachPort + 380 | |
frame #3: 0x000000019f54ac14 CoreFoundation`__CFRunLoopRun + 1216 | |
frame #4: 0x000000019f54a21c CoreFoundation`CFRunLoopRunSpecific + 600 | |
frame #5: 0x00000001b7116784 GraphicsServices`GSEventRunModal + 164 | |
frame #6: 0x00000001a1f8aee8 UIKitCore`-[UIApplication _run] + 1072 | |
frame #7: 0x00000001a1f9075c UIKitCore`UIApplicationMain + 168 | |
frame #8: 0x0000000104228600 Runner`main(argc=<unavailable>, argv=<unavailable>) at main.m:11:12 [opt] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::ffi::CString; | |
use std::os::raw::{c_char, c_int}; | |
use std::{ptr, mem}; | |
#[no_mangle] | |
unsafe extern "C" fn get_strings(outlen: *mut c_int) -> *mut *mut c_char { | |
let mut v = vec![]; | |
// Let's fill a vector with null-terminated strings | |
v.push(CString::new("Hello").unwrap()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:camera/camera.dart'; | |
import 'package:webview_flutter/webview_flutter.dart'; | |
List<CameraDescription> cameras; | |
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
cameras = await availableCameras(); |
NewerOlder