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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [RFC] gpu: Reuse transfer buffers more aggressively Created 6 years, 11 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 (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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 /* GL_CHROMIUM_async_pixel_transfers */ 342 /* GL_CHROMIUM_async_pixel_transfers */
343 #ifndef GL_CHROMIUM_async_pixel_transfers 343 #ifndef GL_CHROMIUM_async_pixel_transfers
344 #define GL_CHROMIUM_async_pixel_transfers 1 344 #define GL_CHROMIUM_async_pixel_transfers 1
345 345
346 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 346 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM
347 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 347 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5
348 #endif 348 #endif
349 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 349 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM
350 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 350 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6
351 #endif 351 #endif
352 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_PRIVATE_CHROMIUM
353 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_PRIVATE_CHROMIUM 0x84F7
354 #endif
352 #endif /* GL_CHROMIUM_async_pixel_transfers */ 355 #endif /* GL_CHROMIUM_async_pixel_transfers */
353 356
354 /* GL_CHROMIUM_copy_texture */ 357 /* GL_CHROMIUM_copy_texture */
355 #ifndef GL_CHROMIUM_copy_texture 358 #ifndef GL_CHROMIUM_copy_texture
356 #define GL_CHROMIUM_copy_texture 1 359 #define GL_CHROMIUM_copy_texture 1
357 360
358 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 361 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
359 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 362 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
360 #endif 363 #endif
361 364
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 #endif 624 #endif
622 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); 625 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
623 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); 626 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
624 #endif /* GL_CHROMIUM_sync_point */ 627 #endif /* GL_CHROMIUM_sync_point */
625 628
626 #ifdef __cplusplus 629 #ifdef __cplusplus
627 } 630 }
628 #endif 631 #endif
629 632
630 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 633 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698