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

Issue 6269047: GrTexture can now create its own cache key (Closed)

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

Description

Next refactoring in path to GrAutoScratchTexture::release

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed code review issues #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -139 lines) Patch
M include/gpu/GrContext.h View 3 chunks +5 lines, -14 lines 0 comments Download
M include/gpu/GrTexture.h View 1 2 chunks +19 lines, -0 lines 2 comments Download
M include/gpu/SkGr.h View 1 2 chunks +3 lines, -8 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 11 chunks +23 lines, -102 lines 0 comments Download
M src/gpu/GrResourceCache.h View 1 chunk +10 lines, -0 lines 0 comments Download
M src/gpu/GrTexture.cpp View 1 2 chunks +95 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 4 chunks +22 lines, -9 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/SkGrTexturePixelRef.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
robertphillips
http://codereview.appspot.com/6269047/diff/1/src/gpu/GrTexture.cpp File src/gpu/GrTexture.cpp (right): http://codereview.appspot.com/6269047/diff/1/src/gpu/GrTexture.cpp#newcode90 src/gpu/GrTexture.cpp:90: kFilter_TextureBit = kNPOT_TextureBit << 1, Brian - What do ...
12 years, 1 month ago (2012-06-04 18:40:22 UTC) #1
bsalomon
http://codereview.appspot.com/6269047/diff/1/src/gpu/SkGr.cpp File src/gpu/SkGr.cpp (right): http://codereview.appspot.com/6269047/diff/1/src/gpu/SkGr.cpp#newcode198 src/gpu/SkGr.cpp:198: bool isOpaque) { On 2012/06/04 18:40:22, robertphillips wrote: > ...
12 years, 1 month ago (2012-06-04 18:53:18 UTC) #2
robertphillips
Improved documentation of TextureBits in GrTexture.cpp Replaced logic in GrContext::createAndLockTexture with use of GrTexture::NeedsFiltering Removed ...
12 years, 1 month ago (2012-06-04 19:19:47 UTC) #3
bsalomon
LGTM http://codereview.appspot.com/6269047/diff/6001/include/gpu/GrTexture.h File include/gpu/GrTexture.h (right): http://codereview.appspot.com/6269047/diff/6001/include/gpu/GrTexture.h#newcode28 include/gpu/GrTexture.h:28: typedef uint64_t TextureKey; I take it the next ...
12 years, 1 month ago (2012-06-04 19:48:51 UTC) #4
robertphillips
12 years, 1 month ago (2012-06-04 20:06:03 UTC) #5
committed as r4148

http://codereview.appspot.com/6269047/diff/6001/include/gpu/GrTexture.h
File include/gpu/GrTexture.h (right):

http://codereview.appspot.com/6269047/diff/6001/include/gpu/GrTexture.h#newco...
include/gpu/GrTexture.h:28: typedef uint64_t TextureKey;
Yes - that is all correct.
Sign in to reply to this message.

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