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

Issue 4815055: Turn GrTextureCache into GrResourceCache (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by bsalomon
Modified:
13 years, 4 months ago
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Make the GrTextureCache a generic GrResourceCache (so it can manage stencil buffers in the future). Also, do some cleanup on the GrContext texture interface.

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : fix a bug #

Total comments: 2

Patch Set 4 : incorporate comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -1030 lines) Patch
M gpu/include/GrContext.h View 1 2 3 7 chunks +112 lines, -48 lines 0 comments Download
D gpu/include/GrTextureCache.h View 1 2 3 1 chunk +0 lines, -308 lines 0 comments Download
M gpu/src/GrContext.cpp View 1 2 3 20 chunks +126 lines, -114 lines 0 comments Download
M gpu/src/GrGpu.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + gpu/src/GrResourceCache.h View 1 14 chunks +90 lines, -91 lines 0 comments Download
A + gpu/src/GrResourceCache.cpp View 1 13 chunks +63 lines, -63 lines 0 comments Download
D gpu/src/GrTextureCache.cpp View 1 2 3 1 chunk +0 lines, -316 lines 0 comments Download
M gyp/gpu.gyp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 2 3 4 chunks +12 lines, -13 lines 0 comments Download
M include/gpu/SkGr.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 11 chunks +43 lines, -57 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 3 chunks +18 lines, -13 lines 0 comments Download

Messages

Total messages: 5
bsalomon
13 years, 4 months ago (2011-07-25 20:41:26 UTC) #1
Stephen White
Great improvement over than silly unlock-only guard, thanks. http://codereview.appspot.com/4815055/diff/5001/gpu/include/GrContext.h File gpu/include/GrContext.h (right): http://codereview.appspot.com/4815055/diff/5001/gpu/include/GrContext.h#newcode727 gpu/include/GrContext.h:727: GrContext::ScratchTexMatch ...
13 years, 4 months ago (2011-07-25 20:58:29 UTC) #2
bsalomon
On 2011/07/25 20:58:29, Stephen White wrote: > http://codereview.appspot.com/4815055/diff/5001/gpu/include/GrContext.h#newcode727 > gpu/include/GrContext.h:727: GrContext::ScratchTexMatch match) > Perhaps the ...
13 years, 4 months ago (2011-07-26 13:04:51 UTC) #3
Stephen White
LGTM
13 years, 4 months ago (2011-07-26 19:54:30 UTC) #4
bsalomon
13 years, 4 months ago (2011-07-28 21:40:39 UTC) #5
Closed with r1965
Sign in to reply to this message.

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