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

Issue 5939053: Consolidate PixelRef flattables with the standard impl (Closed)

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

Description

Consolidate PixelRef flattables with the standard impl gcl created a new issue that can be found at the link below so I'm closing out this issue. http://codereview.appspot.com/5941043/

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -187 lines) Patch
M include/core/SkMallocPixelRef.h View 1 chunk +2 lines, -8 lines 0 comments Download
include/core/SkPixelRef.h View 6 chunks +5 lines, -41 lines 3 comments Download
M include/gpu/SkGrTexturePixelRef.h View 2 chunks +4 lines, -0 lines 0 comments Download
M include/images/SkFlipPixelRef.h View 2 chunks +9 lines, -15 lines 2 comments Download
M include/images/SkImageRef.h View 1 chunk +1 line, -1 line 0 comments Download
M include/images/SkImageRef_GlobalPool.h View 1 chunk +1 line, -7 lines 0 comments Download
M src/core/SkBitmap.cpp View 2 chunks +6 lines, -13 lines 2 comments Download
src/core/SkGraphics.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkMallocPixelRef.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkPixelRef.cpp View 3 chunks +4 lines, -67 lines 0 comments Download
M src/images/SkFlipPixelRef.cpp View 2 chunks +2 lines, -6 lines 0 comments Download
src/images/SkImageRef.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/images/SkImageRef_GlobalPool.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M src/ports/SkGlobalInitialization_chromium.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 1 chunk +5 lines, -8 lines 2 comments Download
M src/ports/SkImageRef_ashmem.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/ports/SkImageRef_ashmem.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5
DerekS
13 years, 2 months ago (2012-03-28 19:40:36 UTC) #1
reed1
http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h File include/core/SkPixelRef.h (left): http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h#oldcode147 include/core/SkPixelRef.h:147: typedef SkPixelRef* (*Factory)(SkFlattenableReadBuffer&); are these two additions needed, since ...
13 years, 2 months ago (2012-03-28 19:46:59 UTC) #2
caryclark1
A comment about why formerly const functions became not const would be good. http://codereview.appspot.com/5939053/diff/1/include/images/SkFlipPixelRef.h File ...
13 years, 2 months ago (2012-03-28 19:49:01 UTC) #3
DerekS
http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h File include/core/SkPixelRef.h (left): http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h#oldcode147 include/core/SkPixelRef.h:147: typedef SkPixelRef* (*Factory)(SkFlattenableReadBuffer&); On 2012/03/28 19:46:59, reed1 wrote: > ...
13 years, 2 months ago (2012-03-28 20:27:19 UTC) #4
reed1
13 years, 2 months ago (2012-03-28 20:50:49 UTC) #5
http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h
File include/core/SkPixelRef.h (left):

http://codereview.appspot.com/5939053/diff/1/include/core/SkPixelRef.h#oldcod...
include/core/SkPixelRef.h:147: typedef SkPixelRef*
(*Factory)(SkFlattenableReadBuffer&);
So...

1. can we remove the getFactory?
2. should we say SK_OVERRIDE on flatten?

On 2012/03/28 20:27:19, djsollen wrote:
> On 2012/03/28 19:46:59, reed1 wrote:
> > are these two additions needed, since we now inherit from SkFlattenable?
> 
> getFactory() is not, but the other is as the cpp file has an implementation of
> this.
Sign in to reply to this message.

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