/external/skia/tests/ |
D | ClipCubicTest.cpp | 80 SkCubicClipper clipper; in DEF_TEST() local 88 clipper.setClip(clipRect); in DEF_TEST() 89 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 96 clipper.setClip(clipRect); in DEF_TEST() 97 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 104 clipper.setClip(clipRect); in DEF_TEST() 105 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 112 clipper.setClip(clipRect); in DEF_TEST() 113 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 118 clipper.setClip(clipRect); in DEF_TEST() [all …]
|
D | ClipperTest.cpp | 53 SkEdgeClipper clipper; in test_edgeclipper() local 67 clipper.clipCubic(pts, clip); in test_edgeclipper()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_clip.c | 102 const struct clip_stage *clipper = clip_stage(stage); in copy_flat() local 104 for (i = 0; i < clipper->num_flat_attribs; i++) { in copy_flat() 105 const uint attr = clipper->flat_attribs[i]; in copy_flat() 275 static INLINE float getclipdist(const struct clip_stage *clipper, in getclipdist() argument 286 dp = vert->data[draw_current_shader_clipdistance_output(clipper->stage.draw, cdi)][vidx]; in getclipdist() 288 plane = clipper->plane[plane_idx]; in getclipdist() 301 struct clip_stage *clipper = clip_stage( stage ); in do_clip_tri() local 338 dp_prev = getclipdist(clipper, vert_prev, plane_idx); in do_clip_tri() 351 float dp = getclipdist(clipper, vert, plane_idx); in do_clip_tri() 368 new_vert = clipper->stage.tmp[tmpnr++]; in do_clip_tri() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_pipe_clip.c | 102 const struct clip_stage *clipper = clip_stage(stage); in copy_flat() local 104 for (i = 0; i < clipper->num_flat_attribs; i++) { in copy_flat() 105 const uint attr = clipper->flat_attribs[i]; in copy_flat() 275 static INLINE float getclipdist(const struct clip_stage *clipper, in getclipdist() argument 286 dp = vert->data[draw_current_shader_clipdistance_output(clipper->stage.draw, cdi)][vidx]; in getclipdist() 288 plane = clipper->plane[plane_idx]; in getclipdist() 301 struct clip_stage *clipper = clip_stage( stage ); in do_clip_tri() local 338 dp_prev = getclipdist(clipper, vert_prev, plane_idx); in do_clip_tri() 351 float dp = getclipdist(clipper, vert, plane_idx); in do_clip_tri() 368 new_vert = clipper->stage.tmp[tmpnr++]; in do_clip_tri() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderLayerClipper.cpp | 76 parentLayer->clipper().updateClipRects(clipRectsContext); in updateClipRects() 84 …if (parentLayer && parentLayer->clipper().clipRects(clipRectsContext) && clipRects == *parentLayer… in updateClipRects() 85 …pRects(clipRectsType, clipRectsContext.respectOverflowClip, parentLayer->clipper().clipRects(clipR… in updateClipRects() 104 layer->clipper().clearClipRectsIncludingDescendants(typeToClear); in clearClipRectsIncludingDescendants() 136 if (useCached && parentLayer->clipper().clipRects(clipRectsContext)) { in calculateClipRects() 137 clipRects = *parentLayer->clipper().clipRects(clipRectsContext); in calculateClipRects() 141 parentLayer->clipper().calculateClipRects(parentContext, clipRects); in calculateClipRects()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGResources.cpp | 285 if (RenderSVGResourceClipper* clipper = m_clipperFilterMaskerData->clipper) in layoutIfNeeded() local 286 clipper->layoutIfNeeded(); in layoutIfNeeded() 327 if (m_clipperFilterMaskerData->clipper) in removeClientFromCache() 328 m_clipperFilterMaskerData->clipper->removeClientFromCache(object, markForInvalidation); in removeClientFromCache() 417 if (m_clipperFilterMaskerData->clipper == resource) { in resourceDestroyed() 418 m_clipperFilterMaskerData->clipper->removeAllClientsFromCache(); in resourceDestroyed() 419 m_clipperFilterMaskerData->clipper = 0; in resourceDestroyed() 441 if (m_clipperFilterMaskerData->clipper) in buildSetOfResources() 442 set.add(m_clipperFilterMaskerData->clipper); in buildSetOfResources() 466 bool SVGResources::setClipper(RenderSVGResourceClipper* clipper) in setClipper() argument [all …]
|
D | SVGResources.h | 49 …RenderSVGResourceClipper* clipper() const { return m_clipperFilterMaskerData ? m_clipperFilterMask… in clipper() function 114 : clipper(0) in ClipperFilterMaskerData() 125 RenderSVGResourceClipper* clipper; member
|
D | SVGRenderingContext.cpp | 71 … ASSERT(SVGResourcesCache::cachedResourcesForRenderObject(m_object)->clipper() == m_clipper); in ~SVGRenderingContext() 159 RenderSVGResourceClipper* clipper = resources->clipper(); in prepareToRenderSVGContent() local 160 if (!clipPathOperation && clipper) { in prepareToRenderSVGContent() 161 if (!clipper->applyStatefulResource(m_object, m_paintInfo->context, m_clipperContext)) in prepareToRenderSVGContent() 163 m_clipper = clipper; in prepareToRenderSVGContent()
|
D | SVGRenderSupport.cpp | 311 if (RenderSVGResourceClipper* clipper = resources->clipper()) in intersectRepaintRectWithResources() local 312 repaintRect.intersect(clipper->resourceBoundingBox(renderer)); in intersectRepaintRectWithResources() 342 if (RenderSVGResourceClipper* clipper = resources->clipper()) in pointInClippingArea() local 343 return clipper->hitTestClipContent(object->objectBoundingBox(), point); in pointInClippingArea()
|
D | RenderSVGResource.cpp | 173 if (RenderSVGResourceClipper* clipper = resources->clipper()) in removeFromCacheAndInvalidateDependencies() local 174 clipper->removeClientFromCache(object); in removeFromCacheAndInvalidateDependencies()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkEdgeBuilder.cpp | 52 void SkEdgeBuilder::addClipper(SkEdgeClipper* clipper) { in addClipper() argument 56 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in addClipper() 183 SkEdgeClipper clipper; in build() local 201 if (clipper.clipQuad(pts, clip)) { in build() 202 this->addClipper(&clipper); in build() 218 if (clipper.clipQuad(&storage[i * 2], clip)) { in build() 219 this->addClipper(&clipper); in build() 224 if (clipper.clipCubic(pts, clip)) { in build() 225 this->addClipper(&clipper); in build()
|
D | SkMaskFilter.cpp | 188 SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); in draw_nine() local 190 if (!clipper.done() && (!bounder || bounder->doIRect(outerR))) { in draw_nine() 191 const SkIRect& cr = clipper.rect(); in draw_nine() 194 clipper.next(); in draw_nine() 195 } while (!clipper.done()); in draw_nine() 275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() local 277 if (!clipper.done() && (bounder == NULL || bounder->doIRect(dstM.fBounds))) { in filterPath() 278 const SkIRect& cr = clipper.rect(); in filterPath() 281 clipper.next(); in filterPath() 282 } while (!clipper.done()); in filterPath()
|
D | SkScan_Antihair.cpp | 795 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillXRect() local 796 const SkIRect& rr = clipper.rect(); in AntiFillXRect() 798 while (!clipper.done()) { in AntiFillXRect() 806 clipper.next(); in AntiFillXRect() 867 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillRect() local 868 while (!clipper.done()) { in AntiFillRect() 869 newR.set(clipper.rect()); in AntiFillRect() 873 clipper.next(); in AntiFillRect() 1005 SkBlitterClipper clipper; in AntiFrameRect() local 1011 blitter = clipper.apply(blitter, clip, &outer); in AntiFrameRect()
|
D | SkScan_Path.cpp | 613 SkScanClipper clipper(blitter, clipPtr, ir, path.isInverseFillType()); in FillPath() local 615 blitter = clipper.getBlitter(); in FillPath() 622 sk_fill_path(path, clipper.getClipRect(), blitter, ir.fTop, ir.fBottom, in FillPath() 724 SkScanClipper clipper(blitter, clipRgn, ir); in FillTriangle() local 725 blitter = clipper.getBlitter(); in FillTriangle() 727 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); in FillTriangle()
|
D | SkBlitter.cpp | 196 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion() local 198 while (!clipper.done()) { in blitMaskRegion() 199 const SkIRect& cr = clipper.rect(); in blitMaskRegion() 201 clipper.next(); in blitMaskRegion() 206 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion() local 208 while (!clipper.done()) { in blitRectRegion() 209 const SkIRect& cr = clipper.rect(); in blitRectRegion() 211 clipper.next(); in blitRectRegion()
|
D | SkScan_Hairline.cpp | 45 SkBlitterClipper clipper; in HairLineRgn() local 105 blitter = clipper.apply(blitter, clip); in HairLineRgn() 151 SkBlitterClipper clipper; in HairRect() local 171 blitter = clipper.apply(blitter, clipRgn); in HairRect()
|
D | SkScan_AntiPath.cpp | 665 SkScanClipper clipper(blitter, clipRgn, ir); in AntiFillPath() local 666 const SkIRect* clipRect = clipper.getClipRect(); in AntiFillPath() 668 if (clipper.getBlitter() == NULL) { // clipped out in AntiFillPath() 676 blitter = clipper.getBlitter(); in AntiFillPath()
|
/external/skia/src/core/ |
D | SkEdgeBuilder.cpp | 52 void SkEdgeBuilder::addClipper(SkEdgeClipper* clipper) { in addClipper() argument 56 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in addClipper() 183 SkEdgeClipper clipper; in build() local 201 if (clipper.clipQuad(pts, clip)) { in build() 202 this->addClipper(&clipper); in build() 218 if (clipper.clipQuad(&storage[i * 2], clip)) { in build() 219 this->addClipper(&clipper); in build() 224 if (clipper.clipCubic(pts, clip)) { in build() 225 this->addClipper(&clipper); in build()
|
D | SkMaskFilter.cpp | 188 SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); in draw_nine() local 190 if (!clipper.done() && (!bounder || bounder->doIRect(outerR))) { in draw_nine() 191 const SkIRect& cr = clipper.rect(); in draw_nine() 194 clipper.next(); in draw_nine() 195 } while (!clipper.done()); in draw_nine() 275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() local 277 if (!clipper.done() && (bounder == NULL || bounder->doIRect(dstM.fBounds))) { in filterPath() 278 const SkIRect& cr = clipper.rect(); in filterPath() 281 clipper.next(); in filterPath() 282 } while (!clipper.done()); in filterPath()
|
D | SkScan_Antihair.cpp | 795 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillXRect() local 796 const SkIRect& rr = clipper.rect(); in AntiFillXRect() 798 while (!clipper.done()) { in AntiFillXRect() 806 clipper.next(); in AntiFillXRect() 867 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillRect() local 868 while (!clipper.done()) { in AntiFillRect() 869 newR.set(clipper.rect()); in AntiFillRect() 873 clipper.next(); in AntiFillRect() 1005 SkBlitterClipper clipper; in AntiFrameRect() local 1011 blitter = clipper.apply(blitter, clip, &outer); in AntiFrameRect()
|
D | SkScan_Path.cpp | 613 SkScanClipper clipper(blitter, clipPtr, ir, path.isInverseFillType()); in FillPath() local 615 blitter = clipper.getBlitter(); in FillPath() 622 sk_fill_path(path, clipper.getClipRect(), blitter, ir.fTop, ir.fBottom, in FillPath() 724 SkScanClipper clipper(blitter, clipRgn, ir); in FillTriangle() local 725 blitter = clipper.getBlitter(); in FillTriangle() 727 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); in FillTriangle()
|
D | SkBlitter.cpp | 196 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion() local 198 while (!clipper.done()) { in blitMaskRegion() 199 const SkIRect& cr = clipper.rect(); in blitMaskRegion() 201 clipper.next(); in blitMaskRegion() 206 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion() local 208 while (!clipper.done()) { in blitRectRegion() 209 const SkIRect& cr = clipper.rect(); in blitRectRegion() 211 clipper.next(); in blitRectRegion()
|
D | SkScan_Hairline.cpp | 45 SkBlitterClipper clipper; in HairLineRgn() local 105 blitter = clipper.apply(blitter, clip); in HairLineRgn() 151 SkBlitterClipper clipper; in HairRect() local 171 blitter = clipper.apply(blitter, clipRgn); in HairRect()
|
D | SkScan_AntiPath.cpp | 665 SkScanClipper clipper(blitter, clipRgn, ir); in AntiFillPath() local 666 const SkIRect* clipRect = clipper.getClipRect(); in AntiFillPath() 668 if (clipper.getBlitter() == NULL) { // clipped out in AntiFillPath() 676 blitter = clipper.getBlitter(); in AntiFillPath()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
D | SVGRenderStyleDefs.cpp | 177 : clipper(SVGRenderStyle::initialClipperResource()) in StyleResourceData() 185 , clipper(other.clipper) in StyleResourceData() 193 return clipper == other.clipper in operator ==()
|