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

Conversation

@cbracken
Copy link
Member

Broke iOS builds:

../../flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm:56:28: error: out-of-line definition of 'NeedUpdateTexture' does not match any declaration in 'flutter::IOSExternalTextureGL'
bool IOSExternalTextureGL::NeedUpdateTexture(bool freeze) {
                       ^~~~~~~~~~~~~~~~~

This reverts commit 94b3174.

Broke iOS builds:

    ../../flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm:56:28: error: out-of-line definition of 'NeedUpdateTexture' does not match any declaration in 'flutter::IOSExternalTextureGL'
    bool IOSExternalTextureGL::NeedUpdateTexture(bool freeze) {
                           ^~~~~~~~~~~~~~~~~

This reverts commit 94b3174.
@cbracken cbracken requested review from iskakaushik and mklim August 27, 2019 16:39
@cbracken cbracken merged commit bf77966 into flutter:master Aug 27, 2019
@dnfield
Copy link
Contributor

dnfield commented Aug 27, 2019

LGTM

Copy link
Contributor

@mklim mklim left a comment

Choose a reason for hiding this comment

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

LGTM

@cbracken cbracken deleted the revert-9806 branch August 27, 2019 17:05
cbracken added a commit that referenced this pull request Aug 27, 2019
In current implementation, external texture data flow is a
producer-consumer model. When painting external texture, it always asks
registered external texture object to produce new CVPixelBuffer, then
transforms it to texture. `MarkNewFrameAvailable` function is ignored.
This commit changes the dataflow. Now ios_external_texture_gl caches
previous opengl texture, if no new frame are available, it do not
`copyPixelBuffer` method, just uses cached opengl texture to draw.

This is a re-land of #9806, which was previously reverted
in #11522.
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Aug 27, 2019
[email protected]:flutter/engine.git/compare/4d7ea15cae36...bf77966

git log 4d7ea15..bf77966 --no-merges --oneline
2019-08-27 [email protected] Revert "Reuse texture cache in ios_external_texture_gl. (#9806)" (flutter/engine#11522)
2019-08-27 [email protected] Reuse texture cache in ios_external_texture_gl. (flutter/engine#9806)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
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.

4 participants