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

Unified Diff: cc/test/test_web_graphics_context_3d.cc

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.cc
diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
index 9fae995ec6f8d8d1e6b813b9e7d6de23cfeb051f..8e2bb22185ec161392d128304fb841f9f08c8c4c 100644
--- a/cc/test/test_web_graphics_context_3d.cc
+++ b/cc/test/test_web_graphics_context_3d.cc
@@ -67,6 +67,7 @@ TestWebGraphicsContext3D::TestWebGraphicsContext3D()
last_update_type_(NoUpdate),
next_insert_sync_point_(1),
last_waited_sync_point_(0),
+ query_result_available_ext_(1),
bound_buffer_(0),
weak_ptr_factory_(this) {
CreateNamespace();
@@ -357,7 +358,7 @@ void TestWebGraphicsContext3D::getQueryObjectuivEXT(
GLuint* params) {
// If the context is lost, behave as if result is available.
if (pname == GL_QUERY_RESULT_AVAILABLE_EXT)
- *params = 1;
+ *params = query_result_available_ext_;
}
void TestWebGraphicsContext3D::getIntegerv(

Powered by Google App Engine
This is Rietveld 408576698