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

Issue 1855733002: change flattenable factory to return sk_sp (Closed)

Created:
4 years, 8 months ago by reed1
Modified:
4 years, 8 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -194 lines) Patch
M experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp View 2 chunks +4 lines, -6 lines 0 comments Download
M gm/dcshader.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M gm/imagefiltersbase.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M gm/imagefiltersgraph.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M include/core/SkFlattenable.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkLayerDrawLooper.h View 1 chunk +1 line, -1 line 0 comments Download
M samplecode/ClockFaceView.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M src/core/SkBitmapProcShader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkBlitter.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M src/core/SkColorFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkColorFilterShader.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkColorMatrixFilterRowMajor255.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkComposeShader.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkLightingShader.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkLocalMatrixImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkLocalMatrixShader.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkMatrixImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkModeColorFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkPathEffect.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/core/SkPictureShader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkReadBuffer.h View 1 2 1 chunk +10 lines, -20 lines 0 comments Download
M src/core/SkReadBuffer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkShader.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/core/SkValidatingReadBuffer.cpp View 3 chunks +2 lines, -4 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/Sk1DPathEffect.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/Sk2DPathEffect.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkArcToPathEffect.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkArithmeticMode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkAvoidXfermode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkBlurDrawLooper.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkColorFilterImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkComposeImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkCornerPathEffect.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkDashPathEffect.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkDiscretePathEffect.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/effects/SkDropShadowImageFilter.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkEmbossMaskFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkImageSource.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkLayerDrawLooper.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkLayerRasterizer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkMergeImageFilter.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M src/effects/SkOffsetImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkPaintImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkPixelXorXfermode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkTableColorFilter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkTableMaskFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkTestImageFilters.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkTileImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/image/SkImageShader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/utils/SkBitmapSourceDeserializer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/LayerRasterizerTest.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/QuickRejectTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/debugger/SkDrawCommand.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/debugger/SkOverdrawMode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855733002/20001
4 years, 8 months ago (2016-04-03 03:19:32 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-03 03:29:23 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855733002/40001
4 years, 8 months ago (2016-04-03 03:37:11 UTC) #7
reed1
4 years, 8 months ago (2016-04-03 03:37:17 UTC) #9
f(malita)
lgtm https://codereview.chromium.org/1855733002/diff/40001/src/effects/SkDisplacementMapEffect.cpp File src/effects/SkDisplacementMapEffect.cpp (right): https://codereview.chromium.org/1855733002/diff/40001/src/effects/SkDisplacementMapEffect.cpp#newcode204 src/effects/SkDisplacementMapEffect.cpp:204: common.getInput(0).get(), common.getInput(1).get(), &common.cropRect())); nit: indentation https://codereview.chromium.org/1855733002/diff/40001/src/effects/SkLumaColorFilter.cpp File src/effects/SkLumaColorFilter.cpp ...
4 years, 8 months ago (2016-04-03 14:53:21 UTC) #11
reed1
https://codereview.chromium.org/1855733002/diff/40001/src/effects/SkDisplacementMapEffect.cpp File src/effects/SkDisplacementMapEffect.cpp (right): https://codereview.chromium.org/1855733002/diff/40001/src/effects/SkDisplacementMapEffect.cpp#newcode204 src/effects/SkDisplacementMapEffect.cpp:204: common.getInput(0).get(), common.getInput(1).get(), &common.cropRect())); On 2016/04/03 14:53:21, f(malita) wrote: > ...
4 years, 8 months ago (2016-04-03 15:58:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855733002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855733002/60001
4 years, 8 months ago (2016-04-03 15:59:56 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/60c9b58b3214b0154c931656e91e39b230e987d8
4 years, 8 months ago (2016-04-03 16:11:18 UTC) #17
scroggo
4 years, 8 months ago (2016-04-04 17:19:09 UTC) #19
Message was sent while issue was closed.
It looks like this is breaking the Android build:

frameworks/base/core/jni/android/graphics/AvoidXfermode.cpp:24:31: error: return
type of out-of-line definition of 'AvoidXfermode::CreateProc' differs from that
in the declaration
SkFlattenable* AvoidXfermode::CreateProc(SkReadBuffer& buffer) {
~~~~~~~~~~~~~~                ^
frameworks/base/core/jni/android/graphics/AvoidXfermode.h:55:5: note: previous
declaration is here
    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(AvoidXfermode)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/skia/include/core/SkFlattenable.h:51:33: note: expanded from macro
'SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS'
    static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&);                      
 \

There was some talk of moving AvoidXfermode back into Skia, which would fix
this, or we can update AvoidXfermode as is. Is anyone already fixing this?

Powered by Google App Engine
This is Rietveld 408576698