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

Issue 6448143: Split cache-specific fields out of GrTextureDesc (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 makes the GrTextureDesc class more coherent by isolating the cache-specific fields in their own struct (GrCacheData). Now code that doesn't use the cache need not concern itself with extraneous variables.

Patch Set 1 #

Patch Set 2 : Fixed comment & removed constant #

Total comments: 4

Patch Set 3 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -57 lines) Patch
M include/gpu/GrCacheID.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrContext.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M include/gpu/GrTexture.h View 2 chunks +1 line, -11 lines 0 comments Download
M include/gpu/GrTypes.h View 1 2 3 chunks +28 lines, -14 lines 0 comments Download
M src/gpu/GrContext.cpp View 8 chunks +15 lines, -8 lines 0 comments Download
M src/gpu/GrStencilBuffer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrTexture.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M src/gpu/SkGr.cpp View 5 chunks +19 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.cpp View 3 chunks +3 lines, -7 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5
robertphillips
12 years, 2 months ago (2012-08-13 13:28:46 UTC) #1
bsalomon
Overall LGTM. http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h File include/gpu/GrTypes.h (right): http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h#newcode516 include/gpu/GrTypes.h:516: * All scratch resources should be Unrestricted ...
12 years, 2 months ago (2012-08-13 13:48:24 UTC) #2
robertphillips
http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h File include/gpu/GrTypes.h (right): http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h#newcode516 include/gpu/GrTypes.h:516: * All scratch resources should be Unrestricted so they ...
12 years, 2 months ago (2012-08-13 14:14:51 UTC) #3
bsalomon
LGTM On 2012/08/13 14:14:51, robertphillips wrote: > http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h > File include/gpu/GrTypes.h (right): > > http://codereview.appspot.com/6448143/diff/2001/include/gpu/GrTypes.h#newcode516 ...
12 years, 2 months ago (2012-08-13 15:33:08 UTC) #4
robertphillips
12 years, 2 months ago (2012-08-13 17:48:21 UTC) #5
committed as r5065
Sign in to reply to this message.

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