Home
last modified time | relevance | path

Searched refs:scissorInFixedPoint (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer.cpp69 const SWR_RECT& scissorInFixedPoint = in RasterizeLine() local
169 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
170 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
171 bboxA.ymin > macroBoxBottom || bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine()
172 bboxA.ymax - 1 < macroBoxTop || bboxA.ymax - 1 < scissorInFixedPoint.ymin)) in RasterizeLine()
239 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
240 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
241 bboxA.ymin > macroBoxBottom || bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine()
242 bboxA.ymax - 1 < macroBoxTop || bboxA.ymax - 1 < scissorInFixedPoint.ymin)) in RasterizeLine()
Dapi.cpp786 SWR_RECT& scissorInFixedPoint = pState->scissorsInFixedPoint[index]; in SetupMacroTileScissors() local
791 scissorInFixedPoint = pState->scissorRects[index]; in SetupMacroTileScissors()
798 scissorInFixedPoint.xmin = (int32_t)pState->vp[index].x; in SetupMacroTileScissors()
799 scissorInFixedPoint.xmax = (int32_t)(pState->vp[index].x + pState->vp[index].width); in SetupMacroTileScissors()
800 scissorInFixedPoint.ymin = (int32_t)pState->vp[index].y; in SetupMacroTileScissors()
801 scissorInFixedPoint.ymax = (int32_t)(pState->vp[index].y + pState->vp[index].height); in SetupMacroTileScissors()
805 scissorInFixedPoint &= g_MaxScissorRect; in SetupMacroTileScissors()
809 tileAligned = (scissorInFixedPoint.xmin % KNOB_TILE_X_DIM) == 0; in SetupMacroTileScissors()
810 tileAligned &= (scissorInFixedPoint.ymin % KNOB_TILE_Y_DIM) == 0; in SetupMacroTileScissors()
811 tileAligned &= (scissorInFixedPoint.xmax % KNOB_TILE_X_DIM) == 0; in SetupMacroTileScissors()
[all …]
Drasterizer_impl.h1064 const SWR_RECT& scissorInFixedPoint =
1075 SWR_ASSERT(scissorInFixedPoint.xmin >= 0 && scissorInFixedPoint.ymin >= 0,
1081 intersect.xmin = std::max(bbox.xmin, scissorInFixedPoint.xmin);
1082 intersect.xmax = std::min(bbox.xmax - 1, scissorInFixedPoint.xmax);
1083 intersect.ymin = std::max(bbox.ymin, scissorInFixedPoint.ymin);
1084 intersect.ymax = std::min(bbox.ymax - 1, scissorInFixedPoint.ymax);
1194 bbox, scissorInFixedPoint, x, y, rastEdges, vEdgeFix16);