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

Issue 6297092: Add GrSurface parent class above GrTexture & GrRenderTarget (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 change improves the generality of Skia's GrTexture & GrRenderTarget handling (through the magic of polymorphism). Follow on changes will fuse SkGrTexturePixelRef & SkGrRenderTargetPixelRef and propagate use of the new GrSurface class through out the code.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -127 lines) Patch
M gyp/gpu.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M include/gpu/GrRenderTarget.h View 1 6 chunks +50 lines, -63 lines 0 comments Download
A include/gpu/GrSurface.h View 1 1 chunk +107 lines, -0 lines 0 comments Download
M include/gpu/GrTexture.h View 6 chunks +40 lines, -56 lines 0 comments Download
A src/gpu/GrSurface.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.cpp View 1 3 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 5
robertphillips
http://codereview.appspot.com/6297092/diff/1/include/gpu/GrSurface.h File include/gpu/GrSurface.h (right): http://codereview.appspot.com/6297092/diff/1/include/gpu/GrSurface.h#newcode43 include/gpu/GrSurface.h:43: I'm on the fence about moving "isMultisampled" & "numSamples" ...
12 years, 2 months ago (2012-06-15 20:53:19 UTC) #1
bsalomon
http://codereview.appspot.com/6297092/diff/1/include/gpu/GrSurface.h File include/gpu/GrSurface.h (right): http://codereview.appspot.com/6297092/diff/1/include/gpu/GrSurface.h#newcode43 include/gpu/GrSurface.h:43: On 2012/06/15 20:53:19, robertphillips wrote: > I'm on the ...
12 years, 2 months ago (2012-06-15 21:06:53 UTC) #2
robertphillips
Removed exhaustive ctor in GrTextureDesc & moved MSAA methods back to GrRenderTarget (from GrSurface). http://codereview.appspot.com/6297092/diff/1/include/gpu/GrSurface.h ...
12 years, 2 months ago (2012-06-18 12:31:01 UTC) #3
bsalomon
LGTM http://codereview.appspot.com/6297092/diff/1/src/gpu/gl/GrGLRenderTarget.cpp File src/gpu/gl/GrGLRenderTarget.cpp (right): http://codereview.appspot.com/6297092/diff/1/src/gpu/gl/GrGLRenderTarget.cpp#newcode34 src/gpu/gl/GrGLRenderTarget.cpp:34: texture, On 2012/06/18 12:31:01, robertphillips wrote: > Done. ...
12 years, 2 months ago (2012-06-18 13:02:32 UTC) #4
robertphillips
12 years, 2 months ago (2012-06-21 21:09:34 UTC) #5
committed as r4292
Sign in to reply to this message.

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