|
|
Addition of an unpremultiplied-alpha setting for the GL_CHROMIUM_copy_texture command buffer GL extension.
The extension needs to support the ability to unpremultiply the source of the copy because of the canvas2d-webgl texture use case. Canvas is stored in premultiplied form, yet WebGL expects texture contents to be in unpremultiplied form.
Change also includes conversion of argument types to overriders of WebGraphicsContext3D::copyTextureCHROMIUM(...).
This change is necessary as a result of a wk-change: https://bugs.webkit.org/show_bug.cgi?id=86275
BUG= 101051
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142962
Total comments: 6
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+164 lines, -19 lines) |
Patch |
 |
M |
gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/build_gles2_cmd_buffer.py
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
View
|
1
2
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gl_utils.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
|
View
|
1
2
|
4 chunks |
+43 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
|
5 chunks |
+26 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc
|
View
|
1
|
2 chunks |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/khronos/GLES2/gl2ext.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/gpu/webgraphicscontext3d_in_process_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/gpu/webgraphicscontext3d_in_process_impl.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|