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

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

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set origin to crrev.com/1408753003. 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BINDINGS_H_ 5 #ifndef UI_GL_GL_BINDINGS_H_
6 #define UI_GL_GL_BINDINGS_H_ 6 #define UI_GL_GL_BINDINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // Includes the platform independent and platform dependent GL headers. 10 // Includes the platform independent and platform dependent GL headers.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // GL_CHROMIUM_gpu_memory_buffer_image 129 // GL_CHROMIUM_gpu_memory_buffer_image
130 #define GL_READ_WRITE_CHROMIUM 0x78F2 130 #define GL_READ_WRITE_CHROMIUM 0x78F2
131 131
132 // GL_CHROMIUM_yuv_420_image 132 // GL_CHROMIUM_yuv_420_image
133 #define GL_RGB_YUV_420_CHROMIUM 0x78FA 133 #define GL_RGB_YUV_420_CHROMIUM 0x78FA
134 134
135 // GL_CHROMIUM_ycbcr_422_image 135 // GL_CHROMIUM_ycbcr_422_image
136 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 136 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
137 137
138 // GL_CHROMIUM_ycbcr_420v_image
139 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
reveman 2015/11/01 14:19:04 nit: horizontally align 0x78FC with 0x78FB. yes, n
Daniele Castagna 2015/11/01 21:55:30 Done.
140
138 // GL_CHROMIUM_schedule_overlay_plane 141 // GL_CHROMIUM_schedule_overlay_plane
139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 142 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
140 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 143 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
141 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 144 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
142 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 145 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
143 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 146 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
144 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A 147 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
145 148
146 // GL_CHROMIUM_subscribe_uniforms 149 // GL_CHROMIUM_subscribe_uniforms
147 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B 150 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 #elif defined(OS_ANDROID) 467 #elif defined(OS_ANDROID)
465 468
466 GL_EXPORT extern EGLApi* g_current_egl_context; 469 GL_EXPORT extern EGLApi* g_current_egl_context;
467 GL_EXPORT extern DriverEGL g_driver_egl; 470 GL_EXPORT extern DriverEGL g_driver_egl;
468 471
469 #endif 472 #endif
470 473
471 } // namespace gfx 474 } // namespace gfx
472 475
473 #endif // UI_GL_GL_BINDINGS_H_ 476 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698