Searched refs:clipBounds (Results 1 - 25 of 109) sorted by relevance

12345

/external/skqp/src/gpu/
H A DGrPathRenderingRenderTargetContext.cpp21 const SkIRect& clipBounds) {
34 clipBounds);
41 const SkIRect& clipBounds) {
55 this->surfaceProps(), text, byteLength, pos, scalarsPerPosition, offset, clipBounds);
63 const SkIRect& clipBounds) {
77 y, filter, clipBounds);
18 drawText(const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
37 drawPosText(const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
58 drawTextBlob(const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* filter, const SkIRect& clipBounds) argument
H A DGrTessellator.h46 int PathToVertices(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
49 int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
H A DGrPathRenderingRenderTargetContext.h16 size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) override;
19 const SkPoint& offset, const SkIRect& clipBounds) override;
23 SkDrawFilter*, const SkIRect& clipBounds) override;
H A DGrBlurUtils.cpp24 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) { argument
25 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect);
58 const SkIRect& clipBounds,
62 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM,
74 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) {
153 SkIRect clipBounds; local
156 &clipBounds);
194 clipBounds,
202 if (clip_bounds_quick_reject(clipBounds, finalIRec
52 sw_draw_with_mask_filter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clipData, const SkMatrix& viewMatrix, const SkPath& devPath, const SkMaskFilter* filter, const SkIRect& clipBounds, GrPaint&& paint, SkStrokeRec::InitStyle fillOrHairline) argument
258 drawPathWithMaskFilter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkPath& origPath, const SkPaint& paint, const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) argument
[all...]
/external/skia/src/gpu/
H A DGrTessellator.h46 int PathToVertices(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
49 int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
H A DGrBlurUtils.cpp24 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) { argument
25 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect);
58 const SkIRect& clipBounds,
62 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM,
74 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) {
153 SkIRect clipBounds; local
156 &clipBounds);
194 clipBounds,
202 if (clip_bounds_quick_reject(clipBounds, finalIRec
52 sw_draw_with_mask_filter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clipData, const SkMatrix& viewMatrix, const SkPath& devPath, const SkMaskFilter* filter, const SkIRect& clipBounds, GrPaint&& paint, SkStrokeRec::InitStyle fillOrHairline) argument
258 drawPathWithMaskFilter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkPath& origPath, const SkPaint& paint, const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) argument
[all...]
H A DGrBlurUtils.h41 const SkIRect& clipBounds,
/external/skia/experimental/sksg/effects/
H A DSkSGClipEffect.cpp42 const auto clipBounds = fClipNode->revalidate(ic, ctm); local
47 return childBounds.intersect(clipBounds) ? childBounds : SkRect::MakeEmpty();
/external/skqp/experimental/sksg/effects/
H A DSkSGClipEffect.cpp42 const auto clipBounds = fClipNode->revalidate(ic, ctm); local
47 return childBounds.intersect(clipBounds) ? childBounds : SkRect::MakeEmpty();
/external/skia/src/core/
H A DSkImageFilterCache.h20 const SkIRect& clipBounds, uint32_t srcGenID, const SkIRect& srcSubset)
23 , fClipBounds(clipBounds)
49 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to
19 SkImageFilterCacheKey(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID, const SkIRect& srcSubset) argument
H A DSkScan_DAAPath.cpp153 void gen_alpha_deltas(const SkPath& path, const SkIRect& clipBounds, Deltas& result, argument
158 int count = builder.build_edges(path, &clipBounds, 0, pathContainedInClip,
268 if (iy >= clipBounds.fTop && iy < clipBounds.fBottom) {
308 iy >= clipBounds.fTop && iy < clipBounds.fBottom) {
319 const SkIRect& clipBounds, bool forceRLE, SkDAARecord* record) {
320 bool containedInClip = clipBounds.contains(ir);
328 clippedIR.intersect(clipBounds);
332 if (!isInverse && TryBlitFatAntiRect(blitter, path, clipBounds)) {
318 DAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir, const SkIRect& clipBounds, bool forceRLE, SkDAARecord* record) argument
[all...]
H A DSkMaskFilterBase.h101 const SkIRect& clipBounds,
209 const SkIRect& clipBounds,
215 const SkIRect& clipBounds,
H A DSkScan.cpp33 const SkIRect& clipBounds = clip->getBounds(); local
35 if (clipBounds.contains(r)) {
39 if (rr.intersect(clipBounds)) {
H A DSkScan_AntiPath.cpp42 const SkIRect& clipBounds, bool isInverse);
75 const SkIRect& clipBounds, bool isInverse) {
82 sectBounds = clipBounds;
84 if (!sectBounds.intersect(ir, clipBounds)) {
105 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds,
151 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds, argument
153 : BaseSuperBlitter(realBlitter, ir, clipBounds, isInverse)
436 const SkIRect& clipBounds, bool isInverse)
437 : BaseSuperBlitter(realBlitter, ir, clipBounds, isInverse)
448 if (!fClipRect.intersect(clipBounds)) {
74 BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const SkIRect& clipBounds, bool isInverse) argument
[all...]
/external/skqp/src/core/
H A DSkImageFilterCache.h20 const SkIRect& clipBounds, uint32_t srcGenID, const SkIRect& srcSubset)
23 , fClipBounds(clipBounds)
49 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to
19 SkImageFilterCacheKey(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID, const SkIRect& srcSubset) argument
H A DSkScan_DAAPath.cpp153 void gen_alpha_deltas(const SkPath& path, const SkIRect& clipBounds, Deltas& result, argument
158 int count = builder.build_edges(path, &clipBounds, 0, pathContainedInClip,
268 if (iy >= clipBounds.fTop && iy < clipBounds.fBottom) {
308 iy >= clipBounds.fTop && iy < clipBounds.fBottom) {
322 const SkIRect& clipBounds, bool forceRLE) {
323 bool containedInClip = clipBounds.contains(ir);
330 clippedIR.intersect(clipBounds);
334 if (!isInverse && TryBlitFatAntiRect(blitter, path, clipBounds)) {
321 DAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir, const SkIRect& clipBounds, bool forceRLE) argument
[all...]
H A DSkMaskFilterBase.h101 const SkIRect& clipBounds,
209 const SkIRect& clipBounds,
215 const SkIRect& clipBounds,
H A DSkScan.cpp33 const SkIRect& clipBounds = clip->getBounds(); local
35 if (clipBounds.contains(r)) {
39 if (rr.intersect(clipBounds)) {
H A DSkScan_AntiPath.cpp42 const SkIRect& clipBounds, bool isInverse);
75 const SkIRect& clipBounds, bool isInverse) {
82 sectBounds = clipBounds;
84 if (!sectBounds.intersect(ir, clipBounds)) {
105 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds,
151 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds, argument
153 : BaseSuperBlitter(realBlitter, ir, clipBounds, isInverse)
436 const SkIRect& clipBounds, bool isInverse)
437 : BaseSuperBlitter(realBlitter, ir, clipBounds, isInverse)
448 if (!fClipRect.intersect(clipBounds)) {
74 BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const SkIRect& clipBounds, bool isInverse) argument
[all...]
/external/skia/src/effects/
H A DSkComposeImageFilter.cpp41 innerClipBounds = this->getInput(0)->filterBounds(ctx.clipBounds(), ctx.ctm());
51 SkIRect clipBounds = ctx.clipBounds(); local
52 clipBounds.offset(-innerOffset.x(), -innerOffset.y());
53 Context outerContext(outerMatrix, clipBounds, ctx.cache(), ctx.outputProperties());
/external/skqp/src/effects/
H A DSkComposeImageFilter.cpp41 innerClipBounds = this->getInput(0)->filterBounds(ctx.clipBounds(), ctx.ctm());
51 SkIRect clipBounds = ctx.clipBounds(); local
52 clipBounds.offset(-innerOffset.x(), -innerOffset.y());
53 Context outerContext(outerMatrix, clipBounds, ctx.cache(), ctx.outputProperties());
/external/skqp/src/gpu/text/
H A DGrStencilAndCoverTextContext.h36 size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds);
40 const SkPoint& offset, const SkIRect& clipBounds);
44 SkDrawFilter*, const SkIRect& clipBounds);
64 const SkIRect& clipBounds);
79 const SkSurfaceProps&, SkScalar x, SkScalar y, const SkIRect& clipBounds,
H A DGrTextUtils.h55 const SkIRect& clipBounds) = 0;
135 const SkIRect& clipBounds);
142 const SkIRect& clipBounds);
/external/skia/tests/
H A DPictureTest.cpp373 SkIRect clipBounds; local
380 clipBounds = canvas->getDeviceClipBounds();
381 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft);
382 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop);
383 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom);
384 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight);
390 clipBounds = canvas->getDeviceClipBounds();
391 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft);
392 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop);
393 REPORTER_ASSERT(reporter, 8 == clipBounds
[all...]
/external/skqp/tests/
H A DPictureTest.cpp373 SkIRect clipBounds; local
380 clipBounds = canvas->getDeviceClipBounds();
381 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft);
382 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop);
383 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom);
384 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight);
390 clipBounds = canvas->getDeviceClipBounds();
391 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft);
392 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop);
393 REPORTER_ASSERT(reporter, 8 == clipBounds
[all...]

Completed in 573 milliseconds

12345