Descriptioncc: zero/one-copy based on shared memory on IOS uses GL_TEXTURE_2D, not GL_TEXTURE_RECTANGLE_ARB.
GL_TEXTURE_RECTANGLE_ARB is needed for only IOSurface backed images like GL_TEXTURE_EXTERNAL_OES
is needed for only surface texture backed images on Android. Replace switches::kUseImageExternal
with switches::kUseImageTextureTarget in order to let cc know what is proper texture target backed image.
Committed: https://crrev.com/72183b04964ecf5d8925dcf63335c4b5dc0e47ae
Cr-Commit-Position: refs/heads/master@{#307214}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Introduce switches::kUseImageIOSurface #
Total comments: 1
Patch Set 3 : replace use_image_external+use_texture_rectangle with a texture target #
Total comments: 8
Patch Set 4 : Address nits #
Total comments: 2
Patch Set 5 : make "external" and "rectangle" a global constant #
Total comments: 1
Patch Set 6 : use GLES2Util::GetStringEnum instead of kImageTextureExternal #
Total comments: 2
Patch Set 7 : more polishing #Patch Set 8 : fix mac build #
Messages
Total messages: 29 (5 generated)
|