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

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 16831004: Perform glReadPixels with PBOs in the gpu, if PBOs are available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cc_unittests Created 7 years, 5 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 | « content/common/gpu/client/gl_helper.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | 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 // This file contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 #endif 332 #endif
333 #endif /* GL_CHROMIUM_texture_compression_dxt5 */ 333 #endif /* GL_CHROMIUM_texture_compression_dxt5 */
334 334
335 /* GL_CHROMIUM_async_pixel_transfers */ 335 /* GL_CHROMIUM_async_pixel_transfers */
336 #ifndef GL_CHROMIUM_async_pixel_transfers 336 #ifndef GL_CHROMIUM_async_pixel_transfers
337 #define GL_CHROMIUM_async_pixel_transfers 1 337 #define GL_CHROMIUM_async_pixel_transfers 1
338 338
339 #ifndef GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 339 #ifndef GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM
340 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 340 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5
341 #endif 341 #endif
342 #ifndef GL_ASYNC_READ_PIXELS_COMPLETED_CHROMIUM
343 #define GL_ASYNC_READ_PIXELS_COMPLETED_CHROMIUM 0x84F6
344 #endif
342 #endif /* GL_CHROMIUM_async_pixel_transfers */ 345 #endif /* GL_CHROMIUM_async_pixel_transfers */
343 346
344 /* GL_CHROMIUM_copy_texture */ 347 /* GL_CHROMIUM_copy_texture */
345 #ifndef GL_CHROMIUM_copy_texture 348 #ifndef GL_CHROMIUM_copy_texture
346 #define GL_CHROMIUM_copy_texture 1 349 #define GL_CHROMIUM_copy_texture 1
347 350
348 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 351 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
349 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 352 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
350 #endif 353 #endif
351 354
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 #endif 614 #endif
612 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); 615 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
613 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); 616 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
614 #endif /* GL_CHROMIUM_sync_point */ 617 #endif /* GL_CHROMIUM_sync_point */
615 618
616 #ifdef __cplusplus 619 #ifdef __cplusplus
617 } 620 }
618 #endif 621 #endif
619 622
620 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 623 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/gl_helper.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698