-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Support YUV external textures on iOS #36685
[Impeller] Support YUV external textures on iOS #36685
Conversation
@chinmaygarde @bdero The PR is ready for review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the delay in this review. Everything looks great except the concern that the OpenGL ES implementation doesn't use ES 2.0 Core features. I haven't explored how to reconcile this limitation ATM. If we can't do this ATM, I'd rather leave the implementation out of this attempt and we can revisit it later during an ES backend polishing effort. Thanks!
type = GL_UNSIGNED_BYTE; | ||
break; | ||
case PixelFormat::kR8G8UNormInt: | ||
internal_format = GL_RG; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe these are part of OpenGL ES 2.0 are they?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I removed these and add a TODO comment with issue id in the test.
…114651) * 3593f34b9 Roll Skia from bddba32af857 to 8e48bb8ea52e (5 revisions) (flutter/engine#37297) * fb7cde697 [Impeller] Support YUV external textures on iOS (flutter/engine#36685)
* Tweak Texture::Paint API * Support external textures for iOS * format code * Tweak code * format * Clean code * [Impeller] Support YUV external textures on iOS * Fix test * Clean code * Fix compile error * Add todo link * Clean code
…lutter#114651) * 3593f34b9 Roll Skia from bddba32af857 to 8e48bb8ea52e (5 revisions) (flutter/engine#37297) * fb7cde697 [Impeller] Support YUV external textures on iOS (flutter/engine#36685)
fix flutter/flutter#113688
Test result

Pre-launch Checklist
writing and running engine tests.
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.