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

Issue 859013002: Make stencil buffers uncached for uncached render target textures (Closed)

Created:
5 years, 11 months ago by Kimmo Kinnunen
Modified:
5 years, 11 months ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org, Chris Dalton
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make stencil buffers uncached for uncached render target textures Make new stencil buffers of uncached render target textures not affect the cache budgets. This is consistent with render buffer storage of uncached render target textures. Affects only newly created stencil buffers. An uncached render target might still receive a cached stencil buffer if such is available from cache. BUG=skia:3119 BUG=skia:3301 Committed: https://skia.googlesource.com/skia/+/36c57dfb4fe9bbaca436942d5eaa75b142ba251d

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -27 lines) Patch
M src/gpu/GrGpu.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrStencilBuffer.h View 1 chunk +7 lines, -5 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 6 chunks +18 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGLStencilBuffer.h View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Kimmo Kinnunen
Was this intentionally left out from https://codereview.chromium.org/846303002 ?
5 years, 11 months ago (2015-01-20 12:25:09 UTC) #2
reed1
https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h#newcode481 src/gpu/GrGpu.h:481: virtual bool createStencilBufferForRenderTarget(GrRenderTarget*, bool budgeted, Why not keep the ...
5 years, 11 months ago (2015-01-20 13:54:36 UTC) #4
Kimmo Kinnunen
https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h#newcode481 src/gpu/GrGpu.h:481: virtual bool createStencilBufferForRenderTarget(GrRenderTarget*, bool budgeted, On 2015/01/20 13:54:36, reed1 ...
5 years, 11 months ago (2015-01-20 14:05:48 UTC) #5
bsalomon
This does disable the sharing of sb's across rts for uncached rts, right? How does ...
5 years, 11 months ago (2015-01-20 17:20:50 UTC) #6
Kimmo Kinnunen
On 2015/01/20 17:20:50, bsalomon wrote: > This does disable the sharing of sb's across rts ...
5 years, 11 months ago (2015-01-21 10:48:27 UTC) #7
bsalomon
On 2015/01/21 10:48:27, Kimmo Kinnunen wrote: > On 2015/01/20 17:20:50, bsalomon wrote: > > This ...
5 years, 11 months ago (2015-01-21 14:14:32 UTC) #8
bsalomon
lgtm
5 years, 11 months ago (2015-01-21 14:18:00 UTC) #9
bsalomon
https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/859013002/diff/1/src/gpu/GrGpu.h#newcode481 src/gpu/GrGpu.h:481: virtual bool createStencilBufferForRenderTarget(GrRenderTarget*, bool budgeted, On 2015/01/20 14:05:48, Kimmo ...
5 years, 11 months ago (2015-01-21 14:18:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859013002/20001
5 years, 11 months ago (2015-01-27 08:24:43 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 08:30:22 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/36c57dfb4fe9bbaca436942d5eaa75b142ba251d

Powered by Google App Engine
This is Rietveld 408576698