Chromium Code Reviews
DescriptionGet 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157879
Patch Set 1 #Patch Set 2 : Fix GLX build #
Total comments: 5
Patch Set 3 : Incorporate review feedback #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||