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: gpu/GL/glextchromium.h

Issue 11973003: Move code around to fix build with system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/EGL/eglextchromium.h ('k') | gpu/GLES2/gl2chromium_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GL/glextchromium.h
diff --git a/gpu/GL/glextchromium.h b/gpu/GL/glextchromium.h
new file mode 100644
index 0000000000000000000000000000000000000000..41818d7f5ae01bf877fe5fe8d3d0ba0a056d5a18
--- /dev/null
+++ b/gpu/GL/glextchromium.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file contains Chromium-specific GL extensions declarations.
+
+#ifndef GPU_GL_GLEXTCHROMIUM_H_
+#define GPU_GL_GLEXTCHROMIUM_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef GL_NVX_gpu_memory_info
+#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
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // GPU_GL_GLEXTCHROMIUM_H_
« no previous file with comments | « gpu/EGL/eglextchromium.h ('k') | gpu/GLES2/gl2chromium_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698