OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_GL_GL_IMAGE_SURFACE_TEXTURE_H_ | 5 #ifndef UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_ |
6 #define UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_ | 6 #define UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
13 #include "ui/gl/gl_bindings.h" | 13 #include "ui/gl/gl_bindings.h" |
| 14 #include "ui/gl/gl_export.h" |
14 #include "ui/gl/gl_image.h" | 15 #include "ui/gl/gl_image.h" |
15 | 16 |
16 namespace gfx { | 17 namespace gfx { |
17 class SurfaceTexture; | 18 class SurfaceTexture; |
18 } | 19 } |
19 | 20 |
20 namespace gl { | 21 namespace gl { |
21 | 22 |
22 class GL_EXPORT GLImageSurfaceTexture : public GLImage { | 23 class GL_EXPORT GLImageSurfaceTexture : public GLImage { |
23 public: | 24 public: |
(...skipping 28 matching lines...) Expand all Loading... |
52 const gfx::Size size_; | 53 const gfx::Size size_; |
53 GLint texture_id_; | 54 GLint texture_id_; |
54 base::ThreadChecker thread_checker_; | 55 base::ThreadChecker thread_checker_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(GLImageSurfaceTexture); | 57 DISALLOW_COPY_AND_ASSIGN(GLImageSurfaceTexture); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace gl | 60 } // namespace gl |
60 | 61 |
61 #endif // UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_ | 62 #endif // UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_ |
OLD | NEW |