This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Fix bad texture view config#17486
Merged
fluttergithubbot merged 1 commit intoflutter:masterfrom Apr 2, 2020
Merged
Conversation
Contributor
Author
dnfield
commented
Apr 2, 2020
Comment on lines
+223
to
+234
| when(customMockHost.getContext()).thenReturn(RuntimeEnvironment.application); | ||
| when(customMockHost.getActivity()).thenReturn(Robolectric.setupActivity(Activity.class)); | ||
| when(customMockHost.getLifecycle()).thenReturn(mock(Lifecycle.class)); | ||
| when(customMockHost.getFlutterShellArgs()).thenReturn(new FlutterShellArgs(new String[] {})); | ||
| when(customMockHost.getDartEntrypointFunctionName()).thenReturn("main"); | ||
| when(customMockHost.getAppBundlePath()).thenReturn("/fake/path"); | ||
| when(customMockHost.getInitialRoute()).thenReturn("/"); | ||
| when(customMockHost.getRenderMode()).thenReturn(RenderMode.texture); | ||
| when(customMockHost.getTransparencyMode()).thenReturn(TransparencyMode.transparent); | ||
| when(customMockHost.provideFlutterEngine(any(Context.class))).thenReturn(mockFlutterEngine); | ||
| when(customMockHost.shouldAttachEngineToActivity()).thenReturn(true); | ||
| when(customMockHost.shouldDestroyEngineWithHost()).thenReturn(true); |
Contributor
Author
There was a problem hiding this comment.
even with these additional lines, the test fails without the change in FlutterView.java
jason-simmons
approved these changes
Apr 2, 2020
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Apr 3, 2020
dnfield
pushed a commit
to flutter/flutter
that referenced
this pull request
Apr 3, 2020
* 0b3f2d3 Always cache SkSL when using the Metal backend. (flutter/engine#17468) * ff62dec Roll to clang11, mark 4 (flutter/engine#17483) * 08ae3bb Remove JSON codec from C++ client wrapper (flutter/engine#17312) * 2e90965 Fix bad texture view config (flutter/engine#17486) * abc7293 [pipeline] Add trace event for lag between target and display times (flutter/engine#17384) * Updated bin/internal/fuchsia-linux.version
goderbauer
pushed a commit
to goderbauer/engine
that referenced
this pull request
Apr 16, 2020
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a copy paste error in FlutterView.java
Enables the test that would have caught this and fixes the setup for that test.
Fixes flutter/flutter#53857