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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 14772021: cc::OutputSurfaceClient::InitializeForGL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile by including ContextProvider from output_surface_client.h Created 7 years, 6 months 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/test/fake_picture_layer_impl.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 ffd847d1e279a7f2726cb047b64b4b7cd7aa6179..449b2bb7ee151b391fa7cb05a3aa00b930324302 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -163,6 +163,9 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
}
void ResetUsedTextures() { used_textures_.clear(); }
+ void set_support_swapbuffers_complete_callback(bool support) {
+ support_swapbuffers_complete_callback_ = support;
+ }
void set_have_extension_io_surface(bool have) {
have_extension_io_surface_ = have;
}
@@ -197,6 +200,7 @@ class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
unsigned next_image_id_;
unsigned next_texture_id_;
Attributes attributes_;
+ bool support_swapbuffers_complete_callback_;
bool have_extension_io_surface_;
bool have_extension_egl_image_;
int times_make_current_succeeds_;
« no previous file with comments | « cc/test/fake_picture_layer_impl.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