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

Unified Diff: ui/gfx/gl/gl_context_glx.h

Issue 9814001: Add VAVDA, the VAAPI Video Decode Accelerator for Intel CPUs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: ui/gfx/gl/gl_context_glx.h
diff --git a/ui/gfx/gl/gl_context_glx.h b/ui/gfx/gl/gl_context_glx.h
index 7479eeec54cc1f2a65a85eda1a128c8a93886a7d..83bcd5ab1cb59459ea6dc01ba4ed440ae640dcaf 100644
--- a/ui/gfx/gl/gl_context_glx.h
+++ b/ui/gfx/gl/gl_context_glx.h
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef UI_GFX_GL_GL_CONTEXT_GLX_H_
+#define UI_GFX_GL_GL_CONTEXT_GLX_H_
#include <string>
#include "base/compiler_specific.h"
@@ -26,6 +28,7 @@ class GLContextGLX : public GLContext {
virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
virtual void* GetHandle() OVERRIDE;
+ virtual Display* GetDisplay() OVERRIDE;
virtual void SetSwapInterval(int interval) OVERRIDE;
virtual std::string GetExtensions() OVERRIDE;
virtual bool WasAllocatedUsingARBRobustness() OVERRIDE;
@@ -38,3 +41,5 @@ class GLContextGLX : public GLContext {
};
} // namespace gfx
+
+#endif //UI_GFX_GL_GL_CONTEXT_GLX_H_

Powered by Google App Engine
This is Rietveld 408576698