| OLD | NEW |
| 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 CONTENT_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ | 5 #ifndef CONTENT_COMMON_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ |
| 6 #define CONTENT_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ | 6 #define CONTENT_COMMON_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ |
| 7 | 7 |
| 8 #include <EGL/egl.h> | 8 #include <EGL/egl.h> |
| 9 #include <EGL/eglext.h> | 9 #include <EGL/eglext.h> |
| 10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
| 11 #include <GLES2/gl2ext.h> | 11 #include <GLES2/gl2ext.h> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "media/video/picture.h" | 14 #include "media/video/picture.h" |
| 15 | 15 |
| 16 // Class to wrap egl-opengles related operations. | 16 // Class to wrap egl-opengles related operations. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 int32 gles2_context_id_; | 31 int32 gles2_context_id_; |
| 32 gfx::Size size_; | 32 gfx::Size size_; |
| 33 EGLDisplay egl_display_; | 33 EGLDisplay egl_display_; |
| 34 EGLContext egl_context_; | 34 EGLContext egl_context_; |
| 35 EGLSurface egl_surface_; | 35 EGLSurface egl_surface_; |
| 36 DISALLOW_IMPLICIT_CONSTRUCTORS(Gles2TextureToEglImageTranslator); | 36 DISALLOW_IMPLICIT_CONSTRUCTORS(Gles2TextureToEglImageTranslator); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif // CONTENT_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ | 39 #endif // CONTENT_COMMON_GPU_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_ |
| 40 | |
| 41 | |
| OLD | NEW |