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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: nits 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
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_;

Powered by Google App Engine
This is Rietveld 408576698