diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-21 00:24:02 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-21 00:24:02 +0000 |
commit | 631e6c9be8dafc728e29e0f2d4fec6851a697992 (patch) | |
tree | dfa3cb84204049470298f3191a35231ba9d8599c /third_party/khronos/README.chromium | |
parent | f6755427f98106ec1f7c5a9f538f64c13a4a6902 (diff) | |
download | chromium_src-631e6c9be8dafc728e29e0f2d4fec6851a697992.zip chromium_src-631e6c9be8dafc728e29e0f2d4fec6851a697992.tar.gz chromium_src-631e6c9be8dafc728e29e0f2d4fec6851a697992.tar.bz2 |
Get real GPU memory values on NV+Linux and OS X. Add an interface to GLContext to query the GPU's total video memory.
Note that this is the amount of video memory on the currently-rendering GPU, so different contexts will give different values, and the same context may give different values over time (for instance, on a Macbook Pro with graphics switching).
Of note is that on a Macbook Pro with graphics switching enabled, the contexts don't move together between GPUs -- some stay on the integrated GPU while others use the discrete GPU.
BUG=132994
Review URL: https://chromiumcodereview.appspot.com/10957009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/khronos/README.chromium')
-rw-r--r-- | third_party/khronos/README.chromium | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/khronos/README.chromium b/third_party/khronos/README.chromium index 837d13e..f49e752 100644 --- a/third_party/khronos/README.chromium +++ b/third_party/khronos/README.chromium @@ -27,5 +27,6 @@ GLES2/gl2ext.h - Added GL_CHROMIUM_copy_texture - Added GL_CHROMIUM_bind_uniform_location - Added GL_CHROMIUM_get_error_query + - Added GL_NVX_gpu_memory_info EGL/eglplatform.h - Added EGLNative*Type for Mac. |