|
ui: Add sub region copy support to GLImage::CopyTexImage.
This extends the GLImage API with support for partial copy operations.
GLImage::CopyTexImage gets two new parameters, |offset| and |rect|. The
name of the function is also changed to GLImage::CopyTexSubImage to
reflect the new behavior.
GLImageMemory implementation is updated to optimize copy operations
that span full rows of pixels.
BUG= 490889
TEST=gpu_unittests, gl_tests
Committed: https://crrev.com/6b683f23b25fa464663b9c44f032eca0195ef4bc
Cr-Commit-Position: refs/heads/master@{#331051}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+90 lines, -36 lines) |
Patch |
 |
M |
content/common/gpu/stream_texture_android.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/stream_texture_android.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_definition.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.cc
|
View
|
|
1 chunk |
+23 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|