|
Support swap damage rect using eglSwapBuffersWithDamageKHR
Note: semantics of this extension are different than PostSubBuffer.
Damage rect expresses area of change between current back and front
buffers.
Immediate motivation is to save power during video playback with
overlays, where the GL buffer typically changes very little.
For now, a switch is required to enable support.
BUG=internal b/31264129
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/24abcc8c9a3c991401d40bda546287c90942706e
Cr-Commit-Position: refs/heads/master@{#417730}
Total comments: 2
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+404 lines, -2 lines) |
Patch |
 |
M |
cc/test/test_context_support.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/GLES2/gl2chromium_autogen.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/build_gles2_cmd_buffer.py
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/context_support.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_c_lib_autogen.h
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
2
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation_autogen.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_autogen.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_stub_autogen.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_trace_implementation_autogen.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/cmd_buffer_functions.txt
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/capabilities.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/capabilities.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
View
|
1
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_ids_autogen.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
|
View
|
1
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/gpu_command_buffer_traits_multi.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/khronos/EGL/eglext.h
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/khronos/README.chromium
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/generate_bindings.py
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_bindings_api_autogen_egl.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_bindings_autogen_egl.h
|
View
|
|
5 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_bindings_autogen_egl.cc
|
View
|
|
7 chunks |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_switches.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_switches.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/cast/gl_surface_cast.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/cast/gl_surface_cast.cc
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 27 (14 generated)
|