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

Unified Diff: ui/gl/gl_fence.cc

Issue 1637293002: Reuse GLFenceNV when an existing CommandsCompletedQuery is reused (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved ResetSupported check into a separate function Created 4 years, 11 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 | « ui/gl/gl_fence.h ('k') | ui/gl/gl_fence_nv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence.cc
diff --git a/ui/gl/gl_fence.cc b/ui/gl/gl_fence.cc
index 92aba194c21317eabe1cfc0d15ed4b99f15ecdd2..62f098c2a834cb0f7a289fd8e756a75c3055935c 100644
--- a/ui/gl/gl_fence.cc
+++ b/ui/gl/gl_fence.cc
@@ -64,4 +64,13 @@ GLFence* GLFence::Create() {
return fence.release();
}
+bool GLFence::ResetSupported() {
+ // Resetting a fence to its original state isn't supported by default.
+ return false;
+}
+
+void GLFence::ResetState() {
+ NOTIMPLEMENTED();
+}
+
} // namespace gfx
« no previous file with comments | « ui/gl/gl_fence.h ('k') | ui/gl/gl_fence_nv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698