Home
last modified time | relevance | path

Searched refs:clipFlags (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/src/Device/
DClipper.cpp54 int clipFlags = draw.clipFlags; in clip() local
58 if(clipFlags & CLIP_PLANE0) clipPlane(polygon, data.clipPlane[0]); in clip()
60 if(clipFlags & CLIP_PLANE1) clipPlane(polygon, data.clipPlane[1]); in clip()
62 if(clipFlags & CLIP_PLANE2) clipPlane(polygon, data.clipPlane[2]); in clip()
64 if(clipFlags & CLIP_PLANE3) clipPlane(polygon, data.clipPlane[3]); in clip()
66 if(clipFlags & CLIP_PLANE4) clipPlane(polygon, data.clipPlane[4]); in clip()
68 if(clipFlags & CLIP_PLANE5) clipPlane(polygon, data.clipPlane[5]); in clip()
DRenderer.cpp176 clipFlags = 0; in Renderer()
511 draw->clipFlags = clipFlags; in draw()
513 if(clipFlags) in draw()
515 if(clipFlags & Clipper::CLIP_PLANE0) data->clipPlane[0] = clipPlane[0]; in draw()
516 if(clipFlags & Clipper::CLIP_PLANE1) data->clipPlane[1] = clipPlane[1]; in draw()
517 if(clipFlags & Clipper::CLIP_PLANE2) data->clipPlane[2] = clipPlane[2]; in draw()
518 if(clipFlags & Clipper::CLIP_PLANE3) data->clipPlane[3] = clipPlane[3]; in draw()
519 if(clipFlags & Clipper::CLIP_PLANE4) data->clipPlane[4] = clipPlane[4]; in draw()
520 if(clipFlags & Clipper::CLIP_PLANE5) data->clipPlane[5] = clipPlane[5]; in draw()
1307 if((v0.clipFlags & v1.clipFlags & v2.clipFlags) == Clipper::CLIP_FINITE) in setupTriangles()
[all …]
DVertex.hpp91 int clipFlags;
DRenderer.hpp368 int clipFlags; member in sw::Renderer
474 AtomicInt clipFlags; member
/external/swiftshader/src/Renderer/
DClipper.cpp63 int clipFlags = draw.clipFlags; in clip() local
67 if(clipFlags & CLIP_PLANE0) clipPlane(polygon, data.clipPlane[0]); in clip()
69 if(clipFlags & CLIP_PLANE1) clipPlane(polygon, data.clipPlane[1]); in clip()
71 if(clipFlags & CLIP_PLANE2) clipPlane(polygon, data.clipPlane[2]); in clip()
73 if(clipFlags & CLIP_PLANE3) clipPlane(polygon, data.clipPlane[3]); in clip()
75 if(clipFlags & CLIP_PLANE4) clipPlane(polygon, data.clipPlane[4]); in clip()
77 if(clipFlags & CLIP_PLANE5) clipPlane(polygon, data.clipPlane[5]); in clip()
DRenderer.cpp202 clipFlags = 0; in Renderer()
625 draw->clipFlags = clipFlags; in draw()
627 if(clipFlags) in draw()
629 if(clipFlags & Clipper::CLIP_PLANE0) data->clipPlane[0] = clipPlane[0]; in draw()
630 if(clipFlags & Clipper::CLIP_PLANE1) data->clipPlane[1] = clipPlane[1]; in draw()
631 if(clipFlags & Clipper::CLIP_PLANE2) data->clipPlane[2] = clipPlane[2]; in draw()
632 if(clipFlags & Clipper::CLIP_PLANE3) data->clipPlane[3] = clipPlane[3]; in draw()
633 if(clipFlags & Clipper::CLIP_PLANE4) data->clipPlane[4] = clipPlane[4]; in draw()
634 if(clipFlags & Clipper::CLIP_PLANE5) data->clipPlane[5] = clipPlane[5]; in draw()
1584 if((v0.clipFlags & v1.clipFlags & v2.clipFlags) == Clipper::CLIP_FINITE) in setupSolidTriangles()
[all …]
DVertex.hpp91 int clipFlags;
DRenderer.hpp401 int clipFlags; member in sw::Renderer
507 AtomicInt clipFlags; member
/external/swiftshader/src/Shader/
DVertexRoutine.cpp120clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags()
136 clipFlags &= 0xFBFBFBFB; // Don't clip against far clip plane in computeClipFlags()
707 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 0) = (clipFlags >> 0) & 0x0… in writeCache()
708 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 1) = (clipFlags >> 8) & 0x0… in writeCache()
[all …]
DVertexRoutine.hpp49 Int clipFlags; member in sw::VertexRoutine
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp120clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags()
680 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 0) = (clipFlags >> 0) & 0x0… in writeCache()
681 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 1) = (clipFlags >> 8) & 0x0… in writeCache()
682 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 2) = (clipFlags >> 16) & 0x0… in writeCache()
[all …]
DVertexRoutine.hpp49 Int clipFlags; member in sw::VertexRoutine
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp220 clipFlags = 0; in Context()
3310 clipFlags = (clipFlags & ~((int)!enable << index)) | ((int)enable << index); in setClipPlaneEnabled()
3311 device->setClipFlags(clipFlags); in setClipPlaneEnabled()
3316 return (clipFlags & (1 << index)) != 0; in isClipPlaneEnabled()
DContext.h653 int clipFlags; variable