/external/mesa3d/src/mesa/main/ |
D | formats.c | 637 GL_FLOAT, 646 GL_FLOAT, 655 GL_FLOAT, 664 GL_FLOAT, 673 GL_FLOAT, 682 GL_FLOAT, 691 GL_FLOAT, 700 GL_FLOAT, 709 GL_FLOAT, 718 GL_FLOAT, [all …]
|
D | arrayobj.c | 222 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_WEIGHT], 1, GL_FLOAT); in _mesa_initialize_array_object() 225 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_NORMAL], 3, GL_FLOAT); in _mesa_initialize_array_object() 228 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR1], 3, GL_FLOAT); in _mesa_initialize_array_object() 231 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_FOG], 1, GL_FLOAT); in _mesa_initialize_array_object() 234 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX], 1, GL_FLOAT); in _mesa_initialize_array_object() 241 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_POINT_SIZE], 1, GL_FLOAT); in _mesa_initialize_array_object() 245 init_array(ctx, &obj->VertexAttrib[i], 4, GL_FLOAT); in _mesa_initialize_array_object()
|
D | glformats.c | 90 case GL_FLOAT: in _mesa_sizeof_type() 128 case GL_FLOAT: in _mesa_sizeof_packed_type() 242 case GL_FLOAT: in _mesa_bytes_per_pixel() 1110 case GL_FLOAT: in _mesa_error_check_format_and_type() 1136 case GL_FLOAT: in _mesa_error_check_format_and_type() 1155 case GL_FLOAT: in _mesa_error_check_format_and_type() 1172 case GL_FLOAT: in _mesa_error_check_format_and_type() 1202 case GL_FLOAT: in _mesa_error_check_format_and_type() 1221 case GL_FLOAT: in _mesa_error_check_format_and_type() 1268 case GL_FLOAT: in _mesa_error_check_format_and_type()
|
/external/autotest/client/deps/glbench/src/ |
D | windowmanagercompositingtest.cc | 141 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in BasicTextureShaderProgram() 147 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in BasicTextureShaderProgram() 191 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in DoubleTextureBlendShaderProgram() 197 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in DoubleTextureBlendShaderProgram() 202 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in DoubleTextureBlendShaderProgram() 257 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in TripleTextureBlendShaderProgram() 263 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in TripleTextureBlendShaderProgram() 268 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in TripleTextureBlendShaderProgram() 273 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in TripleTextureBlendShaderProgram()
|
D | fillratetest.cc | 94 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); in Run() 108 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); in Run() 114 glVertexAttribPointer(texcoord_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); in Run() 172 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); in Run() 177 glVertexAttribPointer(texcoord_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); in Run()
|
D | texturetest.cc | 50 glVertexAttribPointer(attr1, 2, GL_FLOAT, GL_FALSE, 0, kVertices); in Run() 54 glVertexAttribPointer(attr2, 2, GL_FLOAT, GL_FALSE, 0, kTexCoords); in Run()
|
D | varyingsandddxytest.cc | 130 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in VaryingsShaderProgram() 158 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, NULL); in DdxDdyShaderProgram()
|
/external/deqp/modules/gles3/performance/ |
D | es3pRedundantStateChangeTests.cpp | 149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 277 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 317 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 354 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 397 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 434 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 471 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 512 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() [all …]
|
D | es3pStateChangeTests.cpp | 158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 301 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 346 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 388 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 436 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 478 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 520 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 566 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pRedundantStateChangeTests.cpp | 149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 277 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 317 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 354 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 397 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 438 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 481 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 518 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() [all …]
|
D | es2pStateChangeTests.cpp | 158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 301 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 346 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 388 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 436 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 482 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 530 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() 572 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init() [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 29 #define ATTR1FV( A, V ) ATTR( A, 1, GL_FLOAT, (V)[0], 0, 0, 1 ) 30 #define ATTR2FV( A, V ) ATTR( A, 2, GL_FLOAT, (V)[0], (V)[1], 0, 1 ) 31 #define ATTR3FV( A, V ) ATTR( A, 3, GL_FLOAT, (V)[0], (V)[1], (V)[2], 1 ) 32 #define ATTR4FV( A, V ) ATTR( A, 4, GL_FLOAT, (V)[0], (V)[1], (V)[2], (V)[3] ) 34 #define ATTR1F( A, X ) ATTR( A, 1, GL_FLOAT, X, 0, 0, 1 ) 35 #define ATTR2F( A, X, Y ) ATTR( A, 2, GL_FLOAT, X, Y, 0, 1 ) 36 #define ATTR3F( A, X, Y, Z ) ATTR( A, 3, GL_FLOAT, X, Y, Z, 1 ) 37 #define ATTR4F( A, X, Y, Z, W ) ATTR( A, 4, GL_FLOAT, X, Y, Z, W ) 68 #define MAT_ATTR( A, N, V ) ATTR( A, N, GL_FLOAT, (V)[0], (V)[1], (V)[2], (V)[3] ) 80 #define ATTRUI10_1( A, UI ) ATTR( A, 1, GL_FLOAT, (UI) & 0x3ff, 0, 0, 1 ) [all …]
|
D | vbo_context.h | 162 case GL_FLOAT: in vbo_attrtype_to_integer_flag() 186 case GL_FLOAT: in vbo_get_default_vals_as_float()
|
D | vbo_context.c | 67 cl->Type = GL_FLOAT; in init_legacy_currval() 91 cl->Type = GL_FLOAT; in init_generic_currval() 139 cl->Type = GL_FLOAT; in init_mat_currval()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_swtnl_t.c | 36 case GL_FLOAT: in swtnl_get_format() 66 .type = GL_FLOAT, 70 .type = GL_FLOAT, 82 .type = GL_FLOAT, 86 .type = GL_FLOAT, 90 .type = GL_FLOAT, 94 .type = GL_FLOAT, 98 .type = GL_FLOAT,
|
/external/deqp/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 341 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo() 345 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo() 357 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo() 641 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo() 642 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo() 643 gl.glVertexAttribFormat(offsetLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4)); in renderTo() 914 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo() 920 …gl.glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, glw::GLsizei(2 * sizeof(tcu::Vec4)), DE_… in renderTo() 921 …gl.glVertexAttribPointer(offsetLoc, 4, GL_FLOAT, GL_FALSE, glw::GLsizei(2 * sizeof(tcu::Vec4)), (d… in renderTo() 936 gl.glVertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo() [all …]
|
D | es31fNegativeVertexArrayApiTests.cpp | 226 ctx.glVertexAttribFormat(maxVertexAttribs, 4, GL_FLOAT, GL_FALSE, maxVertexAttribRelativeOffset); in vertex_attrib_format() 234 ctx.glVertexAttribFormat(1, 0, GL_FLOAT, GL_FALSE, maxVertexAttribRelativeOffset); in vertex_attrib_format() 250 ctx.glVertexAttribFormat(1, 4, GL_FLOAT, GL_FALSE, 0); in vertex_attrib_format() 274 ctx.glVertexAttribFormat(1, 4, GL_FLOAT, GL_FALSE, maxVertexAttribRelativeOffset + 1); in vertex_attrib_format() 305 ctx.glVertexAttribIFormat(1, 4, GL_FLOAT, 0); in vertex_attrib_i_format() 498 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); in draw_elements() 566 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); in draw_elements_invalid_program() 608 ctx.glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, vertices); in draw_elements_incomplete_primitive() 677 ctx.glDrawElementsBaseVertex(GL_POINTS, 1, GL_FLOAT, vertices, 1); in draw_elements_base_vertex() 824 ctx.glDrawElementsInstanced(GL_POINTS, 1, GL_FLOAT, vertices, 1); in draw_elements_instanced() [all …]
|
/external/mesa3d/src/glx/ |
D | vertarr.c | 108 #define F(x) {GL_FLOAT, x, x * sizeof(GLfloat)} in __indirect_glInterleavedArrays() 194 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, in __indirect_glInterleavedArrays() 205 __indirect_glNormalPointer(GL_FLOAT, trueStride, in __indirect_glInterleavedArrays() 209 __indirect_glVertexPointer(modes[idx][3].count, GL_FLOAT, in __indirect_glInterleavedArrays()
|
D | indirect_vertex_array.c | 211 arrays->arrays[0].data_type = GL_FLOAT; in __glXInitVertexArrayState() 217 arrays->arrays[1].data_type = GL_FLOAT; in __glXInitVertexArrayState() 223 arrays->arrays[2].data_type = GL_FLOAT; in __glXInitVertexArrayState() 234 arrays->arrays[4 + i].data_type = GL_FLOAT; in __glXInitVertexArrayState() 247 arrays->arrays[i].data_type = GL_FLOAT; in __glXInitVertexArrayState() 255 arrays->arrays[i].data_type = GL_FLOAT; in __glXInitVertexArrayState() 268 arrays->arrays[idx + i].data_type = GL_FLOAT; in __glXInitVertexArrayState() 285 arrays->arrays[i].data_type = GL_FLOAT; in __glXInitVertexArrayState() 1140 case GL_FLOAT: in __indirect_glVertexPointer() 1188 case GL_FLOAT: in __indirect_glNormalPointer() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContextUtil.cpp | 81 ctx.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, 0); in drawQuadWithVaoBuffers() 92 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, 0); in drawQuadWithVaoBuffers() 141 ctx.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in drawQuadWithClientPointers() 147 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, &coord[0]); in drawQuadWithClientPointers()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPixelBufferObjectTests.cpp | 321 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, positions)); in renderTriangle() 322 GLU_CHECK_CALL(glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderTriangle() 511 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 513 readPixelsType = GL_FLOAT; in iterate() 520 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 522 readPixelsType = GL_FLOAT; in iterate() 529 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 531 readPixelsType = GL_FLOAT; in iterate()
|
D | es3fVertexArrayObjectTests.cpp | 88 , type (GL_FLOAT) in Attribute() 330 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break; in createRandomBufferData() 353 case GL_FLOAT: in createRandomBufferData() 452 else if (state.attributes[attribNdx].type != GL_FLOAT && !state.attributes[attribNdx].normalized) in createProgram() 503 if (state.attributes[0].normalized || state.attributes[0].type == GL_FLOAT) in createProgram() 906 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break; in createRandomBufferData() 929 case GL_FLOAT: in createRandomBufferData() 1028 else if (state.attributes[attribNdx].type != GL_FLOAT && !state.attributes[attribNdx].normalized) in createProgram() 1080 if (state.attributes[0].normalized || state.attributes[0].type == GL_FLOAT) in createProgram() 1252 BufferSpec floatCoordBuffer48_1 = { 48, 384, 2, 0, 0, GL_FLOAT, 0, 0, -1.0f, 1.0f }; in init() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_span.c | 91 #if CHAN_TYPE == GL_FLOAT in _swrast_span_default_attribs() 304 case GL_FLOAT: in interpolate_int_colors() 371 span->array->ChanType = GL_FLOAT; in interpolate_float_colors() 844 if (span->array->ChanType == GL_FLOAT) { in add_specular() 872 span->array->ChanType = GL_FLOAT; in add_specular() 918 ASSERT(span->array->ChanType == GL_FLOAT); in clamp_colors() 939 if (output > 0 || span->array->ChanType == GL_FLOAT) { in convert_color_type() 941 span->array->ChanType = GL_FLOAT; in convert_color_type() 980 if (span->primitive == GL_BITMAP && span->array->ChanType != GL_FLOAT) { in shade_texture_span() 981 convert_color_type(span, GL_FLOAT, 0); in shade_texture_span() [all …]
|
D | s_fog.c | 177 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span() 196 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span() 215 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span() 240 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 197 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &constDepthCoord); in iterate() 200 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &varyingDepthCoord); in iterate() 220 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in iterate() 340 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in iterate() 366 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in iterate()
|