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

Issue 6592051: Speculative render target ref/unref fixes (Closed)

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

Description

Speculative render target ref/unref fixes

Patch Set 1 #

Patch Set 2 : minor cleanup #

Total comments: 7

Patch Set 3 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -72 lines) Patch
M include/gpu/GrContext.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/GrContext.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +52 lines, -57 lines 0 comments Download

Messages

Total messages: 5
robertphillips
Haven't seen these in the wild but these seem to be ref/unref omissions similar to ...
11 years, 9 months ago (2012-10-01 17:39:33 UTC) #1
bsalomon
https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h#newcode660 include/gpu/GrContext.h:660: GrSafeSetNull(fPrevTarget); why set to null rather than just safe-unref? ...
11 years, 9 months ago (2012-10-01 17:46:06 UTC) #2
robertphillips
https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h#newcode660 include/gpu/GrContext.h:660: GrSafeSetNull(fPrevTarget); On 2012/10/01 17:46:06, bsalomon wrote: > why set ...
11 years, 9 months ago (2012-10-01 18:01:02 UTC) #3
bsalomon
On 2012/10/01 18:01:02, robertphillips wrote: > https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h > File include/gpu/GrContext.h (right): > > https://codereview.appspot.com/6592051/diff/2001/include/gpu/GrContext.h#newcode660 > ...
11 years, 9 months ago (2012-10-01 18:19:41 UTC) #4
robertphillips
11 years, 9 months ago (2012-10-01 18:25:40 UTC) #5
committed as r5754
Sign in to reply to this message.

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