|
Update SkFlattenable buffers to be more modular.
This CL is an effort to stage the conversion to named
parameters for all SkFlattenable commands. This particular
stage only does the following two things...
1. Move flattenable buffers from SkFlattenable.h into
their own header.
2. Update and Add new read write methods for better clarity
and convenience.
BUG=
Committed: https://code.google.com/p/skia/source/detail?r=4980
Total comments: 46
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1114 lines, -747 lines) |
Patch |
|
M |
gyp/core.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkAnnotation.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkBitmap.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/core/SkColorFilter.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkDrawLooper.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkFlattenable.h
|
View
|
1
2
|
4 chunks |
+1 line, -203 lines |
0 comments
|
Download
|
|
A |
include/core/SkFlattenableBuffers.h
|
View
|
1
|
1 chunk |
+193 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkImageFilter.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkOrderedReadBuffer.h
|
View
|
1
|
1 chunk |
+84 lines, -27 lines |
0 comments
|
Download
|
|
M |
include/core/SkOrderedWriteBuffer.h
|
View
|
1
2
|
1 chunk |
+59 lines, -33 lines |
0 comments
|
Download
|
|
M |
include/core/SkPaint.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkShape.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/effects/SkRectShape.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/effects/SkTestImageFilters.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/ClockFaceView.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleAll.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleSlides.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleText.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleTextEffects.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkAnnotation.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkBitmap.cpp
|
View
|
|
5 chunks |
+20 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/core/SkBitmapProcShader.cpp
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitter.cpp
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkColorFilter.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkColorTable.cpp
|
View
|
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/core/SkComposeShader.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkData.cpp
|
View
|
1
2
|
4 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/core/SkFlattenable.cpp
|
View
|
1
2
|
3 chunks |
+0 lines, -88 lines |
0 comments
|
Download
|
|
A |
src/core/SkFlattenableBuffers.cpp
|
View
|
1
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkGlyphCache.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkMallocPixelRef.cpp
|
View
|
1
|
2 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/core/SkOrderedReadBuffer.cpp
|
View
|
1
2
|
3 chunks |
+147 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/core/SkOrderedWriteBuffer.cpp
|
View
|
1
2
|
3 chunks |
+172 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/core/SkPaint.cpp
|
View
|
1
2
|
5 chunks |
+98 lines, -59 lines |
0 comments
|
Download
|
|
M |
src/core/SkPathEffect.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkPathHeap.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureFlat.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureFlat.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkPicturePlayback.cpp
|
View
|
1
2
3
|
6 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/core/SkPixelRef.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkShader.cpp
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkXfermode.cpp
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/effects/Sk1DPathEffect.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/Sk2DPathEffect.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkAvoidXfermode.cpp
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurDrawLooper.cpp
|
View
|
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurImageFilter.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurMaskFilter.cpp
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorFilters.cpp
|
View
|
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorMatrix.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorMatrixFilter.cpp
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkCornerPathEffect.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDashPathEffect.cpp
|
View
|
1
2
3
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDiscretePathEffect.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkEmbossMaskFilter.cpp
|
View
|
1
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkGroupShape.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkKernel33MaskFilter.cpp
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLayerDrawLooper.cpp
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLayerRasterizer.cpp
|
View
|
1
|
2 chunks |
+7 lines, -54 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/effects/SkPixelXorXfermode.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkRectShape.cpp
|
View
|
1
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/effects/SkTableColorFilter.cpp
|
View
|
1
2
3
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkTableMaskFilter.cpp
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkTestImageFilters.cpp
|
View
|
1
2
3
|
5 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShader.cpp
|
View
|
1
2
3
|
2 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShaderPriv.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/images/SkFlipPixelRef.cpp
|
View
|
1
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageRef.cpp
|
View
|
1
|
3 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFUtils.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/pipe/SkGPipeRead.cpp
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImageRef_ashmem.cpp
|
View
|
1
|
2 chunks |
+5 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/utils/SkUnitMappers.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/ColorFilterTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5
|