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

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

Issue 12892005: Implement client side PBOs for glReadPixel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make GLHelper constructor explicit Created 7 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 | Annotate | Revision Log
« no previous file with comments | « gpu/gpu.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 #endif 144 #endif
145 145
146 // GL_OES_compressed_ETC1_RGB8_texture 146 // GL_OES_compressed_ETC1_RGB8_texture
147 #define GL_ETC1_RGB8_OES 0x8D64 147 #define GL_ETC1_RGB8_OES 0x8D64
148 148
149 // GL_OES_vertex_array_object 149 // GL_OES_vertex_array_object
150 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 150 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
151 151
152 // GL_CHROMIUM_pixel_transfer_buffer_object 152 // GL_CHROMIUM_pixel_transfer_buffer_object
153 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC 153 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
154 #define GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
155 #define GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EE
154 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EF 156 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EF
155 157
156 /* GL_EXT_discard_framebuffer */ 158 /* GL_EXT_discard_framebuffer */
157 #ifndef GL_EXT_discard_framebuffer 159 #ifndef GL_EXT_discard_framebuffer
158 #define GL_COLOR_EXT 0x1800 160 #define GL_COLOR_EXT 0x1800
159 #define GL_DEPTH_EXT 0x1801 161 #define GL_DEPTH_EXT 0x1801
160 #define GL_STENCIL_EXT 0x1802 162 #define GL_STENCIL_EXT 0x1802
161 #endif 163 #endif
162 164
163 // GL_ARB_get_program_binary 165 // GL_ARB_get_program_binary
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 GL_EXPORT extern DriverEGL g_driver_egl; 232 GL_EXPORT extern DriverEGL g_driver_egl;
231 233
232 #endif 234 #endif
233 235
234 // Find an entry point to the mock GL implementation. 236 // Find an entry point to the mock GL implementation.
235 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); 237 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name);
236 238
237 } // namespace gfx 239 } // namespace gfx
238 240
239 #endif // UI_GL_GL_BINDINGS_H_ 241 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « gpu/gpu.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698