|
ui: Add RGBX_8888 buffer format.
This adds a new RGBX buffer format which is the RGBA equivalent of
BGRX. This is useful to have when importing buffers and it makes
sense to have this when we have BGRX.
This also makes our shared memory implementation of GpuMemoryBuffers
and GLImages support these formats without an alpha channel. This is
useful for testing purposes and not having to special case BGRX makes
for cleaner code.
The GLImage unit test have been updated to test all 32bpp buffer
formats.
BUG= 538325
TEST=gl_unittest --gtest_filter=GLImage*/GLImageCopyTest/*.CopyTexImage
Committed: https://crrev.com/485728ba7af8e6519af075fd64de8e0295c09b93
Cr-Commit-Position: refs/heads/master@{#355839}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+244 lines, -220 lines) |
Patch |
 |
M |
content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
View
|
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/child_process_host_impl.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
|
View
|
|
4 chunks |
+2 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/image_factory.cc
|
View
|
|
4 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/buffer_format_util.cc
|
View
|
|
5 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/buffer_types.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.mm
|
View
|
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.cc
|
View
|
1
2
|
11 chunks |
+137 lines, -71 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ozone_native_pixmap.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ref_counted_memory_unittest.cc
|
View
|
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_shared_memory.cc
|
View
|
|
3 chunks |
+4 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_shared_memory_unittest.cc
|
View
|
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_tests.gyp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/test/gl_image_test_support.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/test/gl_image_test_support.cc
|
View
|
|
5 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ui/gl/test/gl_image_test_template.h
|
View
|
|
3 chunks |
+13 lines, -27 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|