1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file contains Chromium-specific GL extensions declarations. 6 7 #ifndef GPU_GL_GLEXTCHROMIUM_H_ 8 #define GPU_GL_GLEXTCHROMIUM_H_ 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #ifndef GL_NVX_gpu_memory_info 15 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 16 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048 17 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049 18 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A 19 #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B 20 #endif 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif // GPU_GL_GLEXTCHROMIUM_H_ 27