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

Issue 6474068: Remove SkGpuDevice::fTexture, use new pixel ref class name (Closed)

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

Patch Set 1 #

Patch Set 2 : Fix ref leak, rewrite ~GrResourceCache #

Patch Set 3 : Make the SkGpuDevice's pixelref always hold a ref to the texture if possible #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -74 lines) Patch
M include/core/SkTDLinkedList.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrResource.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/GrResourceCache.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 6 chunks +52 lines, -41 lines 3 comments Download
M src/gpu/GrStencilBuffer.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 5 chunks +20 lines, -26 lines 0 comments Download

Messages

Total messages: 5
bsalomon
12 years, 2 months ago (2012-08-27 17:41:13 UTC) #1
bsalomon
Getting rid of GrStencilBuffer::fHoldingLock made me too nervous. No one else should be locking the ...
12 years, 2 months ago (2012-08-27 19:14:52 UTC) #2
bsalomon
new patchset makes the device hold a ref to the texture instead of RT (if ...
12 years, 2 months ago (2012-08-27 19:26:51 UTC) #3
robertphillips
LGTM w/ 1 comment suggestion. https://codereview.appspot.com/6474068/diff/5001/src/gpu/GrResourceCache.cpp File src/gpu/GrResourceCache.cpp (right): https://codereview.appspot.com/6474068/diff/5001/src/gpu/GrResourceCache.cpp#newcode92 src/gpu/GrResourceCache.cpp:92: Comment here about need ...
12 years, 2 months ago (2012-08-28 11:49:56 UTC) #4
bsalomon
12 years, 2 months ago (2012-08-28 15:09:51 UTC) #5
Closed with r5307.

https://codereview.appspot.com/6474068/diff/5001/src/gpu/GrResourceCache.cpp
File src/gpu/GrResourceCache.cpp (right):

https://codereview.appspot.com/6474068/diff/5001/src/gpu/GrResourceCache.cpp#...
src/gpu/GrResourceCache.cpp:92: 
On 2012/08/28 11:49:56, robertphillips wrote:
> Comment here about need for raw removal vs. "removeAll"?

Will do. I also renamed removeAll to purgeAllUnlocked since it's name wasn't
very accurate.
Sign in to reply to this message.

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