/external/chromium_org/third_party/skia/tests/ |
D | ClipCubicTest.cpp | 78 SkCubicClipper clipper; in DEF_TEST() local 86 clipper.setClip(clipRect); in DEF_TEST() 87 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 94 clipper.setClip(clipRect); in DEF_TEST() 95 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 102 clipper.setClip(clipRect); in DEF_TEST() 103 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 110 clipper.setClip(clipRect); in DEF_TEST() 111 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 116 clipper.setClip(clipRect); in DEF_TEST() [all …]
|
D | ClipperTest.cpp | 51 SkEdgeClipper clipper; in test_edgeclipper() local 65 clipper.clipCubic(pts, clip); in test_edgeclipper()
|
/external/skia/tests/ |
D | ClipCubicTest.cpp | 78 SkCubicClipper clipper; in DEF_TEST() local 86 clipper.setClip(clipRect); in DEF_TEST() 87 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 94 clipper.setClip(clipRect); in DEF_TEST() 95 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 102 clipper.setClip(clipRect); in DEF_TEST() 103 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 110 clipper.setClip(clipRect); in DEF_TEST() 111 success = clipper.clipCubic(crv, clipped); in DEF_TEST() 116 clipper.setClip(clipRect); in DEF_TEST() [all …]
|
D | ClipperTest.cpp | 51 SkEdgeClipper clipper; in test_edgeclipper() local 65 clipper.clipCubic(pts, clip); in test_edgeclipper()
|
/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/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/WebKit/Source/core/rendering/svg/ |
D | SVGResources.cpp | 306 if (RenderSVGResourceClipper* clipper = m_clipperFilterMaskerData->clipper) in layoutIfNeeded() local 307 clipper->layoutIfNeeded(); in layoutIfNeeded() 348 if (m_clipperFilterMaskerData->clipper) in removeClientFromCache() 349 m_clipperFilterMaskerData->clipper->removeClientFromCache(object, markForInvalidation); in removeClientFromCache() 438 if (m_clipperFilterMaskerData->clipper == resource) { in resourceDestroyed() 439 m_clipperFilterMaskerData->clipper->removeAllClientsFromCache(); in resourceDestroyed() 440 m_clipperFilterMaskerData->clipper = 0; in resourceDestroyed() 462 if (m_clipperFilterMaskerData->clipper) in buildSetOfResources() 463 set.add(m_clipperFilterMaskerData->clipper); in buildSetOfResources() 487 bool SVGResources::setClipper(RenderSVGResourceClipper* clipper) in setClipper() argument [all …]
|
D | SVGResources.h | 52 …RenderSVGResourceClipper* clipper() const { return m_clipperFilterMaskerData ? m_clipperFilterMask… in clipper() function 117 : clipper(0) in ClipperFilterMaskerData() 128 RenderSVGResourceClipper* clipper; member
|
D | SVGRenderingContext.cpp | 74 … ASSERT(SVGResourcesCache::cachedResourcesForRenderObject(m_object)->clipper() == m_clipper); in ~SVGRenderingContext() 160 RenderSVGResourceClipper* clipper = resources->clipper(); in prepareToRenderSVGContent() local 161 if (!clipPathOperation && clipper) { in prepareToRenderSVGContent() 162 if (!clipper->applyStatefulResource(m_object, m_paintInfo->context, m_clipperState)) in prepareToRenderSVGContent() 164 m_clipper = clipper; in prepareToRenderSVGContent()
|
D | SVGRenderSupport.cpp | 266 if (RenderSVGResourceClipper* clipper = resources->clipper()) in intersectPaintInvalidationRectWithResources() local 267 paintInvalidationRect.intersect(clipper->resourceBoundingBox(renderer)); in intersectPaintInvalidationRectWithResources() 297 if (RenderSVGResourceClipper* clipper = resources->clipper()) in pointInClippingArea() local 298 return clipper->hitTestClipContent(object->objectBoundingBox(), point); in pointInClippingArea()
|
D | RenderSVGResource.cpp | 147 if (RenderSVGResourceClipper* clipper = resources->clipper()) in removeFromCacheAndInvalidateDependencies() local 148 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 | 189 SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); in draw_nine() local 191 if (!clipper.done()) { in draw_nine() 192 const SkIRect& cr = clipper.rect(); in draw_nine() 195 clipper.next(); in draw_nine() 196 } while (!clipper.done()); in draw_nine() 275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() local 277 if (!clipper.done()) { 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 | 793 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillXRect() local 794 const SkIRect& rr = clipper.rect(); in AntiFillXRect() 796 while (!clipper.done()) { in AntiFillXRect() 804 clipper.next(); in AntiFillXRect() 863 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillRect() local 864 while (!clipper.done()) { in AntiFillRect() 865 newR.set(clipper.rect()); in AntiFillRect() 869 clipper.next(); in AntiFillRect() 995 SkBlitterClipper clipper; in AntiFrameRect() local 1001 blitter = clipper.apply(blitter, clip, &outer); in AntiFrameRect()
|
D | SkScan_Path.cpp | 617 SkScanClipper clipper(blitter, clipPtr, ir, path.isInverseFillType()); in FillPath() local 619 blitter = clipper.getBlitter(); in FillPath() 626 sk_fill_path(path, clipper.getClipRect(), blitter, ir.fTop, ir.fBottom, in FillPath() 728 SkScanClipper clipper(blitter, clipRgn, ir); in FillTriangle() local 729 blitter = clipper.getBlitter(); in FillTriangle() 731 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); in FillTriangle()
|
D | SkScan_Hairline.cpp | 45 SkBlitterClipper clipper; in HairLineRgn() local 103 blitter = clipper.apply(blitter, clip); in HairLineRgn() 149 SkBlitterClipper clipper; in HairRect() local 169 blitter = clipper.apply(blitter, clipRgn); in HairRect()
|
D | SkBlitter.cpp | 203 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion() local 205 while (!clipper.done()) { in blitMaskRegion() 206 const SkIRect& cr = clipper.rect(); in blitMaskRegion() 208 clipper.next(); in blitMaskRegion() 213 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion() local 215 while (!clipper.done()) { in blitRectRegion() 216 const SkIRect& cr = clipper.rect(); in blitRectRegion() 218 clipper.next(); in blitRectRegion()
|
/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 | 189 SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); in draw_nine() local 191 if (!clipper.done()) { in draw_nine() 192 const SkIRect& cr = clipper.rect(); in draw_nine() 195 clipper.next(); in draw_nine() 196 } while (!clipper.done()); in draw_nine() 275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() local 277 if (!clipper.done()) { 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 | 793 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillXRect() local 794 const SkIRect& rr = clipper.rect(); in AntiFillXRect() 796 while (!clipper.done()) { in AntiFillXRect() 804 clipper.next(); in AntiFillXRect() 863 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillRect() local 864 while (!clipper.done()) { in AntiFillRect() 865 newR.set(clipper.rect()); in AntiFillRect() 869 clipper.next(); in AntiFillRect() 995 SkBlitterClipper clipper; in AntiFrameRect() local 1001 blitter = clipper.apply(blitter, clip, &outer); in AntiFrameRect()
|
D | SkScan_Path.cpp | 617 SkScanClipper clipper(blitter, clipPtr, ir, path.isInverseFillType()); in FillPath() local 619 blitter = clipper.getBlitter(); in FillPath() 626 sk_fill_path(path, clipper.getClipRect(), blitter, ir.fTop, ir.fBottom, in FillPath() 728 SkScanClipper clipper(blitter, clipRgn, ir); in FillTriangle() local 729 blitter = clipper.getBlitter(); in FillTriangle() 731 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); in FillTriangle()
|
D | SkScan_Hairline.cpp | 45 SkBlitterClipper clipper; in HairLineRgn() local 103 blitter = clipper.apply(blitter, clip); in HairLineRgn() 149 SkBlitterClipper clipper; in HairRect() local 169 blitter = clipper.apply(blitter, clipRgn); in HairRect()
|
D | SkBlitter.cpp | 203 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion() local 205 while (!clipper.done()) { in blitMaskRegion() 206 const SkIRect& cr = clipper.rect(); in blitMaskRegion() 208 clipper.next(); in blitMaskRegion() 213 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion() local 215 while (!clipper.done()) { in blitRectRegion() 216 const SkIRect& cr = clipper.rect(); in blitRectRegion() 218 clipper.next(); in blitRectRegion()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
D | SVGRenderStyleDefs.cpp | 161 : clipper(SVGRenderStyle::initialClipperResource()) in StyleResourceData() 169 , clipper(other.clipper) in StyleResourceData() 177 return clipper == other.clipper in operator ==()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderLayerClipper.cpp | 153 parentClipRects = m_renderer.layer()->parent()->clipper().getClipRects(context); in getClipRects() 165 layer->clipper().clearClipRectsIncludingDescendants(); in clearClipRectsIncludingDescendants() 174 layer->clipper().clearClipRectsIncludingDescendants(cacheSlot); in clearClipRectsIncludingDescendants() 290 if (context.usesCache() && parentLayer->clipper().cachedClipRects(context)) { in calculateClipRects() 291 clipRects = *parentLayer->clipper().cachedClipRects(context); in calculateClipRects() 293 parentLayer->clipper().calculateClipRects(context, clipRects); in calculateClipRects() 330 m_renderer.layer()->parent()->clipper().getOrCalculateClipRects(context, parentClipRects); in backgroundClipRect()
|