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

Side by Side Diff: ui/gfx/gl/gl_context_egl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_GL_GL_CONTEXT_EGL_H_ 5 #ifndef UI_GFX_GL_GL_CONTEXT_EGL_H_
6 #define UI_GFX_GL_GL_CONTEXT_EGL_H_ 6 #define UI_GFX_GL_GL_CONTEXT_EGL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 15 matching lines...) Expand all
26 virtual ~GLContextEGL(); 26 virtual ~GLContextEGL();
27 27
28 // Implement GLContext. 28 // Implement GLContext.
29 virtual bool Initialize( 29 virtual bool Initialize(
30 GLSurface* compatible_surface, GpuPreference gpu_preference) OVERRIDE; 30 GLSurface* compatible_surface, GpuPreference gpu_preference) OVERRIDE;
31 virtual void Destroy() OVERRIDE; 31 virtual void Destroy() OVERRIDE;
32 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE; 32 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
33 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE; 33 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
34 virtual bool IsCurrent(GLSurface* surface) OVERRIDE; 34 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
35 virtual void* GetHandle() OVERRIDE; 35 virtual void* GetHandle() OVERRIDE;
36 virtual EGLDisplay GetDisplay() OVERRIDE;
Ami GONE FROM CHROMIUM 2012/03/21 13:16:24 I think the ui/ part of this CL should be pulled o
Pawel Osciak 2012/03/21 18:40:35 Yes, it will be the case in the final CL, just did
Ami GONE FROM CHROMIUM 2012/03/22 17:01:36 My CR process doesn't (usually) include compiling
36 virtual void SetSwapInterval(int interval) OVERRIDE; 37 virtual void SetSwapInterval(int interval) OVERRIDE;
37 virtual std::string GetExtensions() OVERRIDE; 38 virtual std::string GetExtensions() OVERRIDE;
38 39
39 private: 40 private:
40 EGLContext context_; 41 EGLContext context_;
41 EGLDisplay display_; 42 EGLDisplay display_;
42 EGLConfig config_; 43 EGLConfig config_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(GLContextEGL); 45 DISALLOW_COPY_AND_ASSIGN(GLContextEGL);
45 }; 46 };
46 47
47 } // namespace gfx 48 } // namespace gfx
48 49
49 #endif // UI_GFX_GL_GL_CONTEXT_EGL_H_ 50 #endif // UI_GFX_GL_GL_CONTEXT_EGL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698