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

Issue 302783002: Initial work to get ETC1 data up to the GPU (Closed)

Created:
6 years, 7 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 : Fix some code clarity issues #

Total comments: 14

Patch Set 3 : Add missing break #

Patch Set 4 : Cleanup #

Patch Set 5 : Fix incorrect size #

Patch Set 6 : Fix assert for clang #

Patch Set 7 : Fix another assert on clang. #

Patch Set 8 : Change everything to work with new API #

Patch Set 9 : Small fix from merge #

Patch Set 10 : Fix GCC warning #

Total comments: 8

Patch Set 11 : Move createCompressedTexture into createTexture #

Total comments: 2

Patch Set 12 : Add #define to not always compile in ETC1 support #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -22 lines) Patch
M gm/etc1bitmap.cpp View 1 2 3 2 chunks +14 lines, -5 lines 0 comments Download
M gyp/common_conditions.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gpu.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M include/gpu/GrTypes.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -3 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +25 lines, -10 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +60 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +109 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
krajcevski
6 years, 7 months ago (2014-05-27 21:05:46 UTC) #1
robertphillips
https://codereview.chromium.org/302783002/diff/20001/gm/etc1bitmap.cpp File gm/etc1bitmap.cpp (right): https://codereview.chromium.org/302783002/diff/20001/gm/etc1bitmap.cpp#newcode41 gm/etc1bitmap.cpp:41: SkData *fileData = SkData::NewFromFileName(filename.c_str()); NULL == fileData ? https://codereview.chromium.org/302783002/diff/20001/include/gpu/GrTypes.h ...
6 years, 7 months ago (2014-05-27 22:01:49 UTC) #2
krajcevski
https://codereview.chromium.org/302783002/diff/20001/gm/etc1bitmap.cpp File gm/etc1bitmap.cpp (right): https://codereview.chromium.org/302783002/diff/20001/gm/etc1bitmap.cpp#newcode41 gm/etc1bitmap.cpp:41: SkData *fileData = SkData::NewFromFileName(filename.c_str()); On 2014/05/27 22:01:50, robertphillips wrote: ...
6 years, 7 months ago (2014-05-27 22:19:28 UTC) #3
krajcevski
6 years, 7 months ago (2014-05-27 22:35:28 UTC) #4
robertphillips
What do you think about making the compressed types in GrCompressedFormat new values in GrPixelConfig? ...
6 years, 6 months ago (2014-05-28 13:51:39 UTC) #5
krajcevski
I've updated the CL to use the new API.
6 years, 6 months ago (2014-05-30 14:43:47 UTC) #6
robertphillips
lgtm + a nit & a few questions https://codereview.chromium.org/302783002/diff/160002/include/gpu/GrTypes.h File include/gpu/GrTypes.h (right): https://codereview.chromium.org/302783002/diff/160002/include/gpu/GrTypes.h#newcode658 include/gpu/GrTypes.h:658: // ...
6 years, 6 months ago (2014-05-30 15:00:22 UTC) #7
bsalomon
https://codereview.chromium.org/302783002/diff/160002/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/302783002/diff/160002/src/gpu/GrGpu.h#newcode107 src/gpu/GrGpu.h:107: GrTexture* createCompressedTexture(const GrTextureDesc& desc, const void* srcData); I'm wondering ...
6 years, 6 months ago (2014-05-30 15:16:58 UTC) #8
krajcevski
https://codereview.chromium.org/302783002/diff/160002/include/gpu/GrTypes.h File include/gpu/GrTypes.h (right): https://codereview.chromium.org/302783002/diff/160002/include/gpu/GrTypes.h#newcode658 include/gpu/GrTypes.h:658: // Unknown pixel config... On 2014/05/30 15:00:22, robertphillips wrote: ...
6 years, 6 months ago (2014-05-30 16:21:50 UTC) #9
bsalomon
lgtm https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp#newcode125 src/gpu/GrGpu.cpp:125: SkASSERT((desc.fFlags & kRenderTarget_GrTextureFlagBit) == 0); Since GrContext:createTexture() can ...
6 years, 6 months ago (2014-05-30 17:59:57 UTC) #10
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-05-30 18:35:00 UTC) #11
krajcevski
https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp (right): https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp#newcode125 src/gpu/GrGpu.cpp:125: SkASSERT((desc.fFlags & kRenderTarget_GrTextureFlagBit) == 0); On 2014/05/30 17:59:57, bsalomon ...
6 years, 6 months ago (2014-05-30 18:35:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/302783002/190001
6 years, 6 months ago (2014-05-30 18:35:41 UTC) #13
commit-bot: I haz the power
Change committed as 15001
6 years, 6 months ago (2014-05-30 18:41:54 UTC) #14
bsalomon
On 2014/05/30 18:35:20, krajcevski wrote: > https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp > File src/gpu/GrGpu.cpp (right): > > https://codereview.chromium.org/302783002/diff/190001/src/gpu/GrGpu.cpp#newcode125 > ...
6 years, 6 months ago (2014-05-30 18:48:50 UTC) #15
epoger
See http://skbug.com/2631 ('ETC1 stuff broke our Chrome Canary build')
6 years, 6 months ago (2014-05-30 19:58:24 UTC) #16
krajcevski
A revert of this CL has been created in https://codereview.chromium.org/303273008/ by krajcevski@google.com. The reason for ...
6 years, 6 months ago (2014-05-30 20:32:39 UTC) #17
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 6 months ago (2014-06-02 14:32:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/302783002/210001
6 years, 6 months ago (2014-06-02 14:33:16 UTC) #19
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 14:38:19 UTC) #20
Message was sent while issue was closed.
Change committed as 9c0e629c64c0fa93ac9bf5c2eaa1821370a6fbe5

Powered by Google App Engine
This is Rietveld 408576698