summaryrefslogtreecommitdiffstats
path: root/testing/android/native_test_launcher.cc
diff options
context:
space:
mode:
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 00:24:02 +0000
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 00:24:02 +0000
commit631e6c9be8dafc728e29e0f2d4fec6851a697992 (patch)
treedfa3cb84204049470298f3191a35231ba9d8599c /testing/android/native_test_launcher.cc
parentf6755427f98106ec1f7c5a9f538f64c13a4a6902 (diff)
downloadchromium_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 'testing/android/native_test_launcher.cc')
0 files changed, 0 insertions, 0 deletions