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
TEST_P(RendererTest, BabysFirstTriangle2) { | |
auto context = GetContext(); | |
ASSERT_TRUE(context); | |
using VS = BabyVertexShader; | |
using FS = BabyFragmentShader; | |
auto desc = PipelineBuilder<VS, FS>::MakeDefaultPipelineDescriptor(*context); | |
ASSERT_TRUE(desc.has_value()); |
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
#version 100 | |
precision mediump float; | |
precision highp int; | |
#ifndef SPIRV_CROSS_CONSTANT_ID_0 | |
#define SPIRV_CROSS_CONSTANT_ID_0 1.0 | |
#endif | |
const float supports_decal = SPIRV_CROSS_CONSTANT_ID_0; | |
struct FragInfo |
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/engine/src/flutter/impeller/typographer/backends/skia/typographer_context_skia.cc b/engine/src/flutter/impeller/typographer/backends/skia/typographer_context_skia.cc | |
index d4082760bf..606c6142ab 100644 | |
--- a/engine/src/flutter/impeller/typographer/backends/skia/typographer_context_skia.cc | |
+++ b/engine/src/flutter/impeller/typographer/backends/skia/typographer_context_skia.cc | |
@@ -38,11 +38,16 @@ | |
#include "include/core/SkPaint.h" | |
#include "include/core/SkSize.h" | |
+#include "include/core/SkTypes.h" | |
+#include "src/base/SkArenaAlloc.h" |
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
vk::MemoryBarrier2KHR memoryBarrier; | |
memoryBarrier.setSrcStageMask( | |
impeller::vk::PipelineStageFlagBits2::eAllCommands); | |
memoryBarrier.setSrcAccessMask( | |
impeller::vk::AccessFlagBits2::eMemoryRead | | |
impeller::vk::AccessFlagBits2::eMemoryWrite); | |
memoryBarrier.setDstStageMask( | |
impeller::vk::PipelineStageFlagBits2::eAllCommands); | |
memoryBarrier.setDstAccessMask( | |
impeller::vk::AccessFlagBits2::eMemoryRead | |
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'; | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatefulWidget { | |
@override | |
_MyAppState createState() => _MyAppState(); |
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 'package:flutter/material.dart'; | |
void main() { | |
runApp(const Example()); | |
} | |
class Example extends StatefulWidget { | |
const Example({super.key}); | |
@override |
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
#ifdef __ARM_NEON | |
// A * B * C * D | |
static void mat_multiply_4x4_neon(const float32_t* A, | |
const float32_t* B, | |
const float32_t* C, | |
float32_t* D) { | |
// these are the columns A | |
float32x4_t A0; | |
float32x4_t A1; |
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/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart b/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart | |
index 8e3a41ab92..bfaaabd7fd 100644 | |
--- a/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart | |
+++ b/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart | |
@@ -27,6 +27,7 @@ class VeryLongPictureScrollingPerfState extends State<VeryLongPictureScrollingPe | |
return Scaffold( | |
appBar: AppBar( | |
actions: <Widget>[ | |
+ LinearProgressIndicator(), | |
Row( |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/bench_flutter/lib/game/game_screen.dart b/bench_flutter/lib/game/game_screen.dart | |
index 16843e0..87da9d4 100644 | |
--- a/bench_flutter/lib/game/game_screen.dart | |
+++ b/bench_flutter/lib/game/game_screen.dart | |
@@ -1,3 +1,5 @@ | |
+import 'dart:ui' as ui; | |
+ | |
import 'package:bench_flutter/audio/audio_controller.dart'; | |
import 'package:bench_flutter/game/button.dart'; | |
import 'package:bench_flutter/game/game_world.dart'; |
NewerOlder