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 ff2c7049eaa263fb7ec958315b4b113178f96275..976557fa5f79071e280b00e239c7ac85273148d5 100644 |
--- a/cc/test/test_web_graphics_context_3d.h |
+++ b/cc/test/test_web_graphics_context_3d.h |
@@ -357,6 +357,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_; } |
@@ -460,6 +465,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_; |