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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 690493002: cc: Add an integration test for what scale we draw with after pinching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: compile Created 6 years, 2 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/layer_tree_test.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 eda6f0f222d6f6327ea39a8e9d0829769522ca70..80914bf25ac3b81e1ed244f447727f5e8aec3a01 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -354,6 +354,11 @@ class TestWebGraphicsContext3D {
test_support_ = test_support;
}
+ // Set this to 1 to make async texture uploads complete.
+ void set_query_result_available_ext(int value) {
+ query_result_available_ext_ = value;
+ }
+
int width() const { return width_; }
int height() const { return height_; }
bool reshape_called() const { return reshape_called_; }
@@ -457,6 +462,7 @@ class TestWebGraphicsContext3D {
UpdateType last_update_type_;
unsigned next_insert_sync_point_;
unsigned last_waited_sync_point_;
+ int query_result_available_ext_;
unsigned bound_buffer_;
TextureTargets texture_targets_;
« no previous file with comments | « cc/test/layer_tree_test.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