Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Jan 22, 2021

issue: flutter/flutter#72021
relanding: #23634

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.
  • The reviewer has submitted any presubmit flakes in this PR using the engine presubmit flakes form before re-triggering the failure.

If you need help, consider asking for advice on the #hackers-new channel on Discord.


valid_ = true;
context_owner_ = false;
valid_ = gr_context != nullptr;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the changed line from the previous PR that was reverted.

@gaaclarke gaaclarke changed the title reland of https://github.com/flutter/engine/pull/23634 implemented GetMainContext() for opengl - reland Jan 22, 2021
@gaaclarke gaaclarke marked this pull request as ready for review January 22, 2021 18:43
@flutter-dashboard

This comment has been minimized.


auto context = GrDirectContext::MakeGL(delegate_->GetGLInterface(), options);

if (context == nullptr) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how valid_ was getting set to false previously.

@gaaclarke gaaclarke merged commit 7c2da3b into flutter:master Jan 22, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 23, 2021
zanderso pushed a commit to flutter/flutter that referenced this pull request Jan 25, 2021
* 004d8ad Roll Skia from cc6961b9ac5e to 6a272434c2b2 (3 revisions) (flutter/engine#23864)

* 7c2da3b reland of flutter/engine#23634 (flutter/engine#23865)

* a4f02b7 Share Android surface GrDirectContext (flutter/engine#23798)

* 31ef1dd Roll Skia from 6a272434c2b2 to bfc9be0f773f (2 revisions) (flutter/engine#23867)

* 6dec57f Remove workarounds now that type promotion accounts for local boolean variables. (flutter/engine#23862)

* a787229 Roll Skia from bfc9be0f773f to 3193ff271628 (5 revisions) (flutter/engine#23872)

* a242dd8 [web] Fix shadows for arbitrary paths on PhysicalShape (flutter/engine#23830)

* 05b4bec Started using Dart_CreateInGroup when using spawn on a release build (flutter/engine#23782)
hjfreyer pushed a commit to hjfreyer/engine that referenced this pull request Mar 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants