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

Unified Diff: third_party/mesa/MesaLib/include/GL/glext.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: Fix GLX build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/mesa/README.chromium » ('j') | ui/gl/gl_context.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/MesaLib/include/GL/glext.h
diff --git a/third_party/mesa/MesaLib/include/GL/glext.h b/third_party/mesa/MesaLib/include/GL/glext.h
index 77335bd2c75a56b7f6ace1805411126552ea2712..653e4fd18fd2649c06d18c6e33a30af1f66ed1a4 100644
--- a/third_party/mesa/MesaLib/include/GL/glext.h
+++ b/third_party/mesa/MesaLib/include/GL/glext.h
@@ -5019,6 +5019,13 @@ extern "C" {
#ifndef GL_AMD_transform_feedback3_lines_triangles
#endif
+#ifndef GL_NVX_gpu_memory_info
Ken Russell (switch to Gerrit) 2012/09/20 06:47:23 Is this really where these #defines need to go to
ccameron 2012/09/20 21:22:42 I tried to put them in gl2ext.h, but pulling that
+#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
+#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
+#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
+#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
+#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
+#endif
/*************************************************************/
« no previous file with comments | « no previous file | third_party/mesa/README.chromium » ('j') | ui/gl/gl_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698