/external/swiftshader/src/Device/ |
D | Clipper.cpp | 54 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()
|
D | Renderer.cpp | 176 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 …]
|
D | Vertex.hpp | 91 int clipFlags;
|
D | Renderer.hpp | 368 int clipFlags; member in sw::Renderer 474 AtomicInt clipFlags; member
|
/external/swiftshader/src/Renderer/ |
D | Clipper.cpp | 63 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()
|
D | Renderer.cpp | 202 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 …]
|
D | Vertex.hpp | 91 int clipFlags;
|
D | Renderer.hpp | 401 int clipFlags; member in sw::Renderer 507 AtomicInt clipFlags; member
|
/external/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 120 …clipFlags = *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 …]
|
D | VertexRoutine.hpp | 49 Int clipFlags; member in sw::VertexRoutine
|
/external/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 120 …clipFlags = *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 …]
|
D | VertexRoutine.hpp | 49 Int clipFlags; member in sw::VertexRoutine
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 220 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()
|
D | Context.h | 653 int clipFlags; variable
|