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

Side by Side Diff: third_party/khronos/GLES2/gl2ext.h

Issue 10957009: Get real GPU memory values on NV+Linux and OS X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 8 years, 3 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 | « no previous file | third_party/khronos/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef __gl2ext_h_ 1 #ifndef __gl2ext_h_
2 #define __gl2ext_h_ 2 #define __gl2ext_h_
3 3
4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ 4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */
5 5
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 /* 10 /*
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 566
567 /* GL_NV_read_stencil */ 567 /* GL_NV_read_stencil */
568 /* No new tokens introduced by this extension. */ 568 /* No new tokens introduced by this extension. */
569 569
570 /* GL_NV_texture_compression_s3tc_update */ 570 /* GL_NV_texture_compression_s3tc_update */
571 /* No new tokens introduced by this extension. */ 571 /* No new tokens introduced by this extension. */
572 572
573 /* GL_NV_texture_npot_2D_mipmap */ 573 /* GL_NV_texture_npot_2D_mipmap */
574 /* No new tokens introduced by this extension. */ 574 /* No new tokens introduced by this extension. */
575 575
576 /* GL_NVX_gpu_memory_info */
577 #ifndef GL_NVX_gpu_memory_info
578 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
579 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
580 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
581 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
582 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
583 #endif
584
576 /*------------------------------------------------------------------------* 585 /*------------------------------------------------------------------------*
577 * QCOM extension tokens 586 * QCOM extension tokens
578 *------------------------------------------------------------------------*/ 587 *------------------------------------------------------------------------*/
579 588
580 /* GL_QCOM_alpha_test */ 589 /* GL_QCOM_alpha_test */
581 #ifndef GL_QCOM_alpha_test 590 #ifndef GL_QCOM_alpha_test
582 #define GL_ALPHA_TEST_QCOM 0x0BC0 591 #define GL_ALPHA_TEST_QCOM 0x0BC0
583 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 592 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
584 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 593 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
585 #endif 594 #endif
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 #else 2035 #else
2027 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name); 2036 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name);
2028 #endif 2037 #endif
2029 #endif 2038 #endif
2030 2039
2031 #ifdef __cplusplus 2040 #ifdef __cplusplus
2032 } 2041 }
2033 #endif 2042 #endif
2034 2043
2035 #endif /* __gl2ext_h_ */ 2044 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « no previous file | third_party/khronos/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698