Home
last modified time | relevance | path

Searched refs:SkIPoint (Results 1 – 25 of 158) sorted by relevance

1234567

/external/skia/include/core/
DSkPoint.h40 struct SkIPoint { struct
43 static SkIPoint Make(int32_t x, int32_t y) { in Make() argument
44 SkIPoint pt; in Make()
70 void rotateCW(SkIPoint* dst) const; argument
80 void rotateCCW(SkIPoint* dst) const; argument
94 SkIPoint operator-() const { argument
95 SkIPoint neg; argument
102 void operator+=(const SkIPoint& v) {
108 void operator-=(const SkIPoint& v) {
118 friend bool operator==(const SkIPoint& a, const SkIPoint& b) { argument
[all …]
DSkImageFilter.h25 struct SkIPoint;
45 virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const = 0;
46 virtual SkSpecialImage* get(const Key& key, SkIPoint* offset) const = 0;
47 virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) = 0;
48 virtual void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) = 0;
119 SkBitmap* result, SkIPoint* offset) = 0;
132 SkBitmap* result, SkIPoint* offset) override;
152 SkBitmap* result, SkIPoint* offset) const;
192 SkBitmap* result, SkIPoint* offset) const;
275 SkBitmap* result, SkIPoint* offset) const;
[all …]
/external/skia/tests/
DImageFilterCacheTest.cpp39 SkIPoint offset = SkIPoint::Make(3, 4); in test_find_existing()
42 SkIPoint foundOffset; in test_find_existing()
68 SkIPoint offset = SkIPoint::Make(3, 4); in test_dont_find_if_diff_key()
71 SkIPoint foundOffset; in test_dont_find_if_diff_key()
88 SkIPoint offset = SkIPoint::Make(3, 4); in test_internal_purge()
91 SkIPoint foundOffset; in test_internal_purge()
113 SkIPoint offset = SkIPoint::Make(3, 4); in test_explicit_purging()
117 SkIPoint foundOffset; in test_explicit_purging()
/external/skia/include/effects/
DSkMorphologyImageFilter.h37 SkBitmap* result, SkIPoint* offset) const;
43 SkIPoint* offset) const;
64 SkBitmap* result, SkIPoint* offset) const override;
68 SkBitmap* result, SkIPoint* offset) const override;
93 SkBitmap* result, SkIPoint* offset) const override;
97 SkBitmap* result, SkIPoint* offset) const override;
DSkMatrixConvolutionImageFilter.h59 const SkIPoint& kernelOffset,
73 const SkIPoint& kernelOffset,
81 SkBitmap* result, SkIPoint* loc) const override;
95 SkIPoint fKernelOffset;
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp48 SkIPoint* offset) const { in onFilterImageDeprecated()
50 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
54 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
133 SkIPoint* offset) const { in filterImageGPUDeprecated()
136 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
146 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
DSkComposeImageFilter.cpp29 SkIPoint* offset) const { in onFilterImageDeprecated()
31 SkIPoint innerOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
32 SkIPoint outerOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
DSkBlurMask.h19 SkBlurStyle, SkIPoint *margin = nullptr,
23 SkBlurStyle, SkIPoint *margin = nullptr,
35 SkIPoint* margin = nullptr,
42 SkBlurStyle, SkIPoint* margin = nullptr);
DSkDisplacementMapEffect.cpp60 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
93 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
123 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
217 SkIPoint* offset) const { in onFilterImageDeprecated()
219 SkIPoint colorOffset = SkIPoint::Make(0, 0), displOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
391 SkBitmap* result, SkIPoint* offset) const { in filterImageGPUDeprecated()
393 SkIPoint colorOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
398 SkIPoint displacementOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
DSkBlurImageFilter.cpp74 SkBitmap* dst, SkIPoint* offset) const { in onFilterImageDeprecated()
76 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
203 SkBitmap* result, SkIPoint* offset) const { in filterImageGPUDeprecated()
206 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
DSkColorFilterImageFilter.cpp61 SkIPoint* offset) const { in onFilterImageDeprecated()
63 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
DSkMorphologyImageFilter.cpp62 SkIPoint* offset) const { in filterImageGeneric()
64 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGeneric()
133 SkBitmap* dst, SkIPoint* offset) const { in onFilterImageDeprecated()
140 SkBitmap* dst, SkIPoint* offset) const { in onFilterImageDeprecated()
608 SkIPoint* offset) const { in filterImageGPUGeneric()
610 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUGeneric()
650 SkBitmap* result, SkIPoint* offset) const { in filterImageGPUDeprecated()
656 SkBitmap* result, SkIPoint* offset) const { in filterImageGPUDeprecated()
/external/skia/src/gpu/batches/
DGrCopySurfaceBatch.h26 const SkIPoint& dstPoint,
28 SkIPoint* clippedDstPoint);
31 const SkIPoint& dstPoint);
52 const SkIPoint& dstPoint) in GrCopySurfaceBatch()
73 SkIPoint fDstPoint;
DGrCopySurfaceBatch.cpp15 const SkIPoint& dstPoint, in ClipSrcRectAndDstPoint()
17 SkIPoint* clippedDstPoint) { in ClipSrcRectAndDstPoint()
63 const SkIPoint& dstPoint) { in Create()
68 SkIPoint clippedDstPoint; in Create()
/external/skia/src/core/
DSkImageFilter.cpp218 SkBitmap* result, SkIPoint* offset) const { in filterImageDeprecated()
247 SkBitmap* result, SkIPoint* offset) const { in filterInputDeprecated()
306 SkBitmap*, SkIPoint*) const { in onFilterImageDeprecated()
315 SkBitmap* result, SkIPoint* offset) const { in filterImageGPUDeprecated()
319 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated()
393 SkIPoint* srcOffset, SkIRect* bounds, in applyCropRectDeprecated()
416 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRectDeprecated()
484 SkBitmap* result, SkIPoint* offset) const { in filterInputGPUDeprecated()
528 Value(const Key& key, const SkBitmap& bitmap, const SkIPoint& offset) in Value()
530 Value(const Key& key, SkSpecialImage* image, const SkIPoint& offset) in Value()
[all …]
/external/skia/include/gpu/
DGrXferProcessor.h67 DstTexture(GrTexture* texture, const SkIPoint& offset) in DstTexture()
78 const SkIPoint& offset() const { return fOffset; } in offset()
80 void setOffset(const SkIPoint& offset) { fOffset = offset; } in setOffset()
92 SkIPoint fOffset;
189 const SkIPoint& dstTextureOffset() const { in dstTextureOffset()
280 SkIPoint fDstTextureOffset;
/external/skia/bench/
DBenchmark.cpp32 SkIPoint Benchmark::getSize() { in getSize()
73 SkIPoint Benchmark::onGetSize() { in onGetSize()
74 return SkIPoint::Make(640, 480); in onGetSize()
DGMBench.cpp33 SkIPoint GMBench::onGetSize() { in onGetSize()
35 return SkIPoint::Make(size.fWidth, size.fHeight); in onGetSize()
DBitmapScaleBench.cpp51 SkIPoint onGetSize() override { in onGetSize()
52 return SkIPoint::Make( fOutputSize, fOutputSize ); in onGetSize()
133 SkIPoint onGetSize() override { return{ 100, 100 }; } in onGetSize()
DChromeBench.cpp476 virtual SkIPoint onGetSize() { return SkIPoint::Make(W, H); } in onGetSize()
/external/skia/src/gpu/
DGrStencilAttachment.h35 const SkIPoint clipSpaceToStencilOffset) { in setLastClip()
44 const SkIPoint clipSpaceToStencilOffset) const { in mustRenderClip()
76 SkIPoint fLastClipSpaceOffset;
DGrLayerHoister.cpp246 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in DrawLayersToAtlas()
289 SkIPoint offset = SkIPoint::Make(0, 0); in FilterLayer()
291 const SkIPoint filterOffset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in FilterLayer()
330 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in DrawLayers()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h27 const SkIPoint& kernelOffset, in Create()
39 const SkIPoint& kernelOffset,
63 const SkIPoint& kernelOffset,
/external/skia/src/utils/
DSkCanvasStack.h20 void pushCanvas(SkCanvas* canvas, const SkIPoint& origin);
44 SkIPoint origin;
/external/skia/gm/
Dimagefiltersgraph.cpp43 SkBitmap* dst, SkIPoint* offset) const override { in onFilterImageDeprecated()
45 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated()
201 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in onDraw()

1234567