diff options
author | jbauman <jbauman@chromium.org> | 2015-05-28 16:35:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-28 23:36:11 +0000 |
commit | 641786af94f2a307d966af76c4f8fcb66f353d83 (patch) | |
tree | bd8e81f524f9554624c549eef044115304d624bd /cc/test/test_web_graphics_context_3d.h | |
parent | 09692613826b2582d783f59aabb31892efaebc67 (diff) | |
download | chromium_src-641786af94f2a307d966af76c4f8fcb66f353d83.zip chromium_src-641786af94f2a307d966af76c4f8fcb66f353d83.tar.gz chromium_src-641786af94f2a307d966af76c4f8fcb66f353d83.tar.bz2 |
Use shallow finish instead of real finish on Display resize.
To avoid stretching, the finish only needs to be executed in the GPU process, not necessarily on the GPU, before the resize is over. Using shallowFinish is more efficient and prevents unnecessary blocking.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1161793004
Cr-Commit-Position: refs/heads/master@{#331879}
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index b74846d..9aabf0d 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -205,6 +205,7 @@ class TestWebGraphicsContext3D { virtual void enable(GLenum cap) {} virtual void finish(); virtual void flush(); + virtual void shallowFinishCHROMIUM(); virtual void shallowFlushCHROMIUM() {} virtual void getAttachedShaders(GLuint program, |