Home
last modified time | relevance | path

Searched refs:clipFlagsOr (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Device/
DClipper.cpp276 bool Clipper::Clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in Clip() argument
278 if(clipFlagsOr & CLIP_FRUSTUM) in Clip()
280 if(clipFlagsOr & CLIP_NEAR) clipNear(polygon); in Clip()
283 if(clipFlagsOr & CLIP_FAR) clipFar(polygon); in Clip()
286 if(clipFlagsOr & CLIP_LEFT) clipLeft(polygon); in Clip()
289 if(clipFlagsOr & CLIP_RIGHT) clipRight(polygon); in Clip()
292 if(clipFlagsOr & CLIP_TOP) clipTop(polygon); in Clip()
295 if(clipFlagsOr & CLIP_BOTTOM) clipBottom(polygon); in Clip()
DRenderer.cpp684 int clipFlagsOr = v0.clipFlags | v1.clipFlags | v2.clipFlags; in setupSolidTriangles() local
685 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupSolidTriangles()
687 if(!Clipper::Clip(polygon, clipFlagsOr, *drawCall)) in setupSolidTriangles()
923 int clipFlagsOr = C[0] | C[1] | C[2] | C[3]; in setupLine() local
925 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupLine()
927 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
1034 int clipFlagsOr = C[0] | C[1] | C[2] | C[3] | C[4] | C[5] | C[6] | C[7]; in setupLine() local
1036 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupLine()
1038 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
1125 int clipFlagsOr = C0 | C1 | C2 | C3; in setupLine() local
[all …]
DClipper.hpp43 static bool Clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DClipper.cpp43 bool Clipper::clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in clip() argument
45 if(clipFlagsOr & CLIP_FRUSTUM) in clip()
47 if(clipFlagsOr & CLIP_NEAR) clipNear(polygon); in clip()
49 if(clipFlagsOr & CLIP_FAR) clipFar(polygon); in clip()
51 if(clipFlagsOr & CLIP_LEFT) clipLeft(polygon); in clip()
53 if(clipFlagsOr & CLIP_RIGHT) clipRight(polygon); in clip()
55 if(clipFlagsOr & CLIP_TOP) clipTop(polygon); in clip()
57 if(clipFlagsOr & CLIP_BOTTOM) clipBottom(polygon); in clip()
61 if(clipFlagsOr & CLIP_USER) in clip()
DRenderer.cpp1589 int clipFlagsOr = v0.clipFlags | v1.clipFlags | v2.clipFlags | draw.clipFlags; in setupSolidTriangles() local
1591 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupSolidTriangles()
1593 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupSolidTriangles()
1836 int clipFlagsOr = C[0] | C[1] | C[2] | C[3] | draw.clipFlags; in setupLine() local
1838 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupLine()
1840 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1947 int clipFlagsOr = C[0] | C[1] | C[2] | C[3] | C[4] | C[5] | C[6] | C[7] | draw.clipFlags; in setupLine() local
1949 if(clipFlagsOr != Clipper::CLIP_FINITE) in setupLine()
1951 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
2038 int clipFlagsOr = C0 | C1 | C2 | C3; in setupLine() local
[all …]
DClipper.hpp60 bool clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);