|
Re-land: ui: Move GLImage::BindTexImage fallback from GLImage implementations to GLES2CmdDecoder.
This allows the GPU service to properly track the memory usage
image backed textures.
It also reduces the complexity of GLImage implementations
significantly and makes it easier to support format and
buffer types that require a copy or conversion of data to
be used for sampling.
This change also includes a few minor GLImage cleanups such
as removing gfx:: namespace prefix in places where it's not
needed and making the CopyTexImage GLImage test not part of
the core GLImage tests as it's optional to support that
function.
BUG= 526298
TEST=gl_tests --gtest_filter=GpuMemoryBuffer*, gpu_unittests, gl_unittests --gtest_filter=GLImage*
Committed: https://crrev.com/aa9e9d966688a7ef90fb12259b8e70ac7b6648d6
Cr-Commit-Position: refs/heads/master@{#355552}
Total comments: 2
Total comments: 3
Total comments: 9
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+570 lines, -866 lines) |
Patch |
 |
M |
components/mus/gles2/command_buffer_local.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_deferred_rendering_backing_strategy.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/avda_codec_image.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/avda_codec_image.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
3 chunks |
+29 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/stream_texture_android.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/stream_texture_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
5 chunks |
+32 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/framebuffer_manager.h
|
View
|
1
2
3
|
6 chunks |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/framebuffer_manager.cc
|
View
|
1
2
3
|
6 chunks |
+0 lines, -47 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
42 chunks |
+77 lines, -199 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+39 lines, -60 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/mailbox_manager_sync.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
6 chunks |
+44 lines, -14 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_definition.cc
|
View
|
1
2
3
4
5
6
7
8
10
11
12
13
14
15
|
5 chunks |
+11 lines, -24 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+32 lines, -16 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+30 lines, -33 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.cc
|
View
|
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.cc
|
View
|
|
10 chunks |
+25 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.mm
|
View
|
|
8 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.cc
|
View
|
|
7 chunks |
+26 lines, -198 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ozone_native_pixmap.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ozone_native_pixmap.cc
|
View
|
|
4 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ref_counted_memory.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ref_counted_memory.cc
|
View
|
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ref_counted_memory_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_shared_memory.h
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_shared_memory.cc
|
View
|
|
3 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_shared_memory_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.cc
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.cc
|
View
|
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_tests.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/test/gl_image_test_template.h
|
View
|
1
|
4 chunks |
+52 lines, -10 lines |
0 comments
|
Download
|
Total messages: 70 (26 generated)
|