|
Allow tests to stub out GL draw calls.
This allows us to use real GL bindings but without drawing when we
don't care about pixel output, allowing for faster execution. In
particular this will allow us to use OSMesa instead of a completely
fake GL implementation in the compositor for browser tests.
We add a new kDisableGLDrawingForTests command line flag that can
be set to prevent the GL draw calls from doing any work. We will be
able to set this flag in the browser test environment for any tests
that don't require real pixel output.
R=piman, sievers
BUG= 270918
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244405
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+78 lines, -9 lines) |
Patch |
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/generate_bindings.py
|
View
|
1
|
10 chunks |
+53 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_bindings.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_gl_api_implementation.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_gl_api_implementation.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_implementation.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_implementation.cc
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.cc
|
View
|
1
|
1 chunk |
+3 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
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|