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

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

Issue 1862183003: Mac h264: Work around CGLContext+VTDecompresionSession deadlock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reduce scope Created 4 years, 8 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
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>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 gfx::GenericSharedMemoryId io_surface_id_; 79 gfx::GenericSharedMemoryId io_surface_id_;
80 base::ThreadChecker thread_checker_; 80 base::ThreadChecker thread_checker_;
81 81
82 // GL state to support 420v IOSurface conversion to RGB. 82 // GL state to support 420v IOSurface conversion to RGB.
83 unsigned framebuffer_ = 0; 83 unsigned framebuffer_ = 0;
84 unsigned vertex_shader_ = 0; 84 unsigned vertex_shader_ = 0;
85 unsigned fragment_shader_ = 0; 85 unsigned fragment_shader_ = 0;
86 unsigned program_ = 0; 86 unsigned program_ = 0;
87 int size_location_ = -1; 87 int size_location_ = -1;
88 unsigned vertex_buffer_ = 0; 88 unsigned vertex_buffer_ = 0;
89 unsigned yuv_textures_[2] = {};
90 89
91 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface); 90 DISALLOW_COPY_AND_ASSIGN(GLImageIOSurface);
92 }; 91 };
93 92
94 } // namespace gl 93 } // namespace gl
95 94
96 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_ 95 #endif // UI_GL_GL_IMAGE_IO_SURFACE_H_
OLDNEW
« ui/OWNERS ('K') | « ui/OWNERS ('k') | ui/gl/gl_image_io_surface.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698