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

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

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build Created 6 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 | Annotate | Revision Log
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 // Includes the platform independent and platform dependent GL headers. 8 // Includes the platform independent and platform dependent GL headers.
9 // Only include this in cc files. It pulls in system headers, including 9 // Only include this in cc files. It pulls in system headers, including
10 // the X11 headers on linux, which define all kinds of macros that are 10 // the X11 headers on linux, which define all kinds of macros that are
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 /* GL_CHROMIUM_command_buffer_latency_query */ 124 /* GL_CHROMIUM_command_buffer_latency_query */
125 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 125 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4
126 126
127 /* GL_CHROMIUM_async_pixel_transfers */ 127 /* GL_CHROMIUM_async_pixel_transfers */
128 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 128 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5
129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6
130 130
131 // GL_CHROMIUM_sync_query 131 // GL_CHROMIUM_sync_query
132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
133 133
134 // GL_CHROMIUM_image
135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0
136 #define GL_IMAGE_CPU_READ_WRITE_CHROMIUM 0x78F1
137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2
138
134 // GL_OES_texure_3D 139 // GL_OES_texure_3D
135 #define GL_SAMPLER_3D_OES 0x8B5F 140 #define GL_SAMPLER_3D_OES 0x8B5F
136 141
137 // GL_OES_depth24 142 // GL_OES_depth24
138 #define GL_DEPTH_COMPONENT24_OES 0x81A6 143 #define GL_DEPTH_COMPONENT24_OES 0x81A6
139 144
140 // GL_OES_depth32 145 // GL_OES_depth32
141 #define GL_DEPTH_COMPONENT32_OES 0x81A7 146 #define GL_DEPTH_COMPONENT32_OES 0x81A7
142 147
143 // GL_OES_packed_depth_stencil 148 // GL_OES_packed_depth_stencil
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 #elif defined(OS_ANDROID) 344 #elif defined(OS_ANDROID)
340 345
341 GL_EXPORT extern EGLApi* g_current_egl_context; 346 GL_EXPORT extern EGLApi* g_current_egl_context;
342 GL_EXPORT extern DriverEGL g_driver_egl; 347 GL_EXPORT extern DriverEGL g_driver_egl;
343 348
344 #endif 349 #endif
345 350
346 } // namespace gfx 351 } // namespace gfx
347 352
348 #endif // UI_GL_GL_BINDINGS_H_ 353 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698