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

Issue 203993002: hide Config8888 entirely (Closed)

Created:
6 years, 9 months ago by reed1
Modified:
6 years, 9 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

hide Config8888 entirely BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=13865

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -612 lines) Patch
M include/core/SkCanvas.h View 3 chunks +8 lines, -0 lines 0 comments Download
M include/core/SkColorPriv.h View 1 4 chunks +138 lines, -2 lines 0 comments Download
M include/core/SkDevice.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 2 1 chunk +14 lines, -34 lines 0 comments Download
M src/core/SkConfig8888.h View 1 2 1 chunk +17 lines, -65 lines 0 comments Download
M src/core/SkConfig8888.cpp View 1 2 1 chunk +87 lines, -249 lines 0 comments Download
M src/core/SkDevice.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 4 chunks +40 lines, -73 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 1 chunk +16 lines, -5 lines 0 comments Download
M tests/DeferredCanvasTest.cpp View 1 7 chunks +6 lines, -21 lines 0 comments Download
M tests/WritePixelsTest.cpp View 1 2 3 9 chunks +96 lines, -117 lines 0 comments Download
M tools/sk_tool_utils.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M tools/sk_tool_utils.cpp View 1 1 chunk +0 lines, -31 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
reed1
have not looked at tests or benches yet
6 years, 9 months ago (2014-03-18 21:22:28 UTC) #1
bsalomon
https://codereview.chromium.org/203993002/diff/1/include/core/SkColorPriv.h File include/core/SkColorPriv.h (right): https://codereview.chromium.org/203993002/diff/1/include/core/SkColorPriv.h#newcode21 include/core/SkColorPriv.h:21: #define SkASSERT_IS_BYTE(x) SkASSERT(0 == ((x) & 0xFF)) Isn't this ...
6 years, 9 months ago (2014-03-19 12:36:48 UTC) #2
reed1
https://codereview.chromium.org/203993002/diff/1/include/core/SkColorPriv.h File include/core/SkColorPriv.h (right): https://codereview.chromium.org/203993002/diff/1/include/core/SkColorPriv.h#newcode21 include/core/SkColorPriv.h:21: #define SkASSERT_IS_BYTE(x) SkASSERT(0 == ((x) & 0xFF)) On 2014/03/19 ...
6 years, 9 months ago (2014-03-19 17:59:57 UTC) #3
reed1
ptal
6 years, 9 months ago (2014-03-19 19:28:41 UTC) #4
bsalomon
lgtm w/ q about double checkPixel. https://codereview.chromium.org/203993002/diff/40001/tests/WritePixelsTest.cpp File tests/WritePixelsTest.cpp (right): https://codereview.chromium.org/203993002/diff/40001/tests/WritePixelsTest.cpp#newcode236 tests/WritePixelsTest.cpp:236: check = checkPixel(bmpPMColor, ...
6 years, 9 months ago (2014-03-19 19:48:28 UTC) #5
reed1
https://codereview.chromium.org/203993002/diff/40001/tests/WritePixelsTest.cpp File tests/WritePixelsTest.cpp (right): https://codereview.chromium.org/203993002/diff/40001/tests/WritePixelsTest.cpp#newcode236 tests/WritePixelsTest.cpp:236: check = checkPixel(bmpPMColor, canvasPixel, mul); On 2014/03/19 19:48:28, bsalomon ...
6 years, 9 months ago (2014-03-19 20:23:18 UTC) #6
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-19 20:25:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/203993002/60001
6 years, 9 months ago (2014-03-19 20:25:14 UTC) #8
commit-bot: I haz the power
Change committed as 13865
6 years, 9 months ago (2014-03-19 21:20:40 UTC) #9
jcgregorio
6 years, 9 months ago (2014-03-20 03:32:42 UTC) #10
Message was sent while issue was closed.
On 2014/03/19 21:20:40, I haz the power (commit-bot) wrote:
> Change committed as 13865

This change breaks the build, in particular when compiling chrome:

../../third_party/skia/src/core/SkBitmapDevice.cpp: In member function ‘virtual
bool SkBitmapDevice::onReadPixels(const SkBitmap&, int, int,
 SkCanvas::Config8888)’:
../../third_party/skia/src/core/SkBitmapDevice.cpp:199:78: error:
‘SkCopyBitmapToConfig8888’ was not declared in this scope

See:
http://108.170.217.252:10115/builders/Canary-Chrome-Win7-Ninja-x86-SharedLib/...

Unfortunately 5 subsequent CLs landed before I could close the tree, so I'm not
even sure a revert would cleanly apply at this point.

Powered by Google App Engine
This is Rietveld 408576698