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

Issue 444093002: - Add astcbitmap to gm slides (Closed)

Created:
6 years, 4 months ago by krajcevski
Modified:
6 years, 2 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add astcbitmap to gm slides. Add additional ASTC formats. Add astc image decoder files. Committed: https://skia.googlesource.com/skia/+/95b1b3d82d227141647777d83324aa570b530096

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review changes #

Patch Set 3 : Avoid formats in tests #

Patch Set 4 : Fix a few typos #

Patch Set 5 : Set the alpha type based on the client's wishes #

Patch Set 6 : Decode trits/quints into temp buffers #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -45 lines) Patch
A gm/astcbitmap.cpp View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M gyp/images.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkImageDecoder.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrSWMaskHelper.cpp View 1 chunk +26 lines, -12 lines 0 comments Download
M src/images/SkForceLinking.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/images/SkImageDecoder.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
A src/images/SkImageDecoder_astc.cpp View 1 2 3 4 1 chunk +209 lines, -0 lines 3 comments Download
M src/utils/SkTextureCompressor.h View 1 chunk +13 lines, -0 lines 0 comments Download
M src/utils/SkTextureCompressor.cpp View 1 3 chunks +55 lines, -21 lines 0 comments Download
M src/utils/SkTextureCompressor_ASTC.cpp View 1 2 3 4 5 3 chunks +12 lines, -3 lines 0 comments Download
M tests/ImageDecodingTest.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M tests/TextureCompressionTest.cpp View 1 2 4 chunks +33 lines, -4 lines 0 comments Download
M third_party/ktx/ktx.cpp View 1 chunk +29 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (2 generated)
krajcevski
This patch is for an image decoder that reads .astc files. These files are produced ...
6 years, 4 months ago (2014-08-06 19:14:36 UTC) #1
reed1
api lgtm
6 years, 4 months ago (2014-08-06 19:45:40 UTC) #2
robertphillips
lgtm + nits & suggestions https://codereview.chromium.org/444093002/diff/1/gm/astcbitmap.cpp File gm/astcbitmap.cpp (right): https://codereview.chromium.org/444093002/diff/1/gm/astcbitmap.cpp#newcode91 gm/astcbitmap.cpp:91: private: The INHERITED goes ...
6 years, 4 months ago (2014-08-06 21:13:16 UTC) #3
krajcevski
https://codereview.chromium.org/444093002/diff/1/gm/astcbitmap.cpp File gm/astcbitmap.cpp (right): https://codereview.chromium.org/444093002/diff/1/gm/astcbitmap.cpp#newcode91 gm/astcbitmap.cpp:91: private: On 2014/08/06 21:13:15, robertphillips wrote: > The INHERITED ...
6 years, 4 months ago (2014-08-06 22:31:00 UTC) #4
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 4 months ago (2014-08-07 17:29:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/444093002/40001
6 years, 4 months ago (2014-08-07 17:30:42 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-07 17:38:40 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 17:42:16 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/54)
6 years, 4 months ago (2014-08-07 17:42:17 UTC) #9
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 4 months ago (2014-08-07 17:47:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/444093002/60001
6 years, 4 months ago (2014-08-07 17:48:38 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-07 17:57:03 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 18:00:33 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/57)
6 years, 4 months ago (2014-08-07 18:00:38 UTC) #14
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 4 months ago (2014-08-07 18:08:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/444093002/80001
6 years, 4 months ago (2014-08-07 18:08:54 UTC) #16
commit-bot: I haz the power
Change committed as 2fc05823fed4b9649338f3029cd1ba05ef49a02f
6 years, 4 months ago (2014-08-07 18:18:26 UTC) #17
krajcevski
A revert of this CL has been created in https://codereview.chromium.org/447343002/ by krajcevski@google.com. The reason for ...
6 years, 4 months ago (2014-08-07 18:31:26 UTC) #18
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 4 months ago (2014-08-07 19:49:03 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/444093002/100001
6 years, 4 months ago (2014-08-07 19:49:22 UTC) #20
commit-bot: I haz the power
Change committed as 95b1b3d82d227141647777d83324aa570b530096
6 years, 4 months ago (2014-08-07 19:58:46 UTC) #21
scroggo
https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp File src/images/SkImageDecoder_astc.cpp (right): https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp#newcode162 src/images/SkImageDecoder_astc.cpp:162: if (!SkTextureCompressor::DecompressBufferFromFormat( Due to the way this statement was ...
6 years, 2 months ago (2014-10-17 15:31:38 UTC) #23
robertphillips
https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp File src/images/SkImageDecoder_astc.cpp (right): https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp#newcode162 src/images/SkImageDecoder_astc.cpp:162: if (!SkTextureCompressor::DecompressBufferFromFormat( Ha ha. Given the semantics and the ...
6 years, 2 months ago (2014-10-17 15:41:22 UTC) #24
pavelk
https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp File src/images/SkImageDecoder_astc.cpp (right): https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecoder_astc.cpp#newcode162 src/images/SkImageDecoder_astc.cpp:162: if (!SkTextureCompressor::DecompressBufferFromFormat( On 2014/10/17 15:41:22, robertphillips wrote: > Ha ...
6 years, 2 months ago (2014-10-19 20:09:42 UTC) #26
scroggo
6 years, 2 months ago (2014-10-20 15:36:28 UTC) #27
Message was sent while issue was closed.
On 2014/10/19 20:09:42, pavelk wrote:
>
https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecod...
> File src/images/SkImageDecoder_astc.cpp (right):
> 
>
https://codereview.chromium.org/444093002/diff/100001/src/images/SkImageDecod...
> src/images/SkImageDecoder_astc.cpp:162: if
> (!SkTextureCompressor::DecompressBufferFromFormat(
> On 2014/10/17 15:41:22, robertphillips wrote:
> > Ha ha. Given the semantics and the other uses I believe this is missing a
> > "return false;"
> 
> Yes, it most certainly is!

For posterity, I created http://code.google.com/p/skia/issues/detail?id=3037 to
track the bug, and have a fix (as part of a larger change) in
https://codereview.chromium.org/647023006

Powered by Google App Engine
This is Rietveld 408576698