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

Issue 747043004: Use scratch keys for stencil buffers. (Closed)

Created:
6 years, 1 month ago by bsalomon
Modified:
6 years ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : minor #

Total comments: 4

Patch Set 3 : Fix mod #

Patch Set 4 : fixed? #

Patch Set 5 : Add unit test #

Total comments: 1

Patch Set 6 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -230 lines) Patch
M bench/GrResourceCacheBench.cpp View 1 2 3 4 3 chunks +37 lines, -156 lines 0 comments Download
M expectations/gm/Test-Android-GalaxyS4-SGX544-Arm7-Debug/expected-results.json View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M expectations/gm/Test-Android-GalaxyS4-SGX544-Arm7-Release/expected-results.json View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M expectations/gm/Test-Ubuntu12-ShuttleA-GTX660-x86-Debug/expected-results.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M expectations/gm/Test-Ubuntu12-ShuttleA-GTX660-x86-Release/expected-results.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M expectations/gm/Test-Ubuntu12-ShuttleA-GTX660-x86_64-Debug/expected-results.json View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M expectations/gm/Test-Ubuntu12-ShuttleA-GTX660-x86_64-Release/expected-results.json View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M expectations/gm/Test-Win8-ShuttleA-GTX660-x86-Release/expected-results.json View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M expectations/gm/Test-Win8-ShuttleA-GTX660-x86_64-Debug/expected-results.json View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M expectations/gm/Test-Win8-ShuttleA-GTX660-x86_64-Release/expected-results.json View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M include/gpu/GrContext.h View 4 2 chunks +0 lines, -8 lines 0 comments Download
M include/gpu/GrGpuResource.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 4 2 chunks +0 lines, -17 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 4 2 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/GrResourceCache2.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/GrStencilBuffer.h View 4 2 chunks +1 line, -3 lines 0 comments Download
M src/gpu/GrStencilBuffer.cpp View 4 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 4 5 3 chunks +134 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
bsalomon
6 years ago (2014-11-24 14:30:31 UTC) #2
robertphillips
lgtm + some comment suggestions & an oddity https://codereview.chromium.org/747043004/diff/20001/bench/GrResourceCacheBench.cpp File bench/GrResourceCacheBench.cpp (right): https://codereview.chromium.org/747043004/diff/20001/bench/GrResourceCacheBench.cpp#newcode23 bench/GrResourceCacheBench.cpp:23: // ...
6 years ago (2014-11-24 14:39:14 UTC) #3
bsalomon
I'll cleanup this bench separately by splitting it into a bench and unit test. https://codereview.chromium.org/747043004/diff/20001/bench/GrResourceCacheBench.cpp ...
6 years ago (2014-11-24 14:49:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747043004/40001
6 years ago (2014-11-24 14:50:22 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/91175f19664a62851da4ca4e0984a7c7c45b258f
6 years ago (2014-11-24 15:05:20 UTC) #7
Tom Hudson
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/752213002/ by tomhudson@chromium.org. ...
6 years ago (2014-11-24 19:22:30 UTC) #8
bsalomon
Rob, can you take another look? This fixes a bug where a SB is created ...
6 years ago (2014-11-24 22:01:08 UTC) #9
robertphillips
lgtm + a typo https://codereview.chromium.org/747043004/diff/70001/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (right): https://codereview.chromium.org/747043004/diff/70001/src/gpu/gl/GrGpuGL.cpp#newcode1181 src/gpu/gl/GrGpuGL.cpp:1181: sb->cacheAccess().removeScratchKey(); it off _to_ the ...
6 years ago (2014-11-25 13:34:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747043004/90001
6 years ago (2014-11-25 13:41:56 UTC) #12
commit-bot: I haz the power
6 years ago (2014-11-25 13:52:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:90001) as
https://skia.googlesource.com/skia/+/10e23caea3106be125acea10a637789e5a15c728

Powered by Google App Engine
This is Rietveld 408576698