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

Issue 53082: Support Index8 in SkBitmap.copyTo()

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 8 months ago by weita
Modified:
10 years, 10 months ago
Reviewers:
reed
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Allow copying an Index8 bitmap when srcConfig and dstConfig are both Index8. Also, change the logic of SkBitmap.copyTo() to do memcpy() if srcConfig and dstConfig are the same.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Add Patch Set 2 #

Total comments: 4

Patch Set 3 : Done with the pervious comments and pass tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -89 lines) Patch
include/core/SkBitmap.h View 1 2 18 chunks +29 lines, -25 lines 0 comments Download
src/core/SkBitmap.cpp View 1 2 22 chunks +69 lines, -45 lines 0 comments Download
src/core/SkColorTable.cpp View 1 3 chunks +24 lines, -12 lines 0 comments Download
tests/BitmapCopyTest.cpp View 4 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 8
weita
16 years, 8 months ago (2009-05-01 17:49:41 UTC) #1
reed
http://codereview.appspot.com/53082/diff/1/2 File include/core/SkBitmap.h (right): http://codereview.appspot.com/53082/diff/1/2#newcode490 Line 490: SkColorTable(const SkColorTable& src); Is the comment above this ...
16 years, 8 months ago (2009-05-01 18:04:59 UTC) #2
weita
http://codereview.appspot.com/53082/diff/1/2 File include/core/SkBitmap.h (right): http://codereview.appspot.com/53082/diff/1/2#newcode490 Line 490: SkColorTable(const SkColorTable& src); On 2009/05/01 18:04:59, reed wrote: ...
16 years, 8 months ago (2009-05-01 19:05:08 UTC) #3
weita
Add Patch Set 2
16 years, 8 months ago (2009-05-01 19:22:41 UTC) #4
reed
much better! http://codereview.appspot.com/53082/diff/9/1006 File include/core/SkBitmap.h (right): http://codereview.appspot.com/53082/diff/9/1006#newcode488 Line 488: /** Lets just say we make ...
16 years, 8 months ago (2009-05-01 19:58:17 UTC) #5
weita
Done with the pervious comments and pass tests
16 years, 8 months ago (2009-05-01 21:53:16 UTC) #6
weita
http://codereview.appspot.com/53082/diff/9/1006 File include/core/SkBitmap.h (right): http://codereview.appspot.com/53082/diff/9/1006#newcode488 Line 488: /** On 2009/05/01 19:58:18, reed wrote: > Lets ...
16 years, 8 months ago (2009-05-01 21:55:49 UTC) #7
reed
16 years, 8 months ago (2009-05-02 01:52:32 UTC) #8
LGTM
Sign in to reply to this message.

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