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

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

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean-ups. Created 5 years, 1 month 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
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 <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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698