Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3127)

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 99253004: cc: Allow copy requests to provide a texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mailbox: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index f8d17c7c4fdf93d9bae18c6d32e7cbfd4c961c5f..54cf5437d2afebade1bbfe3428333d34355f77df 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -158,6 +158,11 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
blink::WGC3Denum access);
virtual void unmapImageCHROMIUM(blink::WGC3Duint image_id);
+ virtual unsigned insertSyncPoint() OVERRIDE;
+ virtual void waitSyncPoint(unsigned sync_point) OVERRIDE;
+
+ unsigned last_waited_sync_point() const { return last_waited_sync_point_; }
+
const ContextProvider::Capabilities& test_capabilities() const {
return test_capabilities_;
}
@@ -352,6 +357,8 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
TestContextSupport* test_support_;
gfx::Rect update_rect_;
UpdateType last_update_type_;
+ unsigned next_insert_sync_point_;
+ unsigned last_waited_sync_point_;
unsigned bound_buffer_;
TextureTargets texture_targets_;
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698