Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2361)

Issue 5580049: Add code path for client resolve of GrRenderTarget. SkGpuDevice resolves its rendertarget in ::flush (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by bsalomon
Modified:
12 years, 9 months ago
Reviewers:
junov1, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : abcdefg #

Total comments: 8

Patch Set 3 : remove resolve in flush when force-rt-bind flag is set #

Total comments: 13

Patch Set 4 : improve comments #

Patch Set 5 : remove unnecessary flush #

Patch Set 6 : more comment improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -6 lines) Patch
M include/gpu/GrContext.h View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M include/gpu/GrRenderTarget.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/GrGpuGL.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrGpuGL.cpp View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9
bsalomon
12 years, 9 months ago (2012-01-30 19:06:25 UTC) #1
junov1
http://codereview.appspot.com/5580049/diff/2001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/5580049/diff/2001/src/gpu/GrContext.cpp#newcode1726 src/gpu/GrContext.cpp:1726: fGpu->resolveRenderTarget(this->getRenderTarget()); I think the docs for kForceCurrentRenderTarget_FlushBit need to ...
12 years, 9 months ago (2012-01-30 20:28:41 UTC) #2
bsalomon
http://codereview.appspot.com/5580049/diff/2001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/5580049/diff/2001/src/gpu/GrContext.cpp#newcode1726 src/gpu/GrContext.cpp:1726: fGpu->resolveRenderTarget(this->getRenderTarget()); On 2012/01/30 20:28:41, junov1 wrote: > I think ...
12 years, 9 months ago (2012-01-30 20:40:12 UTC) #3
TomH
Only nits in comments, but as may be obvious I don't think I understand enough ...
12 years, 9 months ago (2012-01-30 21:17:47 UTC) #4
bsalomon
The latest patch attempts to improve the comments cited by Tom. http://codereview.appspot.com/5580049/diff/2001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): ...
12 years, 9 months ago (2012-01-30 21:34:19 UTC) #5
junov1
http://codereview.appspot.com/5580049/diff/6001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): http://codereview.appspot.com/5580049/diff/6001/include/gpu/GrContext.h#newcode567 include/gpu/GrContext.h:567: * Resolves a render target that has full scene ...
12 years, 9 months ago (2012-01-30 21:55:04 UTC) #6
junov1
FYI: Comment #6 was based on patch set 3
12 years, 9 months ago (2012-01-30 21:56:41 UTC) #7
bsalomon
http://codereview.appspot.com/5580049/diff/6001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/5580049/diff/6001/src/gpu/GrContext.cpp#newcode1910 src/gpu/GrContext.cpp:1910: fGpu->resolveRenderTarget(target); On 2012/01/30 21:55:04, junov1 wrote: > Do you ...
12 years, 9 months ago (2012-01-30 22:22:06 UTC) #8
junov1
12 years, 9 months ago (2012-01-30 23:00:28 UTC) #9
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b