Home
last modified time | relevance | path

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

/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()
626 draw->clipFlags = clipFlags; in draw()
628 if(clipFlags) in draw()
630 if(clipFlags & Clipper::CLIP_PLANE0) data->clipPlane[0] = clipPlane[0]; in draw()
631 if(clipFlags & Clipper::CLIP_PLANE1) data->clipPlane[1] = clipPlane[1]; in draw()
632 if(clipFlags & Clipper::CLIP_PLANE2) data->clipPlane[2] = clipPlane[2]; in draw()
633 if(clipFlags & Clipper::CLIP_PLANE3) data->clipPlane[3] = clipPlane[3]; in draw()
634 if(clipFlags & Clipper::CLIP_PLANE4) data->clipPlane[4] = clipPlane[4]; in draw()
635 if(clipFlags & Clipper::CLIP_PLANE5) data->clipPlane[5] = clipPlane[5]; in draw()
1585 if((v0.clipFlags & v1.clipFlags & v2.clipFlags) == Clipper::CLIP_FINITE) in setupSolidTriangles()
[all …]
DVertex.hpp91 int clipFlags;
DRenderer.hpp400 int clipFlags; member in sw::Renderer
506 AtomicInt clipFlags; member
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp133 clipFlags = Pointer<Int>(constants + OFFSET(Constants, maxX))[SignMask(maxX)]; in computeClipFlags()
134 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxY))[SignMask(maxY)]; in computeClipFlags()
135 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxZ))[SignMask(maxZ)]; in computeClipFlags()
136 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minX))[SignMask(minX)]; in computeClipFlags()
137 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minY))[SignMask(minY)]; in computeClipFlags()
138 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minZ))[SignMask(minZ)]; in computeClipFlags()
146 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, fini))[SignMask(finiteXYZ)]; in computeClipFlags()
564 …nt>(vertexCache + sizeof(Vertex) * cacheIndex3 + OFFSET(Vertex, clipFlags)) = (clipFlags >> 24) & … in writeCache()
565 …nt>(vertexCache + sizeof(Vertex) * cacheIndex2 + OFFSET(Vertex, clipFlags)) = (clipFlags >> 16) & … in writeCache()
566 …nt>(vertexCache + sizeof(Vertex) * cacheIndex1 + OFFSET(Vertex, clipFlags)) = (clipFlags >> 8) & 0… in writeCache()
[all …]
DVertexRoutine.hpp60 Int clipFlags; member in sw::VertexRoutine
/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/Device/
DVertex.hpp40 int clipFlags; member
DRenderer.cpp678 if((v0.clipFlags & v1.clipFlags & v2.clipFlags) != Clipper::CLIP_FINITE) in setupSolidTriangles()
683 int clipFlagsOr = v0.clipFlags | v1.clipFlags | v2.clipFlags; in setupSolidTriangles()
/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