Update BGRA_1010102 usage for Mac
This CL follows up on the previous by updating the uses of BGRA_1010102 (which used to be BRGX_1010102) in resource_format_utils.cc and gl_image_io_surface.mm, basically allowing for its correct usage now that the gymnastics of pretending that the alpha format is opaque. Of note here is the CGLTexImageIOSurface2D we use for these types: https://github.com/phracker/MacOSX-SDKs/blob/HEAD/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/CGLIOSurface.h#L102 TEST=display and gl_unittests passing and http://crosvideo.appspot.com/?codec=vp9.2_30&loop=true&mute=true reproducing correctly on Mac. TBR=kbr@ for gpu/command_buffer/service/feature_info.cc (comment fix) Bug: 949260 Change-Id: I8a422192a27833846482d14a1106d7d662ab9bb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2072780 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#747097}
Showing
Please register or sign in to comment