OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IO_SURFACE_H_ | 5 #ifndef UI_GL_GL_IMAGE_IO_SURFACE_H_ |
6 #define UI_GL_GL_IMAGE_IO_SURFACE_H_ | 6 #define UI_GL_GL_IMAGE_IO_SURFACE_H_ |
7 | 7 |
8 #include <IOSurface/IOSurface.h> | 8 #include <IOSurface/IOSurface.h> |
| 9 #include <stdint.h> |
9 | 10 |
10 #include "base/mac/scoped_cftyperef.h" | 11 #include "base/mac/scoped_cftyperef.h" |
| 12 #include "base/macros.h" |
11 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
12 #include "ui/gfx/buffer_types.h" | 14 #include "ui/gfx/buffer_types.h" |
13 #include "ui/gfx/generic_shared_memory_id.h" | 15 #include "ui/gfx/generic_shared_memory_id.h" |
14 #include "ui/gl/gl_image.h" | 16 #include "ui/gl/gl_image.h" |
15 | 17 |
16 #if defined(__OBJC__) | 18 #if defined(__OBJC__) |
17 @class CALayer; | 19 @class CALayer; |
18 #else | 20 #else |
19 typedef void* CALayer; | 21 typedef void* CALayer; |
20 #endif | 22 #endif |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 int size_location_ = -1; | 76 int size_location_ = -1; |
75 unsigned vertex_buffer_ = 0; | 77 unsigned vertex_buffer_ = 0; |
76 unsigned yuv_textures_[2] = {}; | 78 unsigned yuv_textures_[2] = {}; |
77 | 79 |
78 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); | 80 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); |
79 }; | 81 }; |
80 | 82 |
81 } // namespace gl | 83 } // namespace gl |
82 | 84 |
83 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ | 85 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ |
OLD | NEW |