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

Issue 1333383002: Move some of the adding stencil attachment logic of Gpu and into Render Target. (Closed)

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

Description

Move some of the adding stencil attachment logic of Gpu and into Render Target. The new flow of calls for attaching a Stencil looks like: Client rt->attachStencilAttachment() gpu->getStencilAttachment() glgpu->createStencilAttachment() glrt->completeStencilAttachment() //actually attaches BUG=skia: Committed: https://skia.googlesource.com/skia/+/ec00d94199fad7723b5987b86c1abef8ddafe2d8

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Move stencil attachment to resource provider #

Patch Set 4 : cleanup #

Total comments: 1

Patch Set 5 : spelling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -242 lines) Patch
M include/gpu/GrRenderTarget.h View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 2 chunks +8 lines, -13 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 3 chunks +2 lines, -43 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 1 2 1 chunk +9 lines, -14 lines 0 comments Download
M src/gpu/GrRenderTargetPriv.h View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M src/gpu/GrResourceProvider.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M src/gpu/GrResourceProvider.cpp View 1 2 2 chunks +52 lines, -0 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 chunks +14 lines, -125 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.h View 1 2 3 chunks +12 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLRenderTarget.cpp View 1 2 3 chunks +80 lines, -2 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 5 chunks +20 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
egdaniel
https://codereview.chromium.org/1333383002/diff/1/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/1333383002/diff/1/src/gpu/GrGpu.h#newcode387 src/gpu/GrGpu.h:387: virtual void clearStencil(GrRenderTarget* target) = 0; Since we are ...
5 years, 3 months ago (2015-09-11 17:59:49 UTC) #2
egdaniel
just a friendly ping since this is block some other work
5 years, 3 months ago (2015-09-14 14:11:32 UTC) #3
jvanverth1
Just a couple of comments. https://codereview.chromium.org/1333383002/diff/20001/src/gpu/GrRenderTarget.cpp File src/gpu/GrRenderTarget.cpp (right): https://codereview.chromium.org/1333383002/diff/20001/src/gpu/GrRenderTarget.cpp#newcode81 src/gpu/GrRenderTarget.cpp:81: fRenderTarget, &fRenderTarget->fStencilAttachment); Indent to ...
5 years, 3 months ago (2015-09-14 18:35:07 UTC) #4
egdaniel
https://codereview.chromium.org/1333383002/diff/20001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1333383002/diff/20001/src/gpu/gl/GrGLGpu.cpp#newcode1351 src/gpu/gl/GrGLGpu.cpp:1351: GrGLStencilAttachment* stencil = new GrGLStencilAttachment(this, On 2015/09/14 18:35:07, jvanverth1 ...
5 years, 3 months ago (2015-09-14 18:56:49 UTC) #5
jvanverth1
lgtm
5 years, 3 months ago (2015-09-14 19:15:19 UTC) #6
egdaniel
updated, ptal
5 years, 3 months ago (2015-09-14 19:24:25 UTC) #7
bsalomon
lgtm
5 years, 3 months ago (2015-09-14 19:34:54 UTC) #8
bsalomon
https://codereview.chromium.org/1333383002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (left): https://codereview.chromium.org/1333383002/diff/1/src/gpu/gl/GrGLGpu.cpp#oldcode1354 src/gpu/gl/GrGLGpu.cpp:1354: #if 0 On 2015/09/11 17:59:49, egdaniel wrote: > I ...
5 years, 3 months ago (2015-09-14 19:35:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333383002/80001
5 years, 3 months ago (2015-09-14 19:50:10 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-14 19:56:13 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/ec00d94199fad7723b5987b86c1abef8ddafe2d8

Powered by Google App Engine
This is Rietveld 408576698