Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 1223393003: gpu: Use shader cache on ES3 (Closed)

Created:
5 years, 5 months ago by no sievers
Modified:
5 years, 5 months ago
Reviewers:
Zhenyao Mo, David Yen
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Use shader cache on ES3 The ES3 core specs supports gl(Get)ProgramBinary(). BUG=510172 Committed: https://crrev.com/809d9b979c0edd3976132eaaf77fc4740fcee019 Cr-Commit-Position: refs/heads/master@{#339369}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M content/common/gpu/gpu_channel_manager.cc View 2 chunks +3 lines, -1 line 2 comments Download
M ui/gl/gl_gl_api_implementation.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
no sievers
ptal
5 years, 5 months ago (2015-07-17 23:25:35 UTC) #2
Zhenyao Mo
LGTM https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc File content/common/gpu/gpu_channel_manager.cc (right): https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc#newcode73 content/common/gpu/gpu_channel_manager.cc:73: gfx::GetGLVersionInfo()->is_es3) && I feel somehow this decision should ...
5 years, 5 months ago (2015-07-17 23:34:04 UTC) #3
no sievers
https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc File content/common/gpu/gpu_channel_manager.cc (right): https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc#newcode73 content/common/gpu/gpu_channel_manager.cc:73: gfx::GetGLVersionInfo()->is_es3) && On 2015/07/17 23:34:04, Zhenyao Mo wrote: > ...
5 years, 5 months ago (2015-07-17 23:39:10 UTC) #4
no sievers
On 2015/07/17 23:39:10, sievers wrote: > https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc > File content/common/gpu/gpu_channel_manager.cc (right): > > https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc#newcode73 > ...
5 years, 5 months ago (2015-07-17 23:42:25 UTC) #5
Zhenyao Mo
On 2015/07/17 23:42:25, sievers wrote: > On 2015/07/17 23:39:10, sievers wrote: > > > https://codereview.chromium.org/1223393003/diff/20001/content/common/gpu/gpu_channel_manager.cc ...
5 years, 5 months ago (2015-07-17 23:57:15 UTC) #6
Zhenyao Mo
On 2015/07/17 23:57:15, Zhenyao Mo wrote: > On 2015/07/17 23:42:25, sievers wrote: > > On ...
5 years, 5 months ago (2015-07-17 23:57:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1223393003/20001
5 years, 5 months ago (2015-07-18 00:16:30 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-18 01:14:34 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/809d9b979c0edd3976132eaaf77fc4740fcee019 Cr-Commit-Position: refs/heads/master@{#339369}
5 years, 5 months ago (2015-07-18 01:15:24 UTC) #11
no sievers
5 years, 5 months ago (2015-07-22 00:46:03 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1247233002/ by sievers@chromium.org.

The reason for reverting is: This codepath is actually flaky.

OnLoadedShader() races with dynamic GL binding initialization. Previously it
meant that we just might not end up loading this shader (as long as
b_GL_OES_get_program_binary etc. default to false), but the GetGLVersionInfo()
might actually crash..

Powered by Google App Engine
This is Rietveld 408576698