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

Issue 938383004: Dynamically create stencil buffer when needed. (Closed)

Created:
5 years, 10 months ago by bsalomon
Modified:
5 years, 10 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@bigstencil
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Dynamically create stencil buffer when needed. Committed: https://skia.googlesource.com/skia/+/6bc1b5fab8554a9cb643277b4867965dd4535cd6

Patch Set 1 #

Patch Set 2 : minor #

Patch Set 3 : add file #

Patch Set 4 : wrap #

Total comments: 6

Patch Set 5 : Address commnets #

Patch Set 6 : Actually save file before uploading #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -148 lines) Patch
M gyp/gpu.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrRenderTarget.h View 3 chunks +9 lines, -5 lines 0 comments Download
M include/gpu/GrTypes.h View 1 chunk +1 line, -4 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkGpuBlurUtils.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 4 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/GrContext.cpp View 4 chunks +24 lines, -44 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawTarget.cpp View 4 chunks +10 lines, -9 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrGpu.cpp View 5 chunks +8 lines, -17 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 2 chunks +19 lines, -6 lines 0 comments Download
A src/gpu/GrRenderTargetPriv.h View 1 2 3 4 5 1 chunk +51 lines, -0 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/GrSurfacePriv.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/GrTexture.cpp View 2 chunks +2 lines, -8 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 chunks +2 lines, -6 lines 0 comments Download
M src/gpu/SkGrPixelRef.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 7 chunks +9 lines, -7 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.h View 1 chunk +3 lines, -0 lines 0 comments Download
M tests/ReadPixelsTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/ResourceCacheTest.cpp View 3 chunks +49 lines, -20 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
bsalomon
5 years, 10 months ago (2015-02-20 19:00:14 UTC) #2
robertphillips
https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrRenderTargetPriv.h File src/gpu/GrRenderTargetPriv.h (right): https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrRenderTargetPriv.h#newcode32 src/gpu/GrRenderTargetPriv.h:32: GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} Do we need the ...
5 years, 10 months ago (2015-02-20 19:57:21 UTC) #3
robertphillips
https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp#newcode99 src/gpu/GrGpu.cpp:99: if (this->createStencilBufferForRenderTarget(rt, width, height)) { This comment seems important.
5 years, 10 months ago (2015-02-20 20:00:58 UTC) #4
bsalomon
https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp#newcode99 src/gpu/GrGpu.cpp:99: if (this->createStencilBufferForRenderTarget(rt, width, height)) { On 2015/02/20 20:00:58, robertphillips ...
5 years, 10 months ago (2015-02-20 20:02:56 UTC) #5
bsalomon
https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrRenderTargetPriv.h File src/gpu/GrRenderTargetPriv.h (right): https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrRenderTargetPriv.h#newcode32 src/gpu/GrRenderTargetPriv.h:32: GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} On 2015/02/20 19:57:21, robertphillips ...
5 years, 10 months ago (2015-02-20 20:10:39 UTC) #6
bsalomon
On 2015/02/20 20:02:56, bsalomon wrote: > https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp > File src/gpu/GrGpu.cpp (right): > > https://codereview.chromium.org/938383004/diff/60001/src/gpu/GrGpu.cpp#newcode99 > ...
5 years, 10 months ago (2015-02-23 14:43:26 UTC) #7
robertphillips
lgtm
5 years, 10 months ago (2015-02-23 14:51:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/938383004/100001
5 years, 10 months ago (2015-02-23 16:53:48 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 17:06:41 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/6bc1b5fab8554a9cb643277b4867965dd4535cd6

Powered by Google App Engine
This is Rietveld 408576698