Home
last modified time | relevance | path

Searched refs:GL_INT (Results 1 – 25 of 152) sorted by relevance

1234567

/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSizePromotion.cpp285 source_type = GL_INT; in prepareSourceTexture()
427 destination_type = GL_INT; in prepareDestinationTextureAndFramebuffer()
990 gl.readPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixel); in checkDestinationTexture()
1080 return (GL_INT == descriptor.expected_red_type) || (GL_INT == descriptor.expected_green_type) || in isIntegerSignedType()
1081 (GL_INT == descriptor.expected_blue_type) || (GL_INT == descriptor.expected_alpha_type); in isIntegerSignedType()
1321 …Type(3, 0, glu::PROFILE_CORE), GL_R8I, STR(GL_R8I), false, true, 8, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1325 …e(3, 0, glu::PROFILE_CORE), GL_R16I, STR(GL_R16I), false, true, 16, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1329 …e(3, 0, glu::PROFILE_CORE), GL_R32I, STR(GL_R32I), false, true, 32, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1333 …ype(3, 0, glu::PROFILE_CORE), GL_RG8I, STR(GL_RG8I), false, true, 8, 8, 0, 0, 0, 0, GL_INT, GL_INT,
1337 …extType(3, 0, glu::PROFILE_CORE), GL_RG16I, STR(GL_RG16I), false, true, 16, 16, 0, 0, 0, 0, GL_INT,
[all …]
Dgl4cTextureGatherTests.cpp545 glTexImage2D(target, i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt()
550 glTexImage2D(target, 0, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt()
553 glTexSubImage2D(target, 0, 0, 0, csize, csize, GL_RGBA_INTEGER, GL_INT, &pixels[0]); in CreateTexture2DInt()
557 glTexSubImage2D(target, 0, 22, 25, 2, 2, GL_RGBA_INTEGER, GL_INT, data); in CreateTexture2DInt()
558 glTexSubImage2D(target, 0, 16, 10, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 0); in CreateTexture2DInt()
559 glTexSubImage2D(target, 0, 11, 2, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 1); in CreateTexture2DInt()
560 glTexSubImage2D(target, 0, 24, 13, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 2); in CreateTexture2DInt()
561 glTexSubImage2D(target, 0, 9, 14, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 3); in CreateTexture2DInt()
580 …mage3D(GL_TEXTURE_2D_ARRAY, i, internal_format, size, size, slices, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DArrayInt()
585 …glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, i, csize, csize, 1, GL_RGBA_INTEGER, GL_INT, &pixels… in CreateTexture2DArrayInt()
[all …]
Dgl4cVertexAttribBindingTests.cpp868 glVertexAttribFormat(5, 4, GL_INT, GL_TRUE, 40); in Run()
1035 glVertexAttribFormat(5, 4, GL_INT, GL_FALSE, 40); in Run()
1712 glVertexAttribIFormat(2, 3, GL_INT, 12); in Run()
1713 glVertexAttribIFormat(3, 4, GL_INT, 56); in Run()
1797 glVertexAttribIFormat(0, 3, GL_INT, 0); in Run()
1798 glVertexAttribIFormat(2, 2, GL_INT, 4); in Run()
1870 glVertexAttribIPointer(7, 3, GL_INT, 12, 0); in Run()
1873 glVertexAttribIFormat(0, 2, GL_INT, 4); in Run()
2230 glVertexAttribIFormat(2, 3, GL_INT, 512); in Run()
2239 if (p != GL_INT) in Run()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp599 case GL_R8I: return GL_INT; in getImplementationColorReadType()
600 case GL_RG8I: return GL_INT; in getImplementationColorReadType()
601 case GL_RGB8I: return GL_INT; in getImplementationColorReadType()
602 case GL_RGBA8I: return GL_INT; in getImplementationColorReadType()
607 case GL_R16I: return GL_INT; in getImplementationColorReadType()
608 case GL_RG16I: return GL_INT; in getImplementationColorReadType()
609 case GL_RGB16I: return GL_INT; in getImplementationColorReadType()
610 case GL_RGBA16I: return GL_INT; in getImplementationColorReadType()
616 case GL_R32I: return GL_INT; in getImplementationColorReadType()
617 case GL_RG32I: return GL_INT; in getImplementationColorReadType()
[all …]
Dutilities.cpp39 case GL_INT: in UniformComponentCount()
118 case GL_INT: in UniformComponentType()
139 return GL_INT; in UniformComponentType()
158 case GL_INT: return sizeof(GLint); in UniformTypeSize()
200 case GL_INT: in VariableRowCount()
259 case GL_INT: in VariableColumnCount()
787 if(format == GL_RGBA_INTEGER && type == GL_INT) in ValidateReadPixelsFormatType()
894 case GL_INT: in ValidateTextureFormatType()
1070 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGBA32I) in ValidateTextureFormatType()
1097 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGB32I) in ValidateTextureFormatType()
[all …]
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp235 else if (m_type == GL_INT) in clearColor()
277 if (m_type == GL_INT) in clearColor()
418 …t(m_context, "rgba_int_1", "", ReadPixelsTest::FLAG_USE_RBO, 1, 0, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
419 …t(m_context, "rgba_int_2", "", ReadPixelsTest::FLAG_USE_RBO, 2, 0, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
420 …t(m_context, "rgba_int_4", "", ReadPixelsTest::FLAG_USE_RBO, 4, 0, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
421 …t(m_context, "rgba_int_8", "", ReadPixelsTest::FLAG_USE_RBO, 8, 0, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
443 …m_context, "rgba_int_17", "", ReadPixelsTest::FLAG_USE_RBO, 4, 17, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
444 …m_context, "rgba_int_19", "", ReadPixelsTest::FLAG_USE_RBO, 4, 19, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
445 …m_context, "rgba_int_23", "", ReadPixelsTest::FLAG_USE_RBO, 4, 23, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
446 …m_context, "rgba_int_29", "", ReadPixelsTest::FLAG_USE_RBO, 4, 29, 0, 0, GL_RGBA_INTEGER, GL_INT)); in init()
[all …]
Des3fFboStateQueryTests.cpp515 { GL_R8I, GL_INT }, in test()
517 { GL_R16I, GL_INT }, in test()
519 { GL_R32I, GL_INT }, in test()
521 { GL_RG8I, GL_INT }, in test()
523 { GL_RG16I, GL_INT }, in test()
525 { GL_RG32I, GL_INT }, in test()
527 { GL_RGBA8I, GL_INT }, in test()
529 { GL_RGBA16I, GL_INT }, in test()
531 { GL_RGBA32I, GL_INT }, in test()
Des3fVertexArrayObjectTests.cpp331 case GL_INT: stride = buffer.componentCount * (int)sizeof(GLint); break; in createRandomBufferData()
361 case GL_INT: in createRandomBufferData()
442 case GL_INT: scale = (1.0f/float((1u<<30)-1u)); break; in createProgram()
460 case GL_INT: scale = (0.5f/float((1u<<30)-1u)); break; in createProgram()
488 case GL_INT: scale = (1.0f/float((1u<<30)-1u)); break; in createProgram()
517 case GL_INT: scale = (1.0f/float((1u<<30)-1u)); break; in createProgram()
907 case GL_INT: stride = buffer.componentCount * (int)sizeof(GLint); break; in createRandomBufferData()
937 case GL_INT: in createRandomBufferData()
1018 case GL_INT: scale = (1.0f/float((1u<<30)-1u)); break; in createProgram()
1036 case GL_INT: scale = (0.5f/float((1u<<30)-1u)); break; in createProgram()
[all …]
Des3fShaderStateQueryTests.cpp1628 { "int", "", "highp", "", "float(uniformValue)", GL_INT, 1, GL_FALSE }, in test()
2186 { 4, GL_INT, 0, GL_FALSE, vertexData }, in test()
2187 { 3, GL_INT, 0, GL_FALSE, vertexData }, in test()
2188 { 2, GL_INT, 0, GL_FALSE, vertexData }, in test()
2189 { 1, GL_INT, 0, GL_FALSE, vertexData }, in test()
2269 { 1, GL_INT, 0, GL_FALSE, vertexData }, in test()
2295 { 1, GL_INT, 0, GL_FALSE, vertexData }, in test()
2405 { 1, GL_INT, 0, vertexData }, in test()
2406 { 1, GL_INT, 1, vertexData }, in test()
2407 { 1, GL_INT, 4, vertexData }, in test()
[all …]
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp478 …return (type == GL_INT) || (type == GL_UNSIGNED_BYTE) || (type == GL_UNSIGNED_INT) || (type == GL_… in isTypeSupportedByGLReadPixels()
495 case GL_INT: in isInternalFormatCompatibleWithType()
801 DE_ASSERT(type == GL_INT); in getR16IPixelData()
894 DE_ASSERT(type == GL_INT); in getR32IPixelData()
976 DE_ASSERT(type == GL_INT); in getR8IPixelData()
1111 DE_ASSERT(type == GL_INT); in getRG16IPixelData()
1207 DE_ASSERT(type == GL_INT); in getRG32IPixelData()
1290 DE_ASSERT(type == GL_INT); in getRG8IPixelData()
1528 DE_ASSERT(type == GL_INT); in getRGB16IPixelData()
1630 DE_ASSERT(type == GL_INT); in getRGB32IPixelData()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferTextureBufferRange.cpp133 m_output_type = GL_INT; in configure()
148 m_output_type = GL_INT; in configure()
162 m_input_type = GL_INT; in configure()
163 m_output_type = GL_INT; in configure()
268 m_output_type = GL_INT; in configure()
283 m_output_type = GL_INT; in configure()
297 m_input_type = GL_INT; in configure()
298 m_output_type = GL_INT; in configure()
372 m_input_type = GL_INT; in configure()
373 m_output_type = GL_INT; in configure()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTextureGroup.cpp70 256, 256, 1, 0, 255, 0, 255, GL_INT, GL_INT); in init()
128 0, 255, GL_INT, GL_INT); in init()
170 256, 256, 6, 0, 255, 0, 255, GL_INT, GL_INT); in init()
DesextcTextureBorderClampTests.cpp95 256, 256, 1, 0, 255, 0, 255, GL_INT, GL_INT); in init()
153 0, 255, GL_INT, GL_INT); in init()
194 256, 256, 6, 0, 255, 0, 255, GL_INT, GL_INT); in init()
/external/mesa3d/src/mesa/vbo/
Dvbo_context.h176 case GL_INT: in vbo_attrtype_to_integer_flag()
191 case GL_INT: in vbo_attrtype_to_double_flag()
217 case GL_INT: in vbo_get_default_vals_as_union()
/external/mesa3d/src/mesa/main/
Dformats.c526 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) && in _mesa_is_format_integer_color()
558 info->DataType == GL_INT || in _mesa_is_format_signed()
570 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT); in _mesa_is_format_integer()
1174 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1178 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1215 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1219 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1223 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1227 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1346 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
[all …]
Dglformats.c288 case GL_INT: in _mesa_sizeof_type()
325 case GL_INT: in _mesa_sizeof_packed_type()
439 case GL_INT: in _mesa_bytes_per_pixel()
543 case GL_INT: in _mesa_bytes_per_vertex_attrib()
1935 case GL_INT: in _mesa_error_check_format_and_type()
1959 case GL_INT: in _mesa_error_check_format_and_type()
1976 case GL_INT: in _mesa_error_check_format_and_type()
1991 case GL_INT: in _mesa_error_check_format_and_type()
2023 case GL_INT: in _mesa_error_check_format_and_type()
2039 case GL_INT: in _mesa_error_check_format_and_type()
[all …]
Dpack.c267 srcType == GL_INT || in extract_uint_indexes()
375 case GL_INT: in extract_uint_indexes()
495 srcType == GL_INT || in _mesa_unpack_stencil_span()
664 case GL_INT: in _mesa_pack_stencil_span()
850 case GL_INT: in _mesa_unpack_depth_span()
1087 case GL_INT: in _mesa_pack_depth_span()
1464 dst_type == GL_INT); in _mesa_pack_luminance_from_rgba_integer()
1496 case GL_INT: in _mesa_pack_luminance_from_rgba_integer()
1535 case GL_INT: in _mesa_pack_luminance_from_rgba_integer()
/external/virglrenderer/src/
Dvrend_formats.c118 { VIRGL_FORMAT_R32G32B32A32_SINT, GL_RGBA32I, GL_RGBA_INTEGER, GL_INT, NO_SWIZZLE },
127 { VIRGL_FORMAT_R32G32B32_SINT, GL_RGB32I, GL_RGB_INTEGER, GL_INT, NO_SWIZZLE },
158 { VIRGL_FORMAT_R32_SINT, GL_R32I, GL_RED_INTEGER, GL_INT, NO_SWIZZLE },
159 { VIRGL_FORMAT_R32G32_SINT, GL_RG32I, GL_RG_INTEGER, GL_INT, NO_SWIZZLE },
195 { VIRGL_FORMAT_A32_SINT, GL_ALPHA32I_EXT, GL_ALPHA_INTEGER, GL_INT, NO_SWIZZLE },
196 { VIRGL_FORMAT_L32_SINT, GL_R32I, GL_RED_INTEGER, GL_INT, RRR1_SWIZZLE },
197 …{ VIRGL_FORMAT_L32A32_SINT, GL_LUMINANCE_ALPHA32I_EXT, GL_LUMINANCE_ALPHA_INTEGER_EXT, GL_INT, NO_…
/external/mesa3d/prebuilt-intermediates/main/
Dformat_info.h1985 .DataType = GL_INT,
1999 .DataType = GL_INT,
2013 .DataType = GL_INT,
2069 .DataType = GL_INT,
2083 .DataType = GL_INT,
2097 .DataType = GL_INT,
2153 .DataType = GL_INT,
2167 .DataType = GL_INT,
2181 .DataType = GL_INT,
2237 .DataType = GL_INT,
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp962 glVertexAttribFormat(5, 4, GL_INT, GL_TRUE, 40); in Run()
1149 glVertexAttribFormat(5, 4, GL_INT, GL_FALSE, 40); in Run()
1716 glVertexAttribIFormat(2, 3, GL_INT, 12); in Run()
1717 glVertexAttribIFormat(3, 4, GL_INT, 56); in Run()
1801 glVertexAttribIFormat(0, 3, GL_INT, 0); in Run()
1802 glVertexAttribIFormat(2, 2, GL_INT, 4); in Run()
1874 glVertexAttribIPointer(7, 3, GL_INT, 12, 0); in Run()
1877 glVertexAttribIFormat(0, 2, GL_INT, 4); in Run()
2168 va2.array_type = GL_INT; in Run()
2172 glVertexAttribIFormat(2, 3, GL_INT, 512); in Run()
[all …]
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp150 case GL_INT: in iterate()
193 case GL_INT: in iterate()
262 case GL_INT: in iterate()
385 return GL_INT; in ReadableType()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayImageOperations.cpp222 …<< ((type == GL_FLOAT) ? "imageCubeArray" : ((type == GL_INT) ? "iimageCubeArray" : "uimageCubeArr… in checkResults()
573 GL_RGBA_INTEGER, GL_INT, &intData[0]); in iterate()
575 GL_RGBA_INTEGER, GL_INT, &intClean[0]); in iterate()
610 m_n_components, GL_RGBA_INTEGER, GL_INT, ST_MUTABLE, &intData[0])) in iterate()
634 GL_RGBA_INTEGER, GL_INT, &intData[0]); in iterate()
636 GL_RGBA_INTEGER, GL_INT, &intClean[0]); in iterate()
671 m_n_components, GL_RGBA_INTEGER, GL_INT, ST_IMMUTABLE, &intData[0])) in iterate()
/external/swiftshader/src/OpenGL/common/
DImage.cpp174 case GL_INT: return GL_RGBA32I; in GetSizedInternalFormat()
199 case GL_INT: return GL_RGB32I; in GetSizedInternalFormat()
220 case GL_INT: return GL_RG32I; in GetSizedInternalFormat()
241 case GL_INT: return GL_R32I; in GetSizedInternalFormat()
456 case GL_INT: return 4; in ComputePixelSize()
473 case GL_INT: return 8; in ComputePixelSize()
492 case GL_INT: return 12; in ComputePixelSize()
514 case GL_INT: return 16; in ComputePixelSize()
1452 case GL_INT: in loadImageData()
1546 case GL_INT: in loadImageData()
[all …]
/external/mesa3d/src/glx/
Dindirect_vertex_array.c1177 case GL_INT: in __indirect_glVertexPointer()
1225 case GL_INT: in __indirect_glNormalPointer()
1302 case GL_INT: in __indirect_glColorPointer()
1351 case GL_INT: in __indirect_glIndexPointer()
1459 case GL_INT: in __indirect_glTexCoordPointer()
1480 case GL_INT: in __indirect_glTexCoordPointer()
1537 case GL_INT: in __indirect_glSecondaryColorPointer()
1657 case GL_INT: in __indirect_glVertexAttribPointer()
1689 case GL_INT: in __indirect_glVertexAttribPointer()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp305 …{ GL_R32I, GL_RED, GL_RED_INTEGER, GL_INT, SAMPLER_INT, { {32, 0, 0, 0, 0, 0, 0, 0, NO_FLAG }…
311 …{ GL_RG32I, GL_RG, GL_RG_INTEGER, GL_INT, SAMPLER_INT, { {32,32, 0, 0, 0, 0, 0, 0, NO_FLAG } …
317 …{ GL_RGB32I, GL_RGB, GL_RGB_INTEGER, GL_INT, SAMPLER_INT, { {32,32,32, 0, 0, 0, 0, 0, NO_FLAG …
323 …{ GL_RGBA32I, GL_RGBA, GL_RGBA_INTEGER, GL_INT, SAMPLER_INT, { {32,32,32,32, 0, 0, 0, 0, NO_FLAG…
394 …{ GL_R32I, GL_RED, GL_RED_INTEGER, GL_INT, SAMPLER_INT, { {32, 0, 0, 0, 0, 0, 0, 0, NO_…
400 …{ GL_RG32I, GL_RG, GL_RG_INTEGER, GL_INT, SAMPLER_INT, { {32,32, 0, 0, 0, 0, 0, 0, NO_F…
406 …{ GL_RGB32I, GL_RGB, GL_RGB_INTEGER, GL_INT, SAMPLER_INT, { {32,32,32, 0, 0, 0, 0, 0, NO…
412 …{ GL_RGBA32I, GL_RGBA, GL_RGBA_INTEGER, GL_INT, SAMPLER_INT, { {32,32,32,32, 0, 0, 0, 0, N…

1234567