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

Issue 325733004: Add texture compression utility (Closed)

Created:
6 years, 6 months ago by krajcevski
Modified:
6 years, 6 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Actually add the files. #

Patch Set 3 : Some more small cleanup #

Total comments: 20

Patch Set 4 : Code review changes #

Total comments: 12

Patch Set 5 : Code review changes #

Patch Set 6 : Compute palette indices with palette #

Total comments: 6

Patch Set 7 : Code review changes #

Patch Set 8 : Fix compiler warnings in debug #

Patch Set 9 : Move abs_diff back #

Patch Set 10 : Remove static cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -0 lines) Patch
M gyp/utils.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A src/utils/SkTextureCompressor.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A src/utils/SkTextureCompressor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +208 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
krajcevski
6 years, 6 months ago (2014-06-09 18:51:49 UTC) #1
robertphillips
https://codereview.chromium.org/325733004/diff/40001/src/utils/SkTextureCompressor.cpp File src/utils/SkTextureCompressor.cpp (right): https://codereview.chromium.org/325733004/diff/40001/src/utils/SkTextureCompressor.cpp#newcode19 src/utils/SkTextureCompressor.cpp:19: Maybe SkTAbsDiff in SkTypes.h ? https://codereview.chromium.org/325733004/diff/40001/src/utils/SkTextureCompressor.cpp#newcode30 src/utils/SkTextureCompressor.cpp:30: static const ...
6 years, 6 months ago (2014-06-09 19:50:18 UTC) #2
robertphillips
Adding image handling experts
6 years, 6 months ago (2014-06-09 19:50:54 UTC) #3
krajcevski
https://codereview.chromium.org/325733004/diff/40001/src/utils/SkTextureCompressor.cpp File src/utils/SkTextureCompressor.cpp (right): https://codereview.chromium.org/325733004/diff/40001/src/utils/SkTextureCompressor.cpp#newcode19 src/utils/SkTextureCompressor.cpp:19: On 2014/06/09 19:50:18, robertphillips wrote: > Maybe SkTAbsDiff in ...
6 years, 6 months ago (2014-06-09 20:39:34 UTC) #4
scroggo
On 2014/06/09 19:50:54, robertphillips wrote: > Adding image handling experts No image specific comments, but ...
6 years, 6 months ago (2014-06-09 20:54:19 UTC) #5
krajcevski
https://codereview.chromium.org/325733004/diff/60001/src/utils/SkTextureCompressor.cpp File src/utils/SkTextureCompressor.cpp (right): https://codereview.chromium.org/325733004/diff/60001/src/utils/SkTextureCompressor.cpp#newcode136 src/utils/SkTextureCompressor.cpp:136: (bm.config() != SkBitmap::kA8_Config)) { On 2014/06/09 20:54:18, scroggo wrote: ...
6 years, 6 months ago (2014-06-09 21:06:02 UTC) #6
scroggo
1gtm
6 years, 6 months ago (2014-06-09 21:07:51 UTC) #7
krajcevski
I updated the compression code to calculate the indices at the same time as the ...
6 years, 6 months ago (2014-06-09 21:37:05 UTC) #8
robertphillips
lgtm + some nits We probably need a unit test for this https://codereview.chromium.org/325733004/diff/100001/include/core/SkTypes.h File include/core/SkTypes.h ...
6 years, 6 months ago (2014-06-09 22:12:40 UTC) #9
krajcevski
https://codereview.chromium.org/325733004/diff/100001/include/core/SkTypes.h File include/core/SkTypes.h (right): https://codereview.chromium.org/325733004/diff/100001/include/core/SkTypes.h#newcode359 include/core/SkTypes.h:359: template <typename T> inline T SkTAbsDiff(const T &a, const ...
6 years, 6 months ago (2014-06-10 14:38:10 UTC) #10
krajcevski
+ reed
6 years, 6 months ago (2014-06-10 17:48:19 UTC) #11
reed1
SkTAbsDiff might be slower than SkTAbs(a - b) for things like floats. Since your specific ...
6 years, 6 months ago (2014-06-10 17:54:22 UTC) #12
robertphillips
Are we okay having a bunch of these lying around? There is already one in ...
6 years, 6 months ago (2014-06-10 17:59:22 UTC) #13
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-06-10 18:10:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/325733004/160001
6 years, 6 months ago (2014-06-10 18:10:17 UTC) #15
reed1
On 2014/06/10 17:59:22, robertphillips wrote: > Are we okay having a bunch of these lying ...
6 years, 6 months ago (2014-06-10 18:11:49 UTC) #16
krajcevski
On 2014/06/10 18:11:49, reed1 wrote: > On 2014/06/10 17:59:22, robertphillips wrote: > > Are we ...
6 years, 6 months ago (2014-06-10 18:29:05 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win7-VS2010-x86-Debug-Trybot on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 19:08:35 UTC) #18
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-06-10 19:35:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/325733004/180001
6 years, 6 months ago (2014-06-10 19:36:34 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 21:52:34 UTC) #21
Message was sent while issue was closed.
Change committed as ae614409e4cff083c070face78cc349153d0b932

Powered by Google App Engine
This is Rietveld 408576698