diff options
author | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 06:49:24 +0000 |
---|---|---|
committer | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 06:49:24 +0000 |
commit | 12e55fad62c6f3ede72d40f12f6c442285d75488 (patch) | |
tree | a6f2051752a9191aeca308d313bc300f60a0585f /cc/test/test_web_graphics_context_3d.h | |
parent | 3192f8cf402ca91e92e4067ec8e972f2e2e4c869 (diff) | |
download | chromium_src-12e55fad62c6f3ede72d40f12f6c442285d75488.zip chromium_src-12e55fad62c6f3ede72d40f12f6c442285d75488.tar.gz chromium_src-12e55fad62c6f3ede72d40f12f6c442285d75488.tar.bz2 |
Perform glReadPixels with PBOs in the gpu, if PBOs are available.
Make GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM wait for readpixel transfers.
Add signalQuery to get a callback when the transfer is done.
PLEASE NOTE: glMapBuffer does not wait for the readpixels transfer to complete anymore.
Nobody is currently relying on that behaviour.
Update gl_helper.cc and gl_renderer.cc to use queries.
BUG=249925
Review URL: https://chromiumcodereview.appspot.com/16831004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_web_graphics_context_3d.h')
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index 4855b0a..0652681 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -110,6 +110,8 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { // Takes ownership of the |callback|. virtual void signalSyncPoint(unsigned sync_point, WebGraphicsSyncPointCallback* callback); + virtual void signalQuery(WebKit::WebGLId query, + WebGraphicsSyncPointCallback* callback); virtual void setSwapBuffersCompleteCallbackCHROMIUM( WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback); |