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

Unified Diff: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp

Issue 1800383002: Disable timestamps in WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark the test as no longer flaky Created 4 years, 9 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: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
index 29f6521ecc1ccef648faecd9db1fff387a4e9aab..f6d502bd02df11cd510e3e0fcfe5439a9427dcbf 100644
--- a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
+++ b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp
@@ -140,7 +140,7 @@ void EXTDisjointTimerQuery::queryCounterEXT(WebGLTimerQueryEXT* query, GLenum ta
return;
}
- scoped.context()->webContext()->queryCounterEXT(query->object(), target);
+ // Timestamps are disabled in WebGL due to lack of driver support, so we don't actually perform a GL call
Ken Russell (switch to Gerrit) 2016/03/24 17:02:26 Let's clarify "due to lack of driver support on mu
query->setTarget(target);
query->resetCachedResult();
}

Powered by Google App Engine
This is Rietveld 408576698