diff options
Diffstat (limited to 'gpu/GLES2/extensions/CHROMIUM')
-rw-r--r-- | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt index 0b22f6b..57085b9 100644 --- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt +++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt @@ -23,7 +23,12 @@ Overview glCopyTexImage2D command. A new function is exported, glCopyTextureCHROMIUM, that performs the same copy operation as glCopyTexImage2D, while respecting the pixel-storage modifiers - UNPACK_FLIP_Y_CHROMIUM and GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM. + UNPACK_FLIP_Y_CHROMIUM, GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and + GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM. + + If GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and + GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM are enabled. Then no alpha + processing occurs. This is the equivalent of having neither flag set. The extension also supports copying BGRA textures, which is not explicitly granted by EXT_texture_format_BGRA8888. |