Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Side by Side Diff: ui/gl/gl_image_io_surface.h

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_image_egl.h ('k') | ui/gl/gl_image_memory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <CoreVideo/CVPixelBuffer.h> 8 #include <CoreVideo/CVPixelBuffer.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include "base/mac/scoped_cftyperef.h" 12 #include "base/mac/scoped_cftyperef.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "ui/gfx/buffer_types.h" 15 #include "ui/gfx/buffer_types.h"
16 #include "ui/gfx/generic_shared_memory_id.h" 16 #include "ui/gfx/generic_shared_memory_id.h"
17 #include "ui/gl/gl_export.h"
17 #include "ui/gl/gl_image.h" 18 #include "ui/gl/gl_image.h"
18 19
19 #if defined(__OBJC__) 20 #if defined(__OBJC__)
20 @class CALayer; 21 @class CALayer;
21 #else 22 #else
22 typedef void* CALayer; 23 typedef void* CALayer;
23 #endif 24 #endif
24 25
25 namespace gl { 26 namespace gl {
26 27
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer_; 87 base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer_;
87 gfx::GenericSharedMemoryId io_surface_id_; 88 gfx::GenericSharedMemoryId io_surface_id_;
88 base::ThreadChecker thread_checker_; 89 base::ThreadChecker thread_checker_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); 91 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface);
91 }; 92 };
92 93
93 } // namespace gl 94 } // namespace gl
94 95
95 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ 96 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_image_egl.h ('k') | ui/gl/gl_image_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698