|
Allow creating GLImage-backed textures with glTexStorage2D.
Add a GL_TEXTURE_BUFFER_USAGE_CHROMIUM TexParameter that can be
specified before glTexStorage2D so it will create a texture that's
backed by an anonymous GLImage. The compositor will use this for
raster buffers that are drawn into using the GPU rasterizer (and thus
don't need to be mapped) and are used with overlays. This will save a
synchronous IPC through the browser into the GPU I/O thread when
creating them.
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;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
Review-Url: https://codereview.chromium.org/2945673002
Cr-Commit-Position: refs/heads/master@{#493302}
Committed: https://chromium.googlesource.com/chromium/src/+/5b05b9032e67ea278ae3a3d1eb2731d1dcdb68c5
Total comments: 1
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+440 lines, -30 lines) |
Patch |
|
M |
cc/resources/resource_provider.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/resources/resource_provider.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+33 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/resources/resource_provider_unittest.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+64 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/test/test_web_graphics_context_3d.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_buffer.txt
|
View
|
1
2
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/GLES2/gl2extchromium.h
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/build_gles2_cmd_buffer.py
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/common/capabilities.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/common/gles2_cmd_utils_autogen.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/feature_info.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/feature_info.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+66 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_validation_autogen.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
View
|
1
2
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/image_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/image_factory.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/texture_manager.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/texture_manager.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/gl_texture_storage_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/texture_image_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/texture_image_factory.cc
|
View
|
|
1 chunk |
+1 line, -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 |
gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_bindings.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image_io_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image_io_surface.mm
|
View
|
1
2
3
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
Total messages: 67 (43 generated)
|