Lines Matching refs:rr
32 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type) in mapGLPureIntegerVertexAttributeType()
36 case GL_UNSIGNED_BYTE: return rr::VERTEXATTRIBTYPE_PURE_UINT8; in mapGLPureIntegerVertexAttributeType()
37 case GL_UNSIGNED_SHORT: return rr::VERTEXATTRIBTYPE_PURE_UINT16; in mapGLPureIntegerVertexAttributeType()
38 case GL_UNSIGNED_INT: return rr::VERTEXATTRIBTYPE_PURE_UINT32; in mapGLPureIntegerVertexAttributeType()
39 case GL_BYTE: return rr::VERTEXATTRIBTYPE_PURE_INT8; in mapGLPureIntegerVertexAttributeType()
40 case GL_SHORT: return rr::VERTEXATTRIBTYPE_PURE_INT16; in mapGLPureIntegerVertexAttributeType()
41 case GL_INT: return rr::VERTEXATTRIBTYPE_PURE_INT32; in mapGLPureIntegerVertexAttributeType()
44 return rr::VERTEXATTRIBTYPE_LAST; in mapGLPureIntegerVertexAttributeType()
48 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size… in mapGLFloatVertexAttributeType()
57 return rr::VERTEXATTRIBTYPE_FLOAT; in mapGLFloatVertexAttributeType()
60 return rr::VERTEXATTRIBTYPE_HALF; in mapGLFloatVertexAttributeType()
63 return rr::VERTEXATTRIBTYPE_FIXED; in mapGLFloatVertexAttributeType()
66 return rr::VERTEXATTRIBTYPE_DOUBLE; in mapGLFloatVertexAttributeType()
70 return rr::VERTEXATTRIBTYPE_NONPURE_UINT8; in mapGLFloatVertexAttributeType()
72 …return (!bgraComponentOrder) ? (rr::VERTEXATTRIBTYPE_NONPURE_UNORM8) : (rr::VERTEXATTRIBTYPE_NONPU… in mapGLFloatVertexAttributeType()
76 return rr::VERTEXATTRIBTYPE_NONPURE_UINT16; in mapGLFloatVertexAttributeType()
78 return rr::VERTEXATTRIBTYPE_NONPURE_UNORM16; in mapGLFloatVertexAttributeType()
82 return rr::VERTEXATTRIBTYPE_NONPURE_UINT32; in mapGLFloatVertexAttributeType()
84 return rr::VERTEXATTRIBTYPE_NONPURE_UNORM32; in mapGLFloatVertexAttributeType()
88 return rr::VERTEXATTRIBTYPE_NONPURE_UINT_2_10_10_10_REV; in mapGLFloatVertexAttributeType()
90 …return (!bgraComponentOrder) ? (rr::VERTEXATTRIBTYPE_NONPURE_UNORM_2_10_10_10_REV) : (rr::VERTEXAT… in mapGLFloatVertexAttributeType()
94 return rr::VERTEXATTRIBTYPE_NONPURE_INT8; in mapGLFloatVertexAttributeType()
96 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM8_CLAMP; in mapGLFloatVertexAttributeType()
98 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM8_SCALE; in mapGLFloatVertexAttributeType()
102 return rr::VERTEXATTRIBTYPE_NONPURE_INT16; in mapGLFloatVertexAttributeType()
104 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM16_CLAMP; in mapGLFloatVertexAttributeType()
106 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM16_SCALE; in mapGLFloatVertexAttributeType()
110 return rr::VERTEXATTRIBTYPE_NONPURE_INT32; in mapGLFloatVertexAttributeType()
112 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM32_CLAMP; in mapGLFloatVertexAttributeType()
114 return rr::VERTEXATTRIBTYPE_NONPURE_SNORM32_SCALE; in mapGLFloatVertexAttributeType()
118 return rr::VERTEXATTRIBTYPE_NONPURE_INT_2_10_10_10_REV; in mapGLFloatVertexAttributeType()
120 …return (!bgraComponentOrder) ? (rr::VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_CLAMP) : (rr::VE… in mapGLFloatVertexAttributeType()
122 …return (!bgraComponentOrder) ? (rr::VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_SCALE) : (rr::VE… in mapGLFloatVertexAttributeType()
126 return rr::VERTEXATTRIBTYPE_LAST; in mapGLFloatVertexAttributeType()
146 rr::PrimitiveType mapGLPrimitiveType (deUint32 type) in mapGLPrimitiveType()
150 case GL_TRIANGLES: return rr::PRIMITIVETYPE_TRIANGLES; in mapGLPrimitiveType()
151 case GL_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP; in mapGLPrimitiveType()
152 case GL_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN; in mapGLPrimitiveType()
153 case GL_LINES: return rr::PRIMITIVETYPE_LINES; in mapGLPrimitiveType()
154 case GL_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP; in mapGLPrimitiveType()
155 case GL_LINE_LOOP: return rr::PRIMITIVETYPE_LINE_LOOP; in mapGLPrimitiveType()
156 case GL_POINTS: return rr::PRIMITIVETYPE_POINTS; in mapGLPrimitiveType()
157 case GL_LINES_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY; in mapGLPrimitiveType()
158 case GL_LINE_STRIP_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJACENCY; in mapGLPrimitiveType()
159 case GL_TRIANGLES_ADJACENCY: return rr::PRIMITIVETYPE_TRIANGLES_ADJACENCY; in mapGLPrimitiveType()
160 case GL_TRIANGLE_STRIP_ADJACENCY: return rr::PRIMITIVETYPE_TRIANGLE_STRIP_ADJACENCY; in mapGLPrimitiveType()
163 return rr::PRIMITIVETYPE_LAST; in mapGLPrimitiveType()
167 rr::IndexType mapGLIndexType (deUint32 type) in mapGLIndexType()
171 case GL_UNSIGNED_BYTE: return rr::INDEXTYPE_UINT8; in mapGLIndexType()
172 case GL_UNSIGNED_SHORT: return rr::INDEXTYPE_UINT16; in mapGLIndexType()
173 case GL_UNSIGNED_INT: return rr::INDEXTYPE_UINT32; in mapGLIndexType()
176 return rr::INDEXTYPE_LAST; in mapGLIndexType()
181 rr::GeometryShaderOutputType mapGLGeometryShaderOutputType (deUint32 primitive) in mapGLGeometryShaderOutputType()
185 case GL_POINTS: return rr::GEOMETRYSHADEROUTPUTTYPE_POINTS; in mapGLGeometryShaderOutputType()
186 case GL_LINE_STRIP: return rr::GEOMETRYSHADEROUTPUTTYPE_LINE_STRIP; in mapGLGeometryShaderOutputType()
187 case GL_TRIANGLE_STRIP: return rr::GEOMETRYSHADEROUTPUTTYPE_TRIANGLE_STRIP; in mapGLGeometryShaderOutputType()
190 return rr::GEOMETRYSHADEROUTPUTTYPE_LAST; in mapGLGeometryShaderOutputType()
194 rr::GeometryShaderInputType mapGLGeometryShaderInputType (deUint32 primitive) in mapGLGeometryShaderInputType()
198 case GL_POINTS: return rr::GEOMETRYSHADERINPUTTYPE_POINTS; in mapGLGeometryShaderInputType()
199 case GL_LINES: return rr::GEOMETRYSHADERINPUTTYPE_LINES; in mapGLGeometryShaderInputType()
200 case GL_LINE_STRIP: return rr::GEOMETRYSHADERINPUTTYPE_LINES; in mapGLGeometryShaderInputType()
201 case GL_LINE_LOOP: return rr::GEOMETRYSHADERINPUTTYPE_LINES; in mapGLGeometryShaderInputType()
202 case GL_TRIANGLES: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES; in mapGLGeometryShaderInputType()
203 case GL_TRIANGLE_STRIP: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES; in mapGLGeometryShaderInputType()
204 case GL_TRIANGLE_FAN: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES; in mapGLGeometryShaderInputType()
205 case GL_LINES_ADJACENCY: return rr::GEOMETRYSHADERINPUTTYPE_LINES_ADJACENCY; in mapGLGeometryShaderInputType()
206 case GL_LINE_STRIP_ADJACENCY: return rr::GEOMETRYSHADERINPUTTYPE_LINES_ADJACENCY; in mapGLGeometryShaderInputType()
207 case GL_TRIANGLES_ADJACENCY: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES_ADJACENCY; in mapGLGeometryShaderInputType()
208 case GL_TRIANGLE_STRIP_ADJACENCY: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES_ADJACENCY; in mapGLGeometryShaderInputType()
211 return rr::GEOMETRYSHADERINPUTTYPE_LAST; in mapGLGeometryShaderInputType()
215 rr::TestFunc mapGLTestFunc (deUint32 func) in mapGLTestFunc()
219 case GL_ALWAYS: return rr::TESTFUNC_ALWAYS; in mapGLTestFunc()
220 case GL_EQUAL: return rr::TESTFUNC_EQUAL; in mapGLTestFunc()
221 case GL_GEQUAL: return rr::TESTFUNC_GEQUAL; in mapGLTestFunc()
222 case GL_GREATER: return rr::TESTFUNC_GREATER; in mapGLTestFunc()
223 case GL_LEQUAL: return rr::TESTFUNC_LEQUAL; in mapGLTestFunc()
224 case GL_LESS: return rr::TESTFUNC_LESS; in mapGLTestFunc()
225 case GL_NEVER: return rr::TESTFUNC_NEVER; in mapGLTestFunc()
226 case GL_NOTEQUAL: return rr::TESTFUNC_NOTEQUAL; in mapGLTestFunc()
229 return rr::TESTFUNC_LAST; in mapGLTestFunc()
233 rr::StencilOp mapGLStencilOp (deUint32 op) in mapGLStencilOp()
237 case GL_KEEP: return rr::STENCILOP_KEEP; in mapGLStencilOp()
238 case GL_ZERO: return rr::STENCILOP_ZERO; in mapGLStencilOp()
239 case GL_REPLACE: return rr::STENCILOP_REPLACE; in mapGLStencilOp()
240 case GL_INCR: return rr::STENCILOP_INCR; in mapGLStencilOp()
241 case GL_DECR: return rr::STENCILOP_DECR; in mapGLStencilOp()
242 case GL_INCR_WRAP: return rr::STENCILOP_INCR_WRAP; in mapGLStencilOp()
243 case GL_DECR_WRAP: return rr::STENCILOP_DECR_WRAP; in mapGLStencilOp()
244 case GL_INVERT: return rr::STENCILOP_INVERT; in mapGLStencilOp()
247 return rr::STENCILOP_LAST; in mapGLStencilOp()
251 rr::BlendEquation mapGLBlendEquation (deUint32 equation) in mapGLBlendEquation()
255 case GL_FUNC_ADD: return rr::BLENDEQUATION_ADD; in mapGLBlendEquation()
256 case GL_FUNC_SUBTRACT: return rr::BLENDEQUATION_SUBTRACT; in mapGLBlendEquation()
257 case GL_FUNC_REVERSE_SUBTRACT: return rr::BLENDEQUATION_REVERSE_SUBTRACT; in mapGLBlendEquation()
258 case GL_MIN: return rr::BLENDEQUATION_MIN; in mapGLBlendEquation()
259 case GL_MAX: return rr::BLENDEQUATION_MAX; in mapGLBlendEquation()
262 return rr::BLENDEQUATION_LAST; in mapGLBlendEquation()
266 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation) in mapGLBlendEquationAdvanced()
270 case GL_MULTIPLY_KHR: return rr::BLENDEQUATION_ADVANCED_MULTIPLY; in mapGLBlendEquationAdvanced()
271 case GL_SCREEN_KHR: return rr::BLENDEQUATION_ADVANCED_SCREEN; in mapGLBlendEquationAdvanced()
272 case GL_OVERLAY_KHR: return rr::BLENDEQUATION_ADVANCED_OVERLAY; in mapGLBlendEquationAdvanced()
273 case GL_DARKEN_KHR: return rr::BLENDEQUATION_ADVANCED_DARKEN; in mapGLBlendEquationAdvanced()
274 case GL_LIGHTEN_KHR: return rr::BLENDEQUATION_ADVANCED_LIGHTEN; in mapGLBlendEquationAdvanced()
275 case GL_COLORDODGE_KHR: return rr::BLENDEQUATION_ADVANCED_COLORDODGE; in mapGLBlendEquationAdvanced()
276 case GL_COLORBURN_KHR: return rr::BLENDEQUATION_ADVANCED_COLORBURN; in mapGLBlendEquationAdvanced()
277 case GL_HARDLIGHT_KHR: return rr::BLENDEQUATION_ADVANCED_HARDLIGHT; in mapGLBlendEquationAdvanced()
278 case GL_SOFTLIGHT_KHR: return rr::BLENDEQUATION_ADVANCED_SOFTLIGHT; in mapGLBlendEquationAdvanced()
279 case GL_DIFFERENCE_KHR: return rr::BLENDEQUATION_ADVANCED_DIFFERENCE; in mapGLBlendEquationAdvanced()
280 case GL_EXCLUSION_KHR: return rr::BLENDEQUATION_ADVANCED_EXCLUSION; in mapGLBlendEquationAdvanced()
281 case GL_HSL_HUE_KHR: return rr::BLENDEQUATION_ADVANCED_HSL_HUE; in mapGLBlendEquationAdvanced()
282 case GL_HSL_SATURATION_KHR: return rr::BLENDEQUATION_ADVANCED_HSL_SATURATION; in mapGLBlendEquationAdvanced()
283 case GL_HSL_COLOR_KHR: return rr::BLENDEQUATION_ADVANCED_HSL_COLOR; in mapGLBlendEquationAdvanced()
284 case GL_HSL_LUMINOSITY_KHR: return rr::BLENDEQUATION_ADVANCED_HSL_LUMINOSITY; in mapGLBlendEquationAdvanced()
287 return rr::BLENDEQUATION_ADVANCED_LAST; in mapGLBlendEquationAdvanced()
291 rr::BlendFunc mapGLBlendFunc (deUint32 func) in mapGLBlendFunc()
295 case GL_ZERO: return rr::BLENDFUNC_ZERO; in mapGLBlendFunc()
296 case GL_ONE: return rr::BLENDFUNC_ONE; in mapGLBlendFunc()
297 case GL_SRC_COLOR: return rr::BLENDFUNC_SRC_COLOR; in mapGLBlendFunc()
298 case GL_ONE_MINUS_SRC_COLOR: return rr::BLENDFUNC_ONE_MINUS_SRC_COLOR; in mapGLBlendFunc()
299 case GL_DST_COLOR: return rr::BLENDFUNC_DST_COLOR; in mapGLBlendFunc()
300 case GL_ONE_MINUS_DST_COLOR: return rr::BLENDFUNC_ONE_MINUS_DST_COLOR; in mapGLBlendFunc()
301 case GL_SRC_ALPHA: return rr::BLENDFUNC_SRC_ALPHA; in mapGLBlendFunc()
302 case GL_ONE_MINUS_SRC_ALPHA: return rr::BLENDFUNC_ONE_MINUS_SRC_ALPHA; in mapGLBlendFunc()
303 case GL_DST_ALPHA: return rr::BLENDFUNC_DST_ALPHA; in mapGLBlendFunc()
304 case GL_ONE_MINUS_DST_ALPHA: return rr::BLENDFUNC_ONE_MINUS_DST_ALPHA; in mapGLBlendFunc()
305 case GL_CONSTANT_COLOR: return rr::BLENDFUNC_CONSTANT_COLOR; in mapGLBlendFunc()
306 case GL_ONE_MINUS_CONSTANT_COLOR: return rr::BLENDFUNC_ONE_MINUS_CONSTANT_COLOR; in mapGLBlendFunc()
307 case GL_CONSTANT_ALPHA: return rr::BLENDFUNC_CONSTANT_ALPHA; in mapGLBlendFunc()
308 case GL_ONE_MINUS_CONSTANT_ALPHA: return rr::BLENDFUNC_ONE_MINUS_CONSTANT_ALPHA; in mapGLBlendFunc()
309 case GL_SRC_ALPHA_SATURATE: return rr::BLENDFUNC_SRC_ALPHA_SATURATE; in mapGLBlendFunc()
310 case GL_SRC1_COLOR: return rr::BLENDFUNC_SRC1_COLOR; in mapGLBlendFunc()
311 case GL_ONE_MINUS_SRC1_COLOR: return rr::BLENDFUNC_ONE_MINUS_SRC1_COLOR; in mapGLBlendFunc()
312 case GL_SRC1_ALPHA: return rr::BLENDFUNC_SRC1_ALPHA; in mapGLBlendFunc()
313 case GL_ONE_MINUS_SRC1_ALPHA: return rr::BLENDFUNC_ONE_MINUS_SRC1_ALPHA; in mapGLBlendFunc()
316 return rr::BLENDFUNC_LAST; in mapGLBlendFunc()