This file contains hidden or 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/impeller/aiks/aiks_playground.cc b/impeller/aiks/aiks_playground.cc | |
index 3f31c658da..c958250213 100644 | |
--- a/impeller/aiks/aiks_playground.cc | |
+++ b/impeller/aiks/aiks_playground.cc | |
@@ -52,4 +52,9 @@ bool AiksPlayground::OpenPlaygroundHere(AiksPlaygroundCallback callback) { | |
}); | |
} | |
+void AiksPlayground::TearDown() { | |
+ inspector_.Reset(); |
This file contains hidden or 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
ffmpeg -i box.mov -vf "fps=50" -pix_fmt rgb24 output.gif |
This file contains hidden or 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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} |
This file contains hidden or 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
pid: 28483, tid: 28565, name: 1.ui >>> io.flutter.demo.gallery <<< | |
uid: 10554 | |
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) | |
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000 | |
Cause: null pointer dereference | |
x0 0000000000000000 x1 b40000742dfcc0c0 x2 b40000749df5f4b8 x3 000000735058c898 | |
x4 000000720000a3d1 x5 0000000000fdd7c8 x6 e1a8c061c060c161 x7 b0e1f0e190c041d0 | |
x8 0000000000000000 x9 0000000000000028 x10 0000000000000000 x11 b40000749df5f3b8 | |
x12 0000000000000002 x13 000000007fffffff x14 0000000000fdd7c8 x15 000000734c2b7f60 | |
x16 0000007350c1c6b0 x17 00000076727470c0 x18 000000734b6a2000 x19 000000732cfcb7e8 |
This file contains hidden or 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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/widgets.dart'; | |
void main() => | |
runApp( | |
MaterialApp(home: Scaffold(body: ListView( |
This file contains hidden or 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/impeller/renderer/backend/vulkan/swapchain_impl_vk.cc b/impeller/renderer/backend/vulkan/swapchain_impl_vk.cc | |
index af52870ba9..fcea92a521 100644 | |
--- a/impeller/renderer/backend/vulkan/swapchain_impl_vk.cc | |
+++ b/impeller/renderer/backend/vulkan/swapchain_impl_vk.cc | |
@@ -197,7 +197,7 @@ SwapchainImplVK::SwapchainImplVK(const std::shared_ptr<Context>& context, | |
); | |
swapchain_info.imageArrayLayers = 1u; | |
swapchain_info.imageUsage = vk::ImageUsageFlagBits::eColorAttachment; | |
- swapchain_info.preTransform = caps.currentTransform; | |
+ swapchain_info.preTransform = vk::SurfaceTransformFlagBitsKHR::eIdentity; // caps.currentTransform; |
This file contains hidden or 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
name: gallery | |
description: A resource to help developers evaluate and use Flutter. | |
repository: https://github.com/flutter/gallery | |
version: 2.10.2+021002 # See README.md for details on versioning. | |
environment: | |
flutter: ^3.10.0-10.0.pre.17 # Keep relatively close to master channel version | |
sdk: ">=2.17.0" | |
dependencies: |
This file contains hidden or 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
@staticInterop | |
import 'dart:js_interop'; | |
@JS() | |
@staticInterop | |
class Element {} | |
@JS() | |
@staticInterop | |
class Canvas extends Element {} |
This file contains hidden or 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:io'; | |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(Example()); | |
} | |
class Example extends StatefulWidget { |
This file contains hidden or 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
/// @brief A storage only class for half precision 4x4 matrix. | |
struct HalfMatrix { | |
union { | |
Half m[16]; | |
Half e[4][4]; | |
HalfVector4 vec[4]; | |
}; | |
constexpr HalfMatrix(const Matrix& m) | |
: vec{Vector4(m.m[0], m.m[1], m.m[2], m.m[3]), |