| 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 | 9 |
| 10 #include "base/mac/scoped_cftyperef.h" | 10 #include "base/mac/scoped_cftyperef.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 ~GLImageIOSurface() override; | 56 ~GLImageIOSurface() override; |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 const Size size_; | 59 const Size size_; |
| 60 const unsigned internalformat_; | 60 const unsigned internalformat_; |
| 61 BufferFormat format_; | 61 BufferFormat format_; |
| 62 base::ScopedCFTypeRef<IOSurfaceRef> io_surface_; | 62 base::ScopedCFTypeRef<IOSurfaceRef> io_surface_; |
| 63 GenericSharedMemoryId io_surface_id_; | 63 GenericSharedMemoryId io_surface_id_; |
| 64 base::ThreadChecker thread_checker_; | 64 base::ThreadChecker thread_checker_; |
| 65 | 65 |
| 66 class I420vToRGBA; |
| 67 scoped_ptr<I420vToRGBA> i420v_to_RGBA_; |
| 66 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); | 68 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); |
| 67 }; | 69 }; |
| 68 | 70 |
| 69 } // namespace gfx | 71 } // namespace gfx |
| 70 | 72 |
| 71 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ | 73 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ |
| OLD | NEW |