• Home
  • Raw
  • Download

Lines Matching refs:rr

98 	rr::FaceType	visibleFace;			//!< Quad visible face.
101 StencilParams stencil[rr::FACETYPE_LAST];
109 : visibleFace (rr::FACETYPE_LAST) in DepthStencilParams()
138 log << params.stencil[rr::FACETYPE_FRONT]; in operator <<()
141 log << params.stencil[rr::FACETYPE_BACK]; in operator <<()
153 …log << TestLog::Message << "Triangles are " << (params.visibleFace == rr::FACETYPE_FRONT ? "front"… in operator <<()
160 rr::WindowRectangle rect;
174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand()
189 rr::WindowRectangle rect;
202 rr::FragmentOperationState state;
266 …clearCommands.push_back(ClearCommand(rr::WindowRectangle(0, 0, target.width, target.height), GL_CO… in generateBaseClearAndDepthCommands()
292 rr::WindowRectangle cellL1Rect (x, y, cellL1Width, cellL1Height); in generateBaseClearAndDepthCommands()
297 renderCmd.params.visibleFace = rr::FACETYPE_FRONT; in generateBaseClearAndDepthCommands()
323 cmd.params.visibleFace = rr::FACETYPE_FRONT; in generateDepthVisualizeCommands()
324 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateDepthVisualizeCommands()
348 cmd.params.visibleFace = rr::FACETYPE_FRONT; in generateStencilVisualizeCommands()
349 cmd.rect = rr::WindowRectangle(0, 0, target.width, target.height); in generateStencilVisualizeCommands()
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()
368 void translateStencilState (const StencilParams& src, rr::StencilState& dst) in translateStencilState()
385 bool isFrontFacing = src.params.visibleFace == rr::FACETYPE_FRONT; in translateCommand()
398 dst.state.blendMode = rr::BLENDMODE_NONE; in translateCommand()
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()
440 for (int face = 0; face < rr::FACETYPE_LAST; face++) in render()
442 deUint32 glFace = face == rr::FACETYPE_BACK ? GL_BACK : GL_FRONT; in render()
470 bool isFrontFacing = command.params.visibleFace == rr::FACETYPE_FRONT; in render()
625 testCmd.rect = rr::WindowRectangle(0, 0, m_renderTarget.width, m_renderTarget.height); in iterate()
755 params.visibleFace = rnd.getBool() ? rr::FACETYPE_FRONT : rr::FACETYPE_BACK; in randomDepthStencilState()
817 rr::FaceType visibleFace; in init()
827 { rr::FACETYPE_BACK, GL_DECR, GL_INCR, GL_INVERT, 4, ~0u, ~0u, -0.7f }, in init()
828 { rr::FACETYPE_FRONT, GL_DECR, GL_INCR, GL_INVERT, 2, ~0u, ~0u, 0.0f }, in init()
829 { rr::FACETYPE_BACK, GL_DECR, GL_INCR, GL_INVERT, 1, ~0u, ~0u, 0.2f }, in init()
830 { rr::FACETYPE_FRONT, GL_DECR_WRAP, GL_INVERT, GL_REPLACE, 4, ~0u, ~0u, 1.0f } in init()
867 rr::FaceType visible = functionCases[ndx].visibleFace; in init()
868rr::FaceType notVisible = visible == rr::FACETYPE_FRONT ? rr::FACETYPE_BACK : rr::FACETYPE_FRONT; in init()
900 rr::FaceType visibleFace; in init()
907 { rr::FACETYPE_BACK, GL_LESS, 4, ~0u, ~0u }, in init()
908 { rr::FACETYPE_FRONT, GL_GREATER, 2, ~0u, ~0u }, in init()
909 { rr::FACETYPE_BACK, GL_EQUAL, 3, ~2u, ~0u }, in init()
910 { rr::FACETYPE_FRONT, GL_NOTEQUAL, 1, ~0u, ~1u } in init()
939 rr::FaceType visible = opCombinationCases[ndx].visibleFace; in init()
940rr::FaceType notVisible = visible == rr::FACETYPE_FRONT ? rr::FACETYPE_BACK : rr::FACETYPE_FRONT; 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()
1003 params.visibleFace = rr::FACETYPE_FRONT; in init()
1008 params.visibleFace = rr::FACETYPE_FRONT; in init()
1013 params.visibleFace = rr::FACETYPE_BACK; in init()
1018 params.visibleFace = rr::FACETYPE_BACK; in init()
1029 rr::FaceType visibleFace; in init()
1034 { rr::FACETYPE_FRONT, ~0u, 0u }, in init()
1035 { rr::FACETYPE_FRONT, 0u, ~0u }, in init()
1036 { rr::FACETYPE_FRONT, 0xfu, 0xf0u }, in init()
1037 { rr::FACETYPE_FRONT, 0x2u, 0x4u }, in init()
1038 { rr::FACETYPE_BACK, 0u, ~0u }, in init()
1039 { rr::FACETYPE_BACK, ~0u, 0u }, in init()
1040 { rr::FACETYPE_BACK, 0xf0u, 0xfu }, in init()
1041 { rr::FACETYPE_BACK, 0x4u, 0x2u } 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()
1083 rr::FaceType visibleFace; in init()
1088 { false, rr::FACETYPE_FRONT, ~0u, 0u }, in init()
1089 { false, rr::FACETYPE_FRONT, 0u, ~0u }, in init()
1090 { false, rr::FACETYPE_FRONT, 0xfu, 0xf0u }, in init()
1091 { true, rr::FACETYPE_FRONT, ~0u, 0u }, in init()
1092 { true, rr::FACETYPE_FRONT, 0u, ~0u }, in init()
1093 { true, rr::FACETYPE_FRONT, 0xfu, 0xf0u }, in init()
1094 { false, rr::FACETYPE_BACK, 0u, ~0u }, in init()
1095 { false, rr::FACETYPE_BACK, ~0u, 0u }, in init()
1096 { false, rr::FACETYPE_BACK, 0xf0u, 0xfu }, in init()
1097 { true, rr::FACETYPE_BACK, 0u, ~0u }, in init()
1098 { true, rr::FACETYPE_BACK, ~0u, 0u }, in init()
1099 { true, rr::FACETYPE_BACK, 0xf0u, 0xfu } 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()