Lines Matching refs:stencil
101 StencilParams stencil[rr::FACETYPE_LAST]; member
138 log << params.stencil[rr::FACETYPE_FRONT]; in operator <<()
141 log << params.stencil[rr::FACETYPE_BACK]; in operator <<()
163 int stencil; member
170 , stencil (0) in ClearCommand()
181 , stencil (stencil_) in ClearCommand()
354 cmd.params.stencil[rr::FACETYPE_FRONT].function = GL_EQUAL; in generateStencilVisualizeCommands()
355 cmd.params.stencil[rr::FACETYPE_FRONT].reference = stencilValues[ndx]; in generateStencilVisualizeCommands()
356 cmd.params.stencil[rr::FACETYPE_FRONT].compareMask = ~0u; in generateStencilVisualizeCommands()
357 cmd.params.stencil[rr::FACETYPE_FRONT].stencilFailOp = GL_KEEP; in generateStencilVisualizeCommands()
358 cmd.params.stencil[rr::FACETYPE_FRONT].depthFailOp = GL_KEEP; in generateStencilVisualizeCommands()
359 cmd.params.stencil[rr::FACETYPE_FRONT].depthPassOp = GL_KEEP; in generateStencilVisualizeCommands()
360 cmd.params.stencil[rr::FACETYPE_FRONT].writeMask = 0u; in generateStencilVisualizeCommands()
362 cmd.params.stencil[rr::FACETYPE_BACK] = cmd.params.stencil[rr::FACETYPE_FRONT]; in generateStencilVisualizeCommands()
409 …translateStencilState(src.params.stencil[rr::FACETYPE_BACK], dst.state.stencilStates[rr::FACETYPE_… in translateCommand()
410 …translateStencilState(src.params.stencil[rr::FACETYPE_FRONT], dst.state.stencilStates[rr::FACETYPE… in translateCommand()
423 if (clear.buffers & GL_STENCIL_BUFFER_BIT) glClearStencil(clear.stencil); in render()
443 const StencilParams& sParams = command.params.stencil[face]; in render()
492 int maskedVal = clear.stencil & ((1<<stencilBits)-1); in renderReference()
763 …params.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(co… in randomDepthStencilState()
764 params.stencil[ndx].reference = rnd.getInt(-2, 260); in randomDepthStencilState()
765 params.stencil[ndx].compareMask = rnd.getUint32(); in randomDepthStencilState()
766 …params.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(… in randomDepthStencilState()
767 …params.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState()
768 …params.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState()
769 params.stencil[ndx].writeMask = rnd.getUint32(); in randomDepthStencilState()
873 params.stencil[visible].function = hasStencilFunc ? compareFuncs[stencilFunc].func : 0; in init()
874 params.stencil[visible].reference = functionCases[ndx].stencilRef; in init()
875 params.stencil[visible].stencilFailOp = functionCases[ndx].sFail; in init()
876 params.stencil[visible].depthFailOp = functionCases[ndx].dFail; in init()
877 params.stencil[visible].depthPassOp = functionCases[ndx].dPass; in init()
878 params.stencil[visible].compareMask = functionCases[ndx].compareMask; in init()
879 params.stencil[visible].writeMask = functionCases[ndx].writeMask; in init()
881 params.stencil[notVisible].function = GL_ALWAYS; in init()
882 params.stencil[notVisible].reference = 0; in init()
883 params.stencil[notVisible].stencilFailOp = GL_REPLACE; in init()
884 params.stencil[notVisible].depthFailOp = GL_REPLACE; in init()
885 params.stencil[notVisible].depthPassOp = GL_REPLACE; in init()
886 params.stencil[notVisible].compareMask = 0u; in init()
887 params.stencil[notVisible].writeMask = ~0u; in init()
944 params.stencil[visible].function = opCombinationCases[ndx].func; in init()
945 params.stencil[visible].reference = opCombinationCases[ndx].ref; in init()
946 params.stencil[visible].stencilFailOp = stencilOps[sFail].op; in init()
947 params.stencil[visible].depthFailOp = stencilOps[dFail].op; in init()
948 params.stencil[visible].depthPassOp = stencilOps[dPass].op; in init()
949 params.stencil[visible].compareMask = opCombinationCases[ndx].compareMask; in init()
950 params.stencil[visible].writeMask = opCombinationCases[ndx].writeMask; in init()
952 params.stencil[notVisible].function = GL_ALWAYS; in init()
953 params.stencil[notVisible].reference = 0; in init()
954 params.stencil[notVisible].stencilFailOp = GL_REPLACE; in init()
955 params.stencil[notVisible].depthFailOp = GL_REPLACE; in init()
956 params.stencil[notVisible].depthPassOp = GL_REPLACE; in init()
957 params.stencil[notVisible].compareMask = 0u; in init()
958 params.stencil[notVisible].writeMask = ~0u; in init()
984 params.stencil[rr::FACETYPE_FRONT].function = GL_NOTEQUAL; in init()
985 params.stencil[rr::FACETYPE_FRONT].reference = 1; in init()
986 params.stencil[rr::FACETYPE_FRONT].stencilFailOp = GL_INVERT; in init()
987 params.stencil[rr::FACETYPE_FRONT].depthFailOp = GL_INCR; in init()
988 params.stencil[rr::FACETYPE_FRONT].depthPassOp = GL_DECR; in init()
989 params.stencil[rr::FACETYPE_FRONT].compareMask = ~0u; in init()
990 params.stencil[rr::FACETYPE_FRONT].writeMask = ~0u; in init()
992 params.stencil[rr::FACETYPE_BACK].function = GL_ALWAYS; in init()
993 params.stencil[rr::FACETYPE_BACK].reference = 0; in init()
994 params.stencil[rr::FACETYPE_BACK].stencilFailOp = GL_REPLACE; in init()
995 params.stencil[rr::FACETYPE_BACK].depthFailOp = GL_INVERT; in init()
996 params.stencil[rr::FACETYPE_BACK].depthPassOp = GL_INCR; in init()
997 params.stencil[rr::FACETYPE_BACK].compareMask = ~0u; in init()
998 params.stencil[rr::FACETYPE_BACK].writeMask = ~0u; in init()
1052 params.stencil[rr::FACETYPE_FRONT].function = GL_NOTEQUAL; in init()
1053 params.stencil[rr::FACETYPE_FRONT].reference = 1; in init()
1054 params.stencil[rr::FACETYPE_FRONT].stencilFailOp = GL_INVERT; in init()
1055 params.stencil[rr::FACETYPE_FRONT].depthFailOp = GL_INCR; in init()
1056 params.stencil[rr::FACETYPE_FRONT].depthPassOp = GL_DECR; in init()
1057 params.stencil[rr::FACETYPE_FRONT].compareMask = ~0u; in init()
1059 params.stencil[rr::FACETYPE_BACK].function = GL_ALWAYS; in init()
1060 params.stencil[rr::FACETYPE_BACK].reference = 0; in init()
1061 params.stencil[rr::FACETYPE_BACK].stencilFailOp = GL_REPLACE; in init()
1062 params.stencil[rr::FACETYPE_BACK].depthFailOp = GL_INVERT; in init()
1063 params.stencil[rr::FACETYPE_BACK].depthPassOp = GL_INCR; in init()
1064 params.stencil[rr::FACETYPE_BACK].compareMask = ~0u; in init()
1070 params.stencil[rr::FACETYPE_FRONT].writeMask = stencilWmaskCases[ndx].frontWriteMask; in init()
1071 params.stencil[rr::FACETYPE_BACK].writeMask = stencilWmaskCases[ndx].backWriteMask; in init()
1110 params.stencil[rr::FACETYPE_FRONT].function = GL_NOTEQUAL; in init()
1111 params.stencil[rr::FACETYPE_FRONT].reference = 1; in init()
1112 params.stencil[rr::FACETYPE_FRONT].stencilFailOp = GL_INVERT; in init()
1113 params.stencil[rr::FACETYPE_FRONT].depthFailOp = GL_INCR; in init()
1114 params.stencil[rr::FACETYPE_FRONT].depthPassOp = GL_DECR; in init()
1115 params.stencil[rr::FACETYPE_FRONT].compareMask = ~0u; in init()
1117 params.stencil[rr::FACETYPE_BACK].function = GL_ALWAYS; in init()
1118 params.stencil[rr::FACETYPE_BACK].reference = 0; in init()
1119 params.stencil[rr::FACETYPE_BACK].stencilFailOp = GL_REPLACE; in init()
1120 params.stencil[rr::FACETYPE_BACK].depthFailOp = GL_INVERT; in init()
1121 params.stencil[rr::FACETYPE_BACK].depthPassOp = GL_INCR; in init()
1122 params.stencil[rr::FACETYPE_BACK].compareMask = ~0u; in init()
1129 params.stencil[rr::FACETYPE_FRONT].writeMask = depthStencilWmaskCases[ndx].frontWriteMask; in init()
1130 params.stencil[rr::FACETYPE_BACK].writeMask = depthStencilWmaskCases[ndx].backWriteMask; in init()