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

Issue 6251049: Altered GrDrawState to always ref texture and render target (Closed)

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

Description

Long deferred cleanup

Patch Set 1 #

Total comments: 19

Patch Set 2 : Addressed code review issues #

Patch Set 3 : speculative fix for Android port #

Patch Set 4 : "Fixed" Android issue #

Patch Set 5 : Fixed Linux alignment issue #

Total comments: 1

Patch Set 6 : svn update - to keep up to date #

Patch Set 7 : Updated for delivery of releaseTextures portion #

Total comments: 5

Patch Set 8 : Fixed infinite recursion guard + cleanup #

Total comments: 4

Patch Set 9 : Used GrSafeAssign #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -95 lines) Patch
M include/gpu/GrContext.h View 1 2 3 4 5 6 3 chunks +7 lines, -5 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 8 12 chunks +56 lines, -62 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -20 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 19
robertphillips
http://codereview.appspot.com/6251049/diff/1/include/gpu/GrContext.h File include/gpu/GrContext.h (right): http://codereview.appspot.com/6251049/diff/1/include/gpu/GrContext.h#newcode862 include/gpu/GrContext.h:862: Having the reset function made this a bit clearer ...
12 years, 7 months ago (2012-05-24 19:04:44 UTC) #1
bsalomon
Mostly LGTM. It feels good to get this one done, been meaning to do it ...
12 years, 7 months ago (2012-05-24 19:30:30 UTC) #2
robertphillips
http://codereview.appspot.com/6251049/diff/1/include/gpu/GrContext.h File include/gpu/GrContext.h (right): http://codereview.appspot.com/6251049/diff/1/include/gpu/GrContext.h#newcode860 include/gpu/GrContext.h:860: reset(); On 2012/05/24 19:30:31, bsalomon wrote: > this-> Done. ...
12 years, 7 months ago (2012-05-24 20:38:51 UTC) #3
bsalomon
LGTM http://codereview.appspot.com/6251049/diff/1/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6251049/diff/1/src/gpu/GrContext.cpp#newcode73 src/gpu/GrContext.cpp:73: fGpu->setDrawState(NULL); On 2012/05/24 20:38:51, robertphillips wrote: > It ...
12 years, 7 months ago (2012-05-24 21:09:00 UTC) #4
robertphillips
committed as r4049
12 years, 7 months ago (2012-05-25 11:46:09 UTC) #5
robertphillips
rolled back in r4051 due to Android Debug crash
12 years, 7 months ago (2012-05-28 12:38:48 UTC) #6
robertphillips
Attempted speculative fix for Android issue in r4053
12 years, 7 months ago (2012-05-28 14:10:50 UTC) #7
robertphillips
Rolled back again
12 years, 7 months ago (2012-05-28 14:11:07 UTC) #8
robertphillips
PTAL I have "fixed" the Android crash. In the original delivery I was greatly extending ...
12 years, 6 months ago (2012-06-12 15:29:39 UTC) #9
bsalomon
Can we see the release textures part separately? I think it interacts with stuff Tom ...
12 years, 6 months ago (2012-06-13 13:21:35 UTC) #10
bsalomon
Forgot to add TomH in previous publish.
12 years, 6 months ago (2012-06-13 13:22:05 UTC) #11
robertphillips
Updated for delivery of releaseTextures portion in http://codereview.appspot.com/6299081/
12 years, 6 months ago (2012-06-13 19:16:37 UTC) #12
bsalomon
The infinite loop prevention is a bit hairy. However, the call setTexture(NULL)/setRenderTarget(NULL) calls in the ...
12 years, 6 months ago (2012-06-13 19:46:46 UTC) #13
bsalomon
http://codereview.appspot.com/6251049/diff/13003/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6251049/diff/13003/src/gpu/GrContext.cpp#newcode79 src/gpu/GrContext.cpp:79: fGpu->setDrawState(NULL); On 2012/06/13 19:46:46, bsalomon wrote: > I'm not ...
12 years, 6 months ago (2012-06-13 19:49:27 UTC) #14
robertphillips
Apparently the changes we made w/ releaseTextures obviated the need for the extra cleanup in ...
12 years, 6 months ago (2012-06-13 20:46:26 UTC) #15
TomH
How could I not LGTM something that is a net reduction of LOC? http://codereview.appspot.com/6251049/diff/14008/src/gpu/GrDrawState.h File ...
12 years, 6 months ago (2012-06-13 21:01:22 UTC) #16
bsalomon
LGTM (feel free to ignore or take the GrSafeAssign suggestion.) http://codereview.appspot.com/6251049/diff/14008/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): http://codereview.appspot.com/6251049/diff/14008/src/gpu/GrDrawState.h#newcode70 ...
12 years, 6 months ago (2012-06-13 21:04:44 UTC) #17
robertphillips
Parking until after M21 http://codereview.appspot.com/6251049/diff/14008/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): http://codereview.appspot.com/6251049/diff/14008/src/gpu/GrDrawState.h#newcode497 src/gpu/GrDrawState.h:497: SkSafeRef(target); On 2012/06/13 21:04:44, bsalomon ...
12 years, 6 months ago (2012-06-14 12:32:01 UTC) #18
robertphillips
12 years, 6 months ago (2012-06-22 12:01:58 UTC) #19
committed as r4298
Sign in to reply to this message.

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