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

Unified Diff: ui/gl/gl_fence_nv.h

Issue 2087403003: Add an Invalidate method to GLFence. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_arb.cc ('k') | ui/gl/gl_fence_nv.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_fence_nv.h
diff --git a/ui/gl/gl_fence_nv.h b/ui/gl/gl_fence_nv.h
index 72dd20e84a8432f4496a0dc17f44eae159674a92..0831eeaed0a8e0e296ec394dba9b979a920dc984 100644
--- a/ui/gl/gl_fence_nv.h
+++ b/ui/gl/gl_fence_nv.h
@@ -23,9 +23,10 @@ class GL_EXPORT GLFenceNV : public GLFence {
bool HasCompleted() override;
void ClientWait() override;
void ServerWait() override;
+ void Invalidate() override;
private:
- GLuint fence_;
+ GLuint fence_ = 0;
DISALLOW_COPY_AND_ASSIGN(GLFenceNV);
};
« no previous file with comments | « ui/gl/gl_fence_arb.cc ('k') | ui/gl/gl_fence_nv.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698