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

Unified Diff: ui/gfx/gl/gl_context_egl.cc

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_egl.cc
diff --git a/ui/gfx/gl/gl_context_egl.cc b/ui/gfx/gl/gl_context_egl.cc
index 7c947434ba3357733326d0e56f9272299a910fcc..36d24f78b312a3eaf11c59d51d9d99119bf54e06 100644
--- a/ui/gfx/gl/gl_context_egl.cc
+++ b/ui/gfx/gl/gl_context_egl.cc
@@ -146,6 +146,10 @@ void* GLContextEGL::GetHandle() {
return context_;
}
+EGLDisplay GLContextEGL::GetDisplay() {
+ return display_;
+}
+
void GLContextEGL::SetSwapInterval(int interval) {
DCHECK(IsCurrent(NULL));
if (!eglSwapInterval(display_, interval)) {

Powered by Google App Engine
This is Rietveld 408576698