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

Issue 6489085: Resource cache now explicitly takes ref of managed resources (Closed)

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

Description

This CL changes the resource cache to explicitly ref the owned resources rather than just absorbing outside refs. Not sure if it is really any clearer.

Patch Set 1 #

Patch Set 2 : Moved ref into GrResourceEntry ctor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -13 lines) Patch
M src/gpu/GrContext.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrStencilBuffer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 3
robertphillips
12 years, 2 months ago (2012-09-05 19:35:31 UTC) #1
bsalomon
On 2012/09/05 19:35:31, robertphillips wrote: LGTM.
12 years, 2 months ago (2012-09-05 19:42:06 UTC) #2
robertphillips
12 years, 2 months ago (2012-09-05 19:44:49 UTC) #3
committed as r5407
Sign in to reply to this message.

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