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

Conversation

@xster
Copy link
Member

@xster xster commented Sep 13, 2017

Avoids extraneously re-allocating renderbuffers for new CALayers with the same size as the last one.

Fixes flutter/flutter#12061

Also indirectly fixes flutter/flutter#12022. Can't have GL - lifecycle races if we don't need to run these eagl stuff.

Tested with screen rotates, double-height status bar, posse app, various lifecycle transitions.

@xster xster merged commit 2d530da into flutter:master Sep 13, 2017
@xster xster deleted the gl-renderbuffer-storage-fail branch September 13, 2017 21:05
aam added a commit to aam/engine that referenced this pull request Sep 21, 2017
… storage size (flutter#4103)"

This reverts commit 2d530da as it looks
like a potential cause of performance benchmark regressions on
https://flutter-dashboard.appspot.com/benchmarks.html:
 - flutter_gallery_ios__transition_perf average_frame_build_time_millis
 - flutter_gallery_ios__transition_perf missed_frame_build_budget_count
aam added a commit that referenced this pull request Sep 21, 2017
… storage size (#4103)" (#4133)

This reverts commit 2d530da as it looks
like a potential cause of performance benchmark regressions on
https://flutter-dashboard.appspot.com/benchmarks.html:
 - flutter_gallery_ios__transition_perf average_frame_build_time_millis
 - flutter_gallery_ios__transition_perf missed_frame_build_budget_count
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IOSGLContext::UpdateStorageSizeIfNecessary always updates EAGLContext renderbufferStorage fail

3 participants