Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Issue 12335009: Implementation of principal-component color reduction. (Closed)

Created:
7 years, 10 months ago by motek.
Modified:
7 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed (some) remarks from the review. #

Total comments: 13

Patch Set 3 : More review fixes. #

Total comments: 14

Patch Set 4 : De-nitted. #

Patch Set 5 : Moved to another fileset to make iOS build happy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -0 lines) Patch
M ui/gfx/color_analysis.h View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M ui/gfx/color_analysis.cc View 1 2 3 4 2 chunks +93 lines, -0 lines 0 comments Download
M ui/gfx/color_analysis_unittest.cc View 1 2 3 4 2 chunks +184 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
motek.
7 years, 10 months ago (2013-02-21 16:36:14 UTC) #1
reed1
all skia-isms look fine.
7 years, 10 months ago (2013-02-21 16:46:07 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/12335009/diff/1/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://codereview.chromium.org/12335009/diff/1/ui/gfx/color_utils.cc#newcode296 ui/gfx/color_utils.cc:296: int width = std::min(source_bitmap.width(), target_bitmap->width()); Instead of doing this, ...
7 years, 10 months ago (2013-02-21 16:49:59 UTC) #3
motek.
Responded to all questions. One request for clarification and one case where I argue for ...
7 years, 10 months ago (2013-02-21 18:38:43 UTC) #4
reed1
https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc File ui/gfx/vector3d_f.cc (right): https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc#newcode75 ui/gfx/vector3d_f.cc:75: float DotProduct(const Vector3dF& lhs, float x, float y, float ...
7 years, 10 months ago (2013-02-21 19:36:37 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/12335009/diff/1/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://codereview.chromium.org/12335009/diff/1/ui/gfx/color_utils.cc#newcode296 ui/gfx/color_utils.cc:296: int width = std::min(source_bitmap.width(), target_bitmap->width()); On 2013/02/21 18:38:43, motek. ...
7 years, 10 months ago (2013-02-21 19:49:33 UTC) #6
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc File ui/gfx/vector3d_f.cc (right): https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc#newcode75 ui/gfx/vector3d_f.cc:75: float DotProduct(const Vector3dF& lhs, float x, float y, float ...
7 years, 10 months ago (2013-02-21 19:54:31 UTC) #7
reed1
https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc File ui/gfx/vector3d_f.cc (right): https://chromiumcodereview.appspot.com/12335009/diff/1/ui/gfx/vector3d_f.cc#newcode75 ui/gfx/vector3d_f.cc:75: float DotProduct(const Vector3dF& lhs, float x, float y, float ...
7 years, 10 months ago (2013-02-21 19:57:09 UTC) #8
motek.
A quick comment re: performance. On debug code placing a vector constructor inside the function ...
7 years, 10 months ago (2013-02-21 20:17:42 UTC) #9
Alexei Svitkine (slow)
On Thu, Feb 21, 2013 at 3:17 PM, <motek@chromium.org> wrote: > A quick comment re: ...
7 years, 10 months ago (2013-02-21 20:27:48 UTC) #10
motek.
https://chromiumcodereview.appspot.com/12335009/diff/7001/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://chromiumcodereview.appspot.com/12335009/diff/7001/ui/gfx/color_utils.cc#newcode273 ui/gfx/color_utils.cc:273: if (!target_bitmap) { On 2013/02/21 19:49:33, Alexei Svitkine wrote: ...
7 years, 10 months ago (2013-02-21 22:45:02 UTC) #11
Alexei Svitkine (slow)
LGTM with some nits https://codereview.chromium.org/12335009/diff/7001/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://codereview.chromium.org/12335009/diff/7001/ui/gfx/color_utils.cc#newcode300 ui/gfx/color_utils.cc:300: if (scale_result) { On 2013/02/21 ...
7 years, 10 months ago (2013-02-22 02:24:05 UTC) #12
motek.
Fixed all. Submitting. https://chromiumcodereview.appspot.com/12335009/diff/9/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://chromiumcodereview.appspot.com/12335009/diff/9/ui/gfx/color_utils.cc#newcode279 ui/gfx/color_utils.cc:279: DCHECK(source_bitmap.config() == SkBitmap::kARGB_8888_Config); On 2013/02/22 02:24:06, ...
7 years, 10 months ago (2013-02-22 15:42:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/12335009/3003
7 years, 10 months ago (2013-02-22 15:43:43 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-22 16:01:40 UTC) #15
motek.
PTAL Given build troubles on iOS, I needed to move all that to color_analysis.*
7 years, 10 months ago (2013-02-22 18:36:34 UTC) #16
Alexei Svitkine (slow)
LGTM
7 years, 10 months ago (2013-02-22 18:39:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/12335009/10007
7 years, 10 months ago (2013-02-22 18:47:14 UTC) #18
commit-bot: I haz the power
7 years, 10 months ago (2013-02-22 21:06:53 UTC) #19
Message was sent while issue was closed.
Change committed as 184174

Powered by Google App Engine
This is Rietveld 408576698