Home
last modified time | relevance | path

Searched refs:SkIPoint (Results 1 – 25 of 170) 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.h23 struct SkIPoint;
132 sk_sp<SkSpecialImage> filterImage(SkSpecialImage* src, const Context&, SkIPoint* offset) const;
306 SkIPoint* offset) const = 0;
343 SkIPoint* offset) const;
378 sk_sp<SkSpecialImage> applyCropRect(const Context&, SkSpecialImage* src, SkIPoint* srcOffset,
/external/skia/src/gpu/
DGrXferProcessor.h66 DstTexture(GrTexture* texture, const SkIPoint& offset) in DstTexture()
67 : fTexture(SkSafeRef(texture)), fOffset(texture ? offset : SkIPoint{0, 0}) {} in DstTexture()
80 const SkIPoint& offset() const { return fOffset; } in offset()
82 void setOffset(const SkIPoint& offset) { fOffset = offset; } in setOffset()
96 SkIPoint fOffset;
175 const SkIPoint& dstTextureOffset() const { in dstTextureOffset()
262 SkIPoint fDstTextureOffset;
DGrSurfaceContext.h25 struct SkIPoint;
55 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy()
62 SkIPoint::Make(0, 0)); in copy()
138 const SkIPoint& dstPoint) = 0;
DGrTextureOpList.h20 struct SkIPoint;
57 const SkIPoint& dstPoint);
/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()
118 SkIPoint foundOffset; in test_explicit_purging()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h26 const SkIPoint& dstPoint,
28 SkIPoint* clippedDstPoint);
31 const SkIPoint& dstPoint);
48 const SkIPoint& dstPoint) in GrCopySurfaceOp()
73 SkIPoint fDstPoint;
DGrCopySurfaceOp.cpp14 const SkIPoint& dstPoint, in ClipSrcRectAndDstPoint()
16 SkIPoint* clippedDstPoint) { in ClipSrcRectAndDstPoint()
62 const SkIPoint& dstPoint) { in Make()
72 SkIPoint clippedDstPoint; in Make()
/external/skia/src/effects/
DSkBlurMask.h19 SkBlurStyle, SkIPoint *margin = nullptr,
23 SkBlurStyle, SkIPoint *margin = nullptr,
35 SkIPoint* margin = nullptr,
42 SkBlurStyle, SkIPoint* margin = nullptr);
DSkComposeImageFilter.cpp35 SkIPoint* offset) const { in onFilterImage()
42 SkIPoint innerOffset = SkIPoint::Make(0, 0); in onFilterImage()
54 SkIPoint outerOffset = SkIPoint::Make(0, 0); in onFilterImage()
DSkXfermodeImageFilter.cpp40 SkIPoint* offset) const override;
45 const SkIPoint& backgroundOffset,
47 const SkIPoint& foregroundOffset,
125 SkIPoint* offset) const { in onFilterImage()
126 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
129 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
229 const SkIPoint& backgroundOffset, in filterImageGPU()
231 const SkIPoint& foregroundOffset, in filterImageGPU()
DSkArithmeticImageFilter.cpp43 SkIPoint* offset) const override;
48 const SkIPoint& backgroundOffset,
50 const SkIPoint& foregroundOffset,
143 SkIPoint* offset) const { in onFilterImage()
144 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
147 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
330 const SkIPoint& backgroundOffset, in filterImageGPU()
333 const SkIPoint& foregroundOffset, in filterImageGPU()
DSkAlphaThresholdFilter.cpp38 SkIPoint* offset) const override;
134 SkIPoint* offset) const { in onFilterImage()
135 SkIPoint inputOffset = SkIPoint::Make(0, 0); in onFilterImage()
225 SkIPoint srcOffset = { bounds.fLeft - inputOffset.fX, bounds.fTop - inputOffset.fY }; in onFilterImage()
DSkColorFilterImageFilter.cpp62 SkIPoint* offset) const { in onFilterImage()
63 SkIPoint inputOffset = SkIPoint::Make(0, 0); in onFilterImage()
/external/skia/gm/
Dsimple_magnification.cpp85 void draw(SkCanvas* canvas, sk_sp<SkImage> image, const SkIPoint& offset, int inset) { in draw()
113 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, kPad), 1); in onDraw()
114 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, kPad), 1); in onDraw()
115 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, bigOffset), 7); in onDraw()
116 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, bigOffset), 7); in onDraw()
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h61 const SkIPoint& kernelOffset,
75 const SkIPoint& kernelOffset,
83 SkIPoint* offset) const override;
92 SkIPoint fKernelOffset;
/external/skia/bench/
DBenchmark.cpp32 SkIPoint Benchmark::getSize() { in getSize()
73 SkIPoint Benchmark::onGetSize() { in onGetSize()
74 return SkIPoint::Make(640, 480); 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()
DGMBench.cpp34 SkIPoint GMBench::onGetSize() { in onGetSize()
36 return SkIPoint::Make(size.fWidth, size.fHeight); in onGetSize()
/external/skia/src/core/
DSkImageFilterCache.h14 struct SkIPoint;
56 virtual sk_sp<SkSpecialImage> get(const SkImageFilterCacheKey& key, SkIPoint* offset) const = 0;
58 const SkIPoint& offset) = 0;
DSkImageFilterCache.cpp40 Value(const Key& key, SkSpecialImage* image, const SkIPoint& offset) in Value()
45 SkIPoint fOffset;
55 sk_sp<SkSpecialImage> get(const Key& key, SkIPoint* offset) const override { in get()
68 void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) override { in set()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h27 const SkIPoint& kernelOffset, in Make()
41 const SkIPoint& kernelOffset,
66 const SkIPoint& kernelOffset,
/external/skia/src/gpu/vk/
DGrVkGpu.h77 const SkIPoint& dstPoint) override;
221 const SkIPoint& dstPoint);
228 const SkIPoint& dstPoint);
233 const SkIPoint& dstPoint);
249 const SkIPoint& dstPoint);
DGrVkCopyManager.h20 struct SkIPoint;
33 const SkIPoint& dstPoint);
/external/skia/src/utils/
DSkCanvasStack.h26 void pushCanvas(std::unique_ptr<SkCanvas>, const SkIPoint& origin);
50 SkIPoint origin;

1234567