Home
last modified time | relevance | path

Searched refs:clipper (Results 1 – 25 of 62) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_clip.c121 const struct clip_stage *clipper = clip_stage(stage); in copy_flat() local
123 for (i = 0; i < clipper->num_const_attribs; i++) { in copy_flat()
124 const uint attr = clipper->const_attribs[i]; in copy_flat()
222 const struct clip_stage *clipper = clip_stage(stage); in emit_poly() local
276 if (clipper->cv_attr >= 0) { in emit_poly()
278 header.v[j]->data[clipper->cv_attr][0], in emit_poly()
279 header.v[j]->data[clipper->cv_attr][1], in emit_poly()
280 header.v[j]->data[clipper->cv_attr][2], in emit_poly()
281 header.v[j]->data[clipper->cv_attr][3]); in emit_poly()
311 static inline float getclipdist(const struct clip_stage *clipper, in getclipdist() argument
[all …]
/third_party/skia/tests/
DClipCubicTest.cpp85 SkCubicClipper clipper; in DEF_TEST() local
93 clipper.setClip(clipRect); in DEF_TEST()
94 success = clipper.clipCubic(crv, clipped); in DEF_TEST()
101 clipper.setClip(clipRect); in DEF_TEST()
102 success = clipper.clipCubic(crv, clipped); in DEF_TEST()
109 clipper.setClip(clipRect); in DEF_TEST()
110 success = clipper.clipCubic(crv, clipped); in DEF_TEST()
117 clipper.setClip(clipRect); in DEF_TEST()
118 success = clipper.clipCubic(crv, clipped); in DEF_TEST()
123 clipper.setClip(clipRect); in DEF_TEST()
[all …]
DClipperTest.cpp59 SkEdgeClipper clipper(false); in test_edgeclipper() local
73 clipper.clipCubic(pts, clip); in test_edgeclipper()
/third_party/skia/docs/examples/
DRegion_Cliperator_next.cpp10 SkRegion::Cliperator clipper(region, {0, 3, 8, 7}); in draw() local
12 auto r2 = clipper.rect(); in draw()
14 clipper.next(); in draw()
15 } while (!clipper.done()); in draw()
DRegion_Cliperator_done.cpp8 SkRegion::Cliperator clipper(region, {0, 0, 5, 5}); in draw() local
9 SkDebugf("%14s done=%s\n", label, clipper.done() ? "true" : "false"); in draw()
DRegion_Cliperator_const_SkRegion_const_SkIRect.cpp9 SkRegion::Cliperator clipper(region, {0, 0, 2, 3}); in draw() local
10 auto r = clipper.rect(); in draw()
DRegion_Cliperator_rect.cpp8 SkRegion::Cliperator clipper(region, {0, 0, 5, 3}); in draw() local
9 auto r = clipper.rect(); in draw()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferDD.cpp97 IDirectDrawClipper *clipper; in createSurfaces() local
128 directDraw->CreateClipper(0, &clipper, 0); in createSurfaces()
129 clipper->SetHWnd(0, windowHandle); in createSurfaces()
130 frontBuffer->SetClipper(clipper); in createSurfaces()
131 clipper->Release(); in createSurfaces()
170 IDirectDrawClipper *clipper; in updateClipper() local
171 frontBuffer->GetClipper(&clipper); in updateClipper()
172 clipper->SetHWnd(0, window); in updateClipper()
173 clipper->Release(); in updateClipper()
/third_party/skia/src/core/
DSkDraw_text.cpp62 SkRegion::Cliperator clipper(fRC->bwRgn(), mask.fBounds); in paintMasks() local
64 if (!clipper.done()) { in paintMasks()
72 const SkIRect& cr = clipper.rect(); in paintMasks()
75 clipper.next(); in paintMasks()
76 } while (!clipper.done()); in paintMasks()
DSkMaskFilter.cpp198 SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); in draw_nine() local
200 if (!clipper.done()) { in draw_nine()
201 const SkIRect& cr = clipper.rect(); in draw_nine()
204 clipper.next(); in draw_nine()
205 } while (!clipper.done()); in draw_nine()
284 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() local
286 if (!clipper.done()) { in filterPath()
287 const SkIRect& cr = clipper.rect(); in filterPath()
290 clipper.next(); in filterPath()
291 } while (!clipper.done()); in filterPath()
DSkEdgeClipper.cpp571 SkEdgeClipper clipper(canCullToTheRight); in ClipPath() local
576 if (clipper.clipLine(e.fPts[0], e.fPts[1], clip)) { in ClipPath()
577 consume(&clipper, e.fIsNewContour, ctx); in ClipPath()
581 if (clipper.clipQuad(e.fPts, clip)) { in ClipPath()
582 consume(&clipper, e.fIsNewContour, ctx); in ClipPath()
588 if (clipper.clipQuad(quadPts, clip)) { in ClipPath()
589 consume(&clipper, e.fIsNewContour, ctx); in ClipPath()
595 if (clipper.clipCubic(e.fPts, clip)) { in ClipPath()
596 consume(&clipper, e.fIsNewContour, ctx); in ClipPath()
DSkScan_Path.cpp652 SkScanClipper clipper(blitter, clipPtr, ir, path.isInverseFillType(), irPreClipped); in FillPath() local
654 blitter = clipper.getBlitter(); in FillPath()
661 SkASSERT(clipper.getClipRect() == nullptr || in FillPath()
662 *clipper.getClipRect() == clipPtr->getBounds()); in FillPath()
664 0, clipper.getClipRect() == nullptr); in FillPath()
779 SkScanClipper clipper(blitter, clipRgn, ir); in FillTriangle() local
780 blitter = clipper.getBlitter(); in FillTriangle()
782 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); in FillTriangle()
DSkScan_Antihair.cpp731 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillXRect() local
732 const SkIRect& rr = clipper.rect(); in AntiFillXRect()
734 while (!clipper.done()) { in AntiFillXRect()
742 clipper.next(); in AntiFillXRect()
798 SkRegion::Cliperator clipper(*clip, outerBounds); in AntiFillRect() local
799 while (!clipper.done()) { in AntiFillRect()
800 newR.set(clipper.rect()); in AntiFillRect()
804 clipper.next(); in AntiFillRect()
943 SkBlitterClipper clipper; in AntiFrameRect() local
949 blitter = clipper.apply(blitter, clip, &outer); in AntiFrameRect()
DSkBlitter.cpp281 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion() local
283 while (!clipper.done()) { in blitMaskRegion()
284 const SkIRect& cr = clipper.rect(); in blitMaskRegion()
286 clipper.next(); in blitMaskRegion()
291 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion() local
293 while (!clipper.done()) { in blitRectRegion()
294 const SkIRect& cr = clipper.rect(); in blitRectRegion()
296 clipper.next(); in blitRectRegion()
DSkScan_AntiPath.cpp766 SkScanClipper clipper(blitter, clipRgn, ir); in AntiFillPath() local
768 if (clipper.getBlitter() == nullptr) { // clipped out in AntiFillPath()
775 SkASSERT(clipper.getClipRect() == nullptr || in AntiFillPath()
776 *clipper.getClipRect() == clipRgn->getBounds()); in AntiFillPath()
779 blitter = clipper.getBlitter(); in AntiFillPath()
DSkScan_Hairline.cpp48 SkBlitterClipper clipper; in HairLineRgn() local
107 blitter = clipper.apply(origBlitter, clip); in HairLineRgn()
162 SkBlitterClipper clipper; in HairRect() local
192 blitter = clipper.apply(blitter, clipRgn); in HairRect()
DSkEdgeBuilder.cpp303 [](SkEdgeClipper* clipper, bool, void* ctx) { in build() argument
308 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) { in build()
/third_party/skia/third_party/externals/oboe/tests/
DtestFlowgraph.cpp142 ClipToRange clipper{1}; in TEST() local
148 clipper.setMinimum(myMin); in TEST()
149 clipper.setMaximum(myMax); in TEST()
151 sourceFloat.output.connect(&clipper.input); in TEST()
152 clipper.output.connect(&sinkFloat.input); in TEST()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.cpp150 clipper = new Clipper(symmetricNormalizedDepth); in Renderer()
217 delete clipper; in ~Renderer()
218 clipper = nullptr; in ~Renderer()
1593 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupSolidTriangles()
1818 C[0] = clipper->computeClipFlags(P[0]); in setupLine()
1822 C[1] = clipper->computeClipFlags(P[1]); in setupLine()
1826 C[2] = clipper->computeClipFlags(P[2]); in setupLine()
1830 C[3] = clipper->computeClipFlags(P[3]); in setupLine()
1840 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1875 C[0] = clipper->computeClipFlags(P[0]); in setupLine()
[all …]
/third_party/mesa3d/src/imgui/
Dimgui_memory_editor.h236 ImGuiListClipper clipper(line_total_count, s.LineHeight);
237 const size_t visible_start_addr = clipper.DisplayStart * Cols;
238 const size_t visible_end_addr = clipper.DisplayEnd * Cols;
282 …for (int line_i = clipper.DisplayStart; line_i < clipper.DisplayEnd; line_i++) // display only vis…
429 clipper.End();
/third_party/skia/third_party/externals/imgui/
Dimgui_demo.cpp4156 ImGuiListClipper clipper; local
4157 clipper.Begin(1000);
4158 while (clipper.Step())
4160 for (int row = clipper.DisplayStart; row < clipper.DisplayEnd; row++)
4941 ImGuiListClipper clipper; local
4942 clipper.Begin(items.Size);
4943 while (clipper.Step())
4944 for (int row_n = clipper.DisplayStart; row_n < clipper.DisplayEnd; row_n++)
5169 ImGuiListClipper clipper; local
5170 clipper.Begin(items.Size);
[all …]
/third_party/openGLES/extensions/NV/
DNV_fragment_shader_barycentric.txt213 handled by having the clipper remove one of the original vertices,
224 below is clipped away, the clipper introduces a new vertex D and
242 vertex D introduced by the clipper will have a weight like (0.5, 0.0,
/third_party/skia/third_party/externals/microhttpd/
Dconfig.sub216 basic_machine=clipper-intergraph
260 | c4x | c8051 | clipper \
/third_party/skia/third_party/externals/icu/source/
Dconfig.sub215 basic_machine=clipper-intergraph
257 | c4x | c8051 | clipper \
/third_party/skia/third_party/externals/libpng/
Dconfig.sub215 basic_machine=clipper-intergraph
257 | c4x | c8051 | clipper \

123