summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_context_mac.mm
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Linux: include system Mesa headers when using system Mesa."phajdan.jr@chromium.org2012-12-281-1/+1
| | | | | | | | | | | | | | This reverts https://chromiumcodereview.appspot.com/11416265 Using generated shim headers will be much better. TBR=apatrick BUG=161389 Review URL: https://codereview.chromium.org/11697002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174715 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: include system Mesa headers when using system Mesa.phajdan.jr@chromium.org2012-11-301-1/+1
| | | | | | | | | BUG=161389 Review URL: https://chromiumcodereview.appspot.com/11416265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170390 0039d316-1c4b-4281-b951-d872f2087c98
* Move force_discrete GPU on older MacBookPro models to GpuBlacklistzmo@google.com2012-10-011-108/+0
| | | | | | | | | | | | | | Before we hardwired the forcing. Also, we refactor the SupportsDualGpus() code so it's only checked on browser process, mainly the part we check the availability of online/offline renderers. We suspect calling the renderer detection code at the same time in browser/gpu processes might cause GPU driver crashes on certain Mac systems (mostly 10.8 from crash reports). This refactoring hopefully will fix the issue. BUG=151741,131276 TEST=tree, manual on dual GPU systems (10.7 and 10.8) Review URL: https://codereview.chromium.org/10995002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159579 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158211 - Revert 158076 - Implement blacklist's force GPU capability ↵tzik@chromium.org2012-09-231-1/+2
| | | | | | | | | | | | | | | | | | | in dual GPU machines. This is part 2. In part one we implement the semantics in blacklist. Now we hook it up with the "real" forcing code. For now we only hook it up with Mac CGL port. BUG=140114,131276,111720 TEST=tree Review URL: https://codereview.chromium.org/10909221 TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/10959061 TBR=tzik@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158213 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines.tzik@chromium.org2012-09-231-2/+1
| | | | | | | | | | | | | | | This is part 2. In part one we implement the semantics in blacklist. Now we hook it up with the "real" forcing code. For now we only hook it up with Mac CGL port. BUG=140114,131276,111720 TEST=tree Review URL: https://codereview.chromium.org/10909221 TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/10959061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158211 0039d316-1c4b-4281-b951-d872f2087c98
* Honor --gpu-switching=force_discrete to always stay on discrete GPU.zmo@google.com2012-09-221-3/+3
| | | | | | | | | | | | | | | | | | | Before we only stays on discrete GPU if any GL contexts are active. Now we truly stay on discrete GPU, always. This CL also remove --disable-gpu-switching; use --gpu-switching=force_integrated/force_discrete instead. Also, user's --gpu-switching option will overwrite the hardwired force_discrete decision, i.e., if a user wants to stay on integrated GPU and save battery, we honor that. BUG=140114,131276,111720 TEST=tree Review URL: https://codereview.chromium.org/10959050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158128 0039d316-1c4b-4281-b951-d872f2087c98
* Implement blacklist's force GPU capability in dual GPU machines.zmo@chromium.org2012-09-211-1/+2
| | | | | | | | | | | | This is part 2. In part one we implement the semantics in blacklist. Now we hook it up with the "real" forcing code. For now we only hook it up with Mac CGL port. BUG=140114,131276,111720 TEST=tree Review URL: https://codereview.chromium.org/10909221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158076 0039d316-1c4b-4281-b951-d872f2087c98
* Get real GPU memory values on NV+Linux and OS X. Add an interface to ↵ccameron@chromium.org2012-09-211-15/+1
| | | | | | | | | | | | | | | 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
* Re-enable GPU switching on Mountain Lionjbauman@chromium.org2012-06-071-4/+1
| | | | | | | | | | | | It seems to be working with Developer Preview 3. BUG=129282 TEST= Review URL: https://chromiumcodereview.appspot.com/10543045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140953 0039d316-1c4b-4281-b951-d872f2087c98
* Add more trace events to GPU process.apatrick@chromium.org2012-05-241-0/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10447002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138762 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move gl/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-121-0/+184
BUG=104040 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98