Home
last modified time | relevance | path

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

123456

/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.h21 struct SkIPoint;
62 virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const = 0;
63 virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) = 0;
91 SkBitmap* result, SkIPoint* offset) = 0;
109 SkBitmap* result, SkIPoint* offset) const;
137 SkBitmap* result, SkIPoint* offset) const;
214 SkBitmap* result, SkIPoint* offset) const;
288 SkBitmap* result, SkIPoint* offset) const;
312 bool applyCropRect(const Context&, const SkBitmap& src, const SkIPoint& srcOffset,
323 bool applyCropRect(const Context&, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset,
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp49 SkIPoint* offset) const { in onFilterImage()
53 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
58 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
121 SkIPoint* offset) const { in filterImageGPU()
123 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in filterImageGPU()
136 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in filterImageGPU()
DSkComposeImageFilter.cpp29 SkIPoint* offset) const { in onFilterImage()
34 SkIPoint innerOffset = SkIPoint::Make(0, 0); in onFilterImage()
35 SkIPoint outerOffset = SkIPoint::Make(0, 0); in onFilterImage()
DSkBlurMask.h19 SkIPoint *margin = NULL,
23 SkIPoint *margin = NULL,
35 SkIPoint* margin = NULL, bool force_quality=false);
40 SkIPoint* margin = NULL);
DSkDisplacementMapEffect.cpp55 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
88 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
118 SkBitmap* displ, const SkIPoint& offset, in computeDisplacement()
213 SkIPoint* offset) const { in onFilterImage()
217 SkIPoint colorOffset = SkIPoint::Make(0, 0), displOffset = SkIPoint::Make(0, 0); in onFilterImage()
394 SkBitmap* result, SkIPoint* offset) const { in filterImageGPU()
396 SkIPoint colorOffset = SkIPoint::Make(0, 0); in filterImageGPU()
402 SkIPoint displacementOffset = SkIPoint::Make(0, 0); in filterImageGPU()
DSkMergeImageFilter.cpp60 SkBitmap* result, SkIPoint* offset) const { in onFilterImage()
66 if (!this->applyCropRect(ctx, src, SkIPoint::Make(0, 0), &bounds)) { in onFilterImage()
84 SkIPoint pos = SkIPoint::Make(0, 0); in onFilterImage()
DSkColorFilterImageFilter.cpp61 SkIPoint* offset) const { in onFilterImage()
63 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage()
DSkBlurImageFilter.cpp149 SkBitmap* dst, SkIPoint* offset) const { in onFilterImage()
151 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage()
258 SkBitmap* result, SkIPoint* offset) const { in filterImageGPU()
261 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU()
/external/skia/include/effects/
DSkMorphologyImageFilter.h36 SkBitmap* result, SkIPoint* offset) const;
42 SkIPoint* offset) const;
64 SkBitmap* result, SkIPoint* offset) const override;
67 SkBitmap* result, SkIPoint* offset) const override;
92 SkBitmap* result, SkIPoint* offset) const override;
95 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/experimental/PdfViewer/
DSkTracker.h88 const SkIPoint* expectedTouched() { in expectedTouched()
99 const SkIPoint* expectedUntouched() { in expectedUntouched()
111 fExpectedTouched[fCntExpectedTouched] = SkIPoint::Make(x, y); in addExpectTouch()
124 fExpectedUntouched[fCntExpectedUntouched] = SkIPoint::Make(x, y); in addExpectUntouch()
216 SkIPoint fExpectedTouched[MAX_TRACKING_POINTS];
220 SkIPoint fExpectedUntouched[MAX_TRACKING_POINTS];
/external/skia/include/gpu/
DGrTexture.h84 GrDeviceCoordTexture(GrTexture* texture, const SkIPoint& offset) in GrDeviceCoordTexture()
95 const SkIPoint& offset() const { return fOffset; } in offset()
97 void setOffset(const SkIPoint& offset) { fOffset = offset; } in setOffset()
109 SkIPoint fOffset;
/external/skia/src/core/
DSkImageFilter.cpp174 SkBitmap* result, SkIPoint* offset) const { in filterImage()
227 SkBitmap*, SkIPoint*) const { in onFilterImage()
236 SkBitmap* result, SkIPoint* offset) const { in filterImageGPU()
240 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU()
290 const SkIPoint& srcOffset, SkIRect* bounds) const { in applyCropRect()
310 SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const { in applyCropRect()
337 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRect()
391 SkBitmap* result, SkIPoint* offset) const { in getInputResultGPU()
433 Value(const Key& key, const SkBitmap& bitmap, const SkIPoint& offset) in Value()
437 SkIPoint fOffset;
[all …]
/external/skia/src/utils/
DSkCullPoints.cpp10 static bool cross_product_is_neg(const SkIPoint& v, int dx, int dy) { in cross_product_is_neg()
34 SkIPoint vec; in sect_test()
35 const SkIPoint* rAsQuad = fAsQuad; in sect_test()
47 static void toQuad(const SkIRect& r, SkIPoint quad[4]) { in toQuad()
78 SkCullPoints::LineToResult SkCullPoints::lineTo(int x, int y, SkIPoint line[]) { in lineTo()
127 SkIPoint pts[2]; in lineTo()
DSkCanvasStack.h20 void pushCanvas(SkCanvas* canvas, const SkIPoint& origin);
44 SkIPoint origin;
/external/skia/include/utils/
DSkCullPoints.h33 LineToResult lineTo(int x, int y, SkIPoint pts[2]);
37 SkIPoint fAsQuad[4]; // cache of fR as 4 points
38 SkIPoint fPrevPt; // private state
/external/skia/bench/
DBenchmark.cpp32 SkIPoint Benchmark::getSize() { in getSize()
65 SkIPoint Benchmark::onGetSize() { in onGetSize()
66 return SkIPoint::Make(640, 480); in onGetSize()
DGMBench.cpp33 SkIPoint GMBench::onGetSize() { in onGetSize()
35 return SkIPoint::Make(size.fWidth, size.fHeight); in onGetSize()
DRecordingBench.cpp26 SkIPoint RecordingBench::onGetSize() { in onGetSize()
27 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
/external/skia/src/gpu/
DGrStencilAttachment.h35 const SkIPoint clipSpaceToStencilOffset) { in setLastClip()
44 const SkIPoint clipSpaceToStencilOffset) const { in mustRenderClip()
76 SkIPoint fLastClipSpaceOffset;
DGrLayerHoister.cpp243 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in DrawLayersToAtlas()
298 SkIPoint offset = SkIPoint::Make(0, 0); in FilterLayer()
300 const SkIPoint filterOffset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in FilterLayer()
332 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()
46 const SkIPoint& kernelOffset,
76 const SkIPoint& kernelOffset,
/external/skia/samplecode/
DSampleCull.cpp54 static SkIPoint* getpts(const SkPath& path, int* count) { in getpts()
57 SkIPoint* array; in getpts()
74 array = new SkIPoint[n]; in getpts()
187 SkIPoint* fPoints;
/external/skia/gm/
Dmatrixconvolution.cpp50 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw()
88 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw()

123456