Share shaders between browser compositors.
Each compositor has it's own context. We should share shaders between them because compiling shaders is expensive. To do this, I pin the very first context created with a ref count. Then I use context sharing to share the shaders. BUG=none TEST=by hand with intel, nv, nouveau, and tegra drivers on a TOUCH_UI build Review URL: http://codereview.chromium.org/7327001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91853 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment