OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GL_GL_CONTEXT_EGL_H_ |
6 #define UI_GFX_GL_GL_CONTEXT_EGL_H_ | 6 #define UI_GL_GL_CONTEXT_EGL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "ui/gfx/gl/gl_context.h" | 12 #include "ui/gl/gl_context.h" |
13 | 13 |
14 typedef void* EGLContext; | 14 typedef void* EGLContext; |
15 typedef void* EGLDisplay; | 15 typedef void* EGLDisplay; |
16 typedef void* EGLConfig; | 16 typedef void* EGLConfig; |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 | 19 |
20 class GLSurface; | 20 class GLSurface; |
21 | 21 |
22 // Encapsulates an EGL OpenGL ES context. | 22 // Encapsulates an EGL OpenGL ES context. |
(...skipping 16 matching lines...) Expand all Loading... |
39 private: | 39 private: |
40 EGLContext context_; | 40 EGLContext context_; |
41 EGLDisplay display_; | 41 EGLDisplay display_; |
42 EGLConfig config_; | 42 EGLConfig config_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(GLContextEGL); | 44 DISALLOW_COPY_AND_ASSIGN(GLContextEGL); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace gfx | 47 } // namespace gfx |
48 | 48 |
49 #endif // UI_GFX_GL_GL_CONTEXT_EGL_H_ | 49 #endif // UI_GL_GL_CONTEXT_EGL_H_ |
OLD | NEW |