Searched defs:clipBounds (Results 1 - 22 of 22) sorted by relevance

/external/skia/src/core/
H A DSkRasterizer.cpp16 const SkIRect* clipBounds, SkMaskFilter* filter,
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
30 storage = clipBounds->makeOutset(margin.fX, margin.fY);
31 clipBounds = &storage;
34 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode);
40 const SkIRect* clipBounds,
45 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode,
15 rasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMaskFilter* filter, SkMask* mask, SkMask::CreateMode mode) const argument
39 onRasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
H A DSkScan.cpp23 const SkIRect& clipBounds = clip->getBounds(); local
25 if (clipBounds.contains(r)) {
29 if (rr.intersect(clipBounds)) {
H A DSkMultiPictureDraw.cpp126 SkRect clipBounds; local
127 if (!data.fCanvas->getClipBounds(&clipBounds)) {
142 clipBounds,
161 SkRect clipBounds; local
162 if (!canvas->getClipBounds(&clipBounds)) {
176 clipBounds, &needRendering, &recycled,
H A DSkMaskFilter.cpp296 const SkIRect& clipBounds, NinePatch*) const {
302 const SkIRect& clipBounds, NinePatch*) const {
312 const SkIRect& clipBounds,
295 filterRRectToNine(const SkRRect&, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument
301 filterRectsToNine(const SkRect[], int count, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument
311 canFilterMaskGPU(const SkRect& devBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
H A DSkPicture.cpp269 SkRect clipBounds = { 0, 0, 0, 0 }; local
270 (void)canvas->getClipBounds(&clipBounds);
271 const bool useBBH = !clipBounds.contains(this->cullRect());
H A DSkImageFilter.cpp45 Key(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID) argument
46 : fUniqueID(uniqueID), fMatrix(matrix), fClipBounds(clipBounds), fSrcGenID(srcGenID) {
178 Cache::Key key(fUniqueID, context.ctm(), context.clipBounds(), srcGenID);
302 if (!srcBounds.intersect(ctx.clipBounds())) {
323 if (!bounds->intersect(ctx.clipBounds())) {
H A DSkDraw.cpp2179 static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, argument
2205 if (clipBounds) {
2213 if (!bounds->intersect(clipBounds->makeOutset(SkMin32(margin.fX, MAX_MARGIN),
2246 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, argument
2251 if (!compute_bounds(devPath, clipBounds, filter, filterMatrix, &mask->fBounds))
H A DSkCanvas.cpp927 SkIRect clipBounds; local
928 if (!this->getClipDeviceBounds(&clipBounds)) {
935 imageFilter->filterBounds(clipBounds, ctm, &clipBounds);
944 if (!ir.intersect(clipBounds)) {
952 ir = clipBounds;
1230 SkIRect clipBounds = SkIRect::MakeWH(srcDev->width(), srcDev->height()); local
1232 SkImageFilter::Context ctx(matrix, clipBounds, cache.get());
1281 const SkIRect clipBounds = bitmap.bounds(); local
1283 SkImageFilter::Context ctx(matrix, clipBounds, cach
[all...]
/external/skia/include/core/
H A DSkImageFilter.h54 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to
68 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument
69 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) {
72 const SkIRect& clipBounds() const { return fClipBounds; } function in class:SkImageFilter::Context
309 * context's clipBounds, and returns the result in "bounds". If there is
/external/skia/src/effects/
H A DSkLayerRasterizer.cpp55 const SkIRect* clipBounds, SkIRect* bounds) {
82 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(),
95 const SkIRect* clipBounds,
103 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
53 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
94 onRasterize(const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
H A DSkBlurMaskFilter.cpp47 const SkIRect& clipBounds,
80 const SkIRect& clipBounds,
84 const SkIRect& clipBounds,
315 const SkIRect& clipBounds,
345 // TODO: take clipBounds into account to limit our coordinates up front
453 const SkIRect& clipBounds,
465 // TODO: take clipBounds into account to limit our coordinates up front
1162 const SkIRect& clipBounds,
1187 SkRect clipRect = SkRect::Make(clipBounds);
314 filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
451 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
1161 canFilterMaskGPU(const SkRect& srcBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
/external/skia/src/gpu/
H A DGrLayerHoister.cpp90 SkIRect clipBounds = dstIR; local
97 info.fPaint->getImageFilter()->filterBounds(clipBounds, totMat, &clipBounds);
106 if (!srcIR->intersect(clipBounds)) {
110 *srcIR = clipBounds;
308 SkIRect clipBounds = layer->rect(); local
313 SkImageFilter::Context filterContext(totMat, clipBounds, cache);
H A DGrTextContext.cpp53 SkScalar x, SkScalar y, const SkIRect& clipBounds) {
62 clipBounds);
70 this->drawTextAsPath(skPaint, viewMatrix, text, byteLength, x, y, clipBounds);
77 const SkPoint& offset, const SkIRect& clipBounds) {
86 scalarsPerPosition, offset, clipBounds);
95 clipBounds);
101 SkDrawFilter* drawFilter, const SkIRect& clipBounds) {
128 textLen, x + offset.x(), y + offset.y(), clipBounds);
132 textLen, it.pos(), 1, SkPoint::Make(x, y + offset.y()), clipBounds);
136 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds);
50 drawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
73 drawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
98 drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument
149 drawTextAsPath(const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
171 drawPosTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
[all...]
H A DGrTessellatingPathRenderer.cpp540 void path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, argument
552 clipBounds.toQuad(quad);
1362 SkRect clipBounds) {
1363 return SkNEW_ARGS(TessellatingPathBatch, (color, path, viewMatrix, clipBounds));
1474 const SkRect& clipBounds)
1478 , fClipBounds(clipBounds) {
1507 SkRect clipBounds = SkRect::Make(clipBoundsI); local
1512 vmi.mapRect(&clipBounds);
1513 SkAutoTUnref<GrBatch> batch(TessellatingPathBatch::Create(color, path, viewM, clipBounds));
1527 SkRect clipBounds local
1359 Create(const GrColor& color, const SkPath& path, const SkMatrix& viewMatrix, SkRect clipBounds) argument
1471 TessellatingPathBatch(const GrColor& color, const SkPath& path, const SkMatrix& viewMatrix, const SkRect& clipBounds) argument
[all...]
H A DGrAtlasTextContext.cpp351 SkDrawFilter* drawFilter, const SkIRect& clipBounds) {
432 clip, viewMatrix, clipBounds, x, y, transX, transY);
2046 const SkIRect& clipBounds, SkScalar x, SkScalar y) {
2063 textLen, x + offset.x(), y + offset.y(), clipBounds);
2068 clipBounds);
2072 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds);
2142 const SkIRect& clipBounds) {
2160 fGpuDevice->internalDrawPath(bigGlyph.fPath, skPaint, translate, &pathMatrix, clipBounds,
2174 const SkIRect& clipBounds,
2187 this->flushRunAsPaths(it, skPaint, drawFilter, viewMatrix, clipBounds,
348 drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument
2044 flushRunAsPaths(const SkTextBlob::RunIterator& it, const SkPaint& skPaint, SkDrawFilter* drawFilter, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y) argument
2139 flushBigGlyphs(BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, SkScalar transX, SkScalar transY, const SkIRect& clipBounds) argument
2165 flush(GrDrawTarget* target, const SkTextBlob* blob, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, SkDrawFilter* drawFilter, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y, SkScalar transX, SkScalar transY) argument
2198 flush(GrDrawTarget* target, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, const GrClip& clip, const SkIRect& clipBounds) argument
[all...]
H A DSkGpuDevice.cpp653 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) { argument
654 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect);
663 const SkIRect& clipBounds,
668 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM,
680 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) {
772 const SkIRect& clipBounds, bool pathIsMutable) {
853 clipBounds,
858 if (clip_bounds_quick_reject(clipBounds, finalIRect)) {
908 paint.getMaskFilter(), clipBounds,
657 draw_with_mask_filter(GrContext* context, GrRenderTarget* rt, const GrClip& clipData, const SkMatrix& viewMatrix, const SkPath& devPath, SkMaskFilter* filter, const SkIRect& clipBounds, GrPaint* grp, SkPaint::Style style) argument
770 internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) argument
1550 SkIRect clipBounds = SkIRect::MakeWH(bitmap.width(), bitmap.height()); local
1666 SkIRect clipBounds = SkIRect::MakeWH(devTex->width(), devTex->height()); local
2021 SkRect clipBounds = SkRect::Make(iBounds); local
[all...]
/external/skia/tests/
H A DPictureTest.cpp913 SkIRect clipBounds; local
920 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
922 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft);
923 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop);
924 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom);
925 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight);
931 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
933 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft);
934 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop);
935 REPORTER_ASSERT(reporter, 8 == clipBounds
[all...]
/external/skia/samplecode/
H A DSamplePathFuzz.cpp639 SkRect clipBounds = SkRect::MakeXYWH(SkIntToScalar(x) * w, SkIntToScalar(y) * h, local
642 canvas->clipRect(clipBounds);
/external/skia/src/pdf/
H A DSkPDFDevice.cpp415 SkRect clipBounds = SkRect::Make(clipRegion.getBounds()); local
416 clipBounds.outset(SK_Scalar1, SK_Scalar1);
417 if (!calculate_inverse_path(clipBounds, *outClipPath, outClipPath)) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 361 milliseconds