|
|
Use GLES2Interface for shaders and programs
This uses the gpu::gles2::GLES2Interface type in the gl renderer's shader
and program code instead of WebGraphicsContext3D. For production code, the
GLES2Interface is a direct interface to the real command buffer in use. For
cc_unittests, the GLES2Interface is a stub that wraps TestWebGraphicsContext3D
so we can continue to use the same stubs/mocks for now. Once we port all of
the production code over to using GLES2Interface we should port the test context
classes over to the new base interface.
BUG= 181120
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239405
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+278 lines, -170 lines) |
Patch |
 |
M |
cc/DEPS
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc_tests.gyp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/context_provider.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
|
11 chunks |
+36 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/output/program_binding.h
|
View
|
|
4 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/output/program_binding.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+38 lines, -46 lines |
0 comments
|
Download
|
 |
M |
cc/output/shader.h
|
View
|
|
29 chunks |
+34 lines, -30 lines |
0 comments
|
Download
|
 |
M |
cc/output/shader.cc
|
View
|
|
33 chunks |
+34 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/output/shader_unittest.cc
|
View
|
1
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
cc/test/test_gles2_interface.h
|
View
|
1
3
4
5
6
7
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/test/test_gles2_interface.cc
|
View
|
1
3
4
5
6
7
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|