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

Issue 14705008: cc: Cache highp_threshold in TexCoordPrecisionRequired (Closed)

Created:
7 years, 7 months ago by brianderson
Modified:
7 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

cc: Cache highp_threshold in TexCoordPrecisionRequired BUG=237418 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198698

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use local cache rather than global cache to avoid thread hazards. #

Total comments: 2

Patch Set 3 : Rebase. Remove unnecessary statics. Allow min to vary. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -38 lines) Patch
M cc/output/gl_renderer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 9 chunks +11 lines, -8 lines 0 comments Download
M cc/output/shader.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M cc/output/shader.cc View 1 2 2 chunks +21 lines, -12 lines 0 comments Download
M cc/output/shader_unittest.cc View 1 2 2 chunks +17 lines, -16 lines 0 comments Download
M cc/output/texture_copier.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/texture_copier.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
vangelis
https://codereview.chromium.org/14705008/diff/1/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/14705008/diff/1/cc/output/shader.cc#newcode102 cc/output/shader.cc:102: DCHECK_EQ(s_cached_context, context); It's not uncommon for one renderer to ...
7 years, 7 months ago (2013-05-03 19:13:27 UTC) #1
brianderson
ptal. I removed the DCHECK and made the code multi-thread/context safe. The cache is now ...
7 years, 7 months ago (2013-05-03 21:56:59 UTC) #2
vangelis
https://codereview.chromium.org/14705008/diff/19001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/14705008/diff/19001/cc/output/shader.cc#newcode85 cc/output/shader.cc:85: if (*highp_threshold_cache == 0) { I think you'll need ...
7 years, 7 months ago (2013-05-03 22:08:33 UTC) #3
brianderson
On 2013/05/03 22:08:33, vangelis wrote: > https://codereview.chromium.org/14705008/diff/19001/cc/output/shader.cc > File cc/output/shader.cc (right): > > https://codereview.chromium.org/14705008/diff/19001/cc/output/shader.cc#newcode85 > ...
7 years, 7 months ago (2013-05-03 22:19:02 UTC) #4
brianderson
PTAL. Try failures are unrelated to this patch.
7 years, 7 months ago (2013-05-06 20:01:36 UTC) #5
vangelis
lgtm
7 years, 7 months ago (2013-05-06 21:14:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brianderson@chromium.org/14705008/32001
7 years, 7 months ago (2013-05-06 21:43:39 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 12:54:05 UTC) #8
Message was sent while issue was closed.
Change committed as 198698

Powered by Google App Engine
This is Rietveld 408576698