Home
last modified time | relevance | path

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

123456789

/external/angle/src/common/
Duniform_type_info_autogen.cpp58 {GL_IMAGE_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1,
60 {GL_IMAGE_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum,
62 {GL_IMAGE_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1,
64 {GL_IMAGE_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1,
66 {GL_IMAGE_CUBE_MAP_ARRAY, GL_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE,
69 {GL_IMAGE_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1,
71 {GL_INT, GL_INT, GL_NONE, GL_NONE, GL_BOOL, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLint),
73 {GL_INT_IMAGE_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1,
75 {GL_INT_IMAGE_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE,
78 {GL_INT_IMAGE_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1,
[all …]
Dutilities.cpp127 case GL_INT: in VariableComponentType()
181 return GL_INT; in VariableComponentType()
202 case GL_INT: in VariableComponentSize()
230 case GL_INT: in GetGLSLTypeString()
277 case GL_INT: in VariableBoolVectorType()
307 case GL_INT: in VariableRowCount()
400 case GL_INT: in VariableColumnCount()
849 case GL_INT: in VariableSortOrder()
/external/angle/src/libANGLE/renderer/
Ddxgi_format_map_autogen.cpp130 return GL_INT; in GetComponentType()
142 return GL_INT; in GetComponentType()
154 return GL_INT; in GetComponentType()
172 return GL_INT; in GetComponentType()
180 return GL_INT; in GetComponentType()
188 return GL_INT; in GetComponentType()
200 return GL_INT; in GetComponentType()
206 return GL_INT; in GetComponentType()
220 return GL_INT; in GetComponentType()
230 return GL_INT; in GetComponentType()
DFormat_table_autogen.cpp37 …_OES, GL_INT_10_10_10_2_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0,…
39 … GL_A2_RGB10_SSCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0,…
156 …ctions, ReadColor<R10G10B10A2S, GLint>, WriteColor<R10G10B10A2S, GLint>, GL_INT, 10, 10, 10, 2, 0,…
158 …ctions, ReadColor<R10G10B10A2S, GLint>, WriteColor<R10G10B10A2S, GLint>, GL_INT, 10, 10, 10, 2, 0,…
165 …ions, ReadColor<R16G16B16A16S, GLint>, WriteColor<R16G16B16A16S, GLint>, GL_INT, 16, 16, 16, 16, 0…
167 …ions, ReadColor<R16G16B16A16S, GLint>, WriteColor<R16G16B16A16S, GLint>, GL_INT, 16, 16, 16, 16, 0…
172 …yFunctions, ReadColor<R16G16B16S, GLint>, WriteColor<R16G16B16S, GLint>, GL_INT, 16, 16, 16, 0, 0,…
174 …yFunctions, ReadColor<R16G16B16S, GLint>, WriteColor<R16G16B16S, GLint>, GL_INT, 16, 16, 16, 0, 0,…
179 … NoCopyFunctions, ReadColor<R16G16S, GLint>, WriteColor<R16G16S, GLint>, GL_INT, 16, 16, 0, 0, 0, …
181 … NoCopyFunctions, ReadColor<R16G16S, GLint>, WriteColor<R16G16S, GLint>, GL_INT, 16, 16, 0, 0, 0, …
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSizePromotion.cpp297 source_type = GL_INT; in prepareSourceTexture()
439 destination_type = GL_INT; in prepareDestinationTextureAndFramebuffer()
1000 gl.readPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixel); in checkDestinationTexture()
1090 return (GL_INT == descriptor.expected_red_type) || (GL_INT == descriptor.expected_green_type) || in isIntegerSignedType()
1091 (GL_INT == descriptor.expected_blue_type) || (GL_INT == descriptor.expected_alpha_type); in isIntegerSignedType()
1331 …Type(3, 0, glu::PROFILE_CORE), GL_R8I, STR(GL_R8I), false, true, 8, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1335 …e(3, 0, glu::PROFILE_CORE), GL_R16I, STR(GL_R16I), false, true, 16, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1339 …e(3, 0, glu::PROFILE_CORE), GL_R32I, STR(GL_R32I), false, true, 32, 0, 0, 0, 0, 0, GL_INT, GL_NONE,
1343 …ype(3, 0, glu::PROFILE_CORE), GL_RG8I, STR(GL_RG8I), false, true, 8, 8, 0, 0, 0, 0, GL_INT, GL_INT,
1347 …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 …]
/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()
/external/angle/src/tests/gl_tests/
DProvokingVertexTest.cpp145 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
150 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
169 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
178 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
202 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
212 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
249 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
259 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
272 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
282 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
[all …]
DAttributeLayoutTest.cpp386 Format<GLint, GL_INT, false> SInt(es3); in GetTestCases()
393 Format<GLint, GL_INT, true> NormSInt(es3); in GetTestCases()
573 case GL_INT: in GetRefValue()
728 Format<GLint, GL_INT, false, true> SInt(es3); in GetTestCases()
748 Format<GLint, GL_INT, false, true> SInt(es3); in GetTestCases()
781 case GL_INT: in GetMappedGLType()
783 return vsInputDataType != VsInputDataType::UNSIGNED ? GL_INT : GL_UNSIGNED_INT; in GetMappedGLType()
790 return vsInputDataType != VsInputDataType::INT ? GL_UNSIGNED_INT : GL_INT; in GetMappedGLType()
793 return vsInputDataType != VsInputDataType::INT ? GL_UNSIGNED_INT : GL_INT; in GetMappedGLType()
DCopyTexture3DTest.cpp265 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, pixel); in testCopy()
888 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, false, false, GLColor(127, 0, 0, 1)); in testIntFormats()
889 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, true, false, GLColor(115, 0, 0, 1)); in testIntFormats()
890 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, false, true, GLColor(127, 0, 0, 1)); in testIntFormats()
900 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, false, false, GLColor(127, 70, 0, 1)); in testIntFormats()
901 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, true, false, GLColor(115, 63, 0, 1)); in testIntFormats()
902 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, false, true, GLColor(127, 77, 0, 1)); in testIntFormats()
912 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, false, false, GLColor(127, 70, 75, 1)); in testIntFormats()
913 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, true, false, GLColor(115, 63, 67, 1)); in testIntFormats()
914 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, false, true, GLColor(127, 77, 83, 1)); in testIntFormats()
[all …]
DTextureUploadFormatTest.cpp66 case GL_INT: in bytesPerPixel()
507 fnTest(TexFormat(GL_RGBA32I, GL_RGBA_INTEGER, GL_INT), {1, 1, 1, 1}); in TEST_P()
508 fnTest(TexFormat(GL_RGB32I, GL_RGB_INTEGER, GL_INT), {1, 1, 1, 1}); in TEST_P()
509 fnTest(TexFormat(GL_RG32I, GL_RG_INTEGER, GL_INT), {1, 1, 1, 1}); in TEST_P()
510 fnTest(TexFormat(GL_R32I, GL_RED_INTEGER, GL_INT), {1, 1, 1, 1}); in TEST_P()
/external/angle/src/libANGLE/
Dformat_map_autogen.cpp384 case GL_INT: in GetSizedFormatInternal()
484 case GL_INT: in GetSizedFormatInternal()
506 case GL_INT: in GetSizedFormatInternal()
526 case GL_INT: in GetSizedFormatInternal()
618 case GL_INT: in ValidES3Type()
1048 case GL_INT: in ValidES3FormatCombination()
1485 case GL_INT: in ValidES3FormatCombination()
1570 case GL_INT: in ValidES3FormatCombination()
1644 case GL_INT: in ValidES3FormatCombination()
Dqueryutils.cpp3114 *type = GL_INT; in GetQueryParameterInfo()
3120 *type = GL_INT; in GetQueryParameterInfo()
3188 *type = GL_INT; in GetQueryParameterInfo()
3198 *type = GL_INT; in GetQueryParameterInfo()
3209 *type = GL_INT; in GetQueryParameterInfo()
3220 *type = GL_INT; in GetQueryParameterInfo()
3226 *type = GL_INT; in GetQueryParameterInfo()
3233 *type = GL_INT; in GetQueryParameterInfo()
3356 *type = GL_INT; in GetQueryParameterInfo()
3364 *type = GL_INT; in GetQueryParameterInfo()
[all …]
Dformatutils.cpp521 case GL_INT: in isRequiredRenderbufferFormat()
544 return componentType == GL_INT || componentType == GL_UNSIGNED_INT; in isInt()
1119 …, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
1121 …, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, GL_INT, f… in BuildInternalFormatInfoMap()
1123 … true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_INT, GL_INT,… in BuildInternalFormatInfoMap()
1125 …, 8, 8, 0, 0, 0, GL_RG_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
1127 …, 16, 16, 0, 0, 0, GL_RG_INTEGER, GL_SHORT, GL_INT, f… in BuildInternalFormatInfoMap()
1129 …, true, 32, 32, 0, 0, 0, GL_RG_INTEGER, GL_INT, GL_INT,… in BuildInternalFormatInfoMap()
1131 …, 8, 8, 8, 0, 0, GL_RGB_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
1133 …, 16, 16, 16, 0, 0, GL_RGB_INTEGER, GL_SHORT, GL_INT, f… in BuildInternalFormatInfoMap()
[all …]
Dqueryconversions.cpp110 case GL_INT: in CastFromStateValue()
148 case GL_INT: in CastQueryValueTo()
181 if (nativeType == GL_INT) in CastStateValues()
250 if (nativeType == GL_INT) in CastIndexedStateValues()
/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()
807 DE_ASSERT(type == GL_INT); in getR16IPixelData()
900 DE_ASSERT(type == GL_INT); in getR32IPixelData()
982 DE_ASSERT(type == GL_INT); in getR8IPixelData()
1117 DE_ASSERT(type == GL_INT); in getRG16IPixelData()
1213 DE_ASSERT(type == GL_INT); in getRG32IPixelData()
1296 DE_ASSERT(type == GL_INT); in getRG8IPixelData()
1534 DE_ASSERT(type == GL_INT); in getRGB16IPixelData()
1636 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/
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()
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()
/external/mesa3d/src/mesa/vbo/
Dvbo_private.h78 case GL_INT: in vbo_attrtype_to_integer_flag()
93 case GL_INT: in vbo_attrtype_to_double_flag()
132 case GL_INT: in vbo_get_default_vals_as_union()
/external/mesa3d/src/mesa/main/
Dformats.c553 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) && in _mesa_is_format_integer_color()
585 info->DataType == GL_INT || in _mesa_is_format_signed()
597 return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT); in _mesa_is_format_integer()
1233 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1237 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1274 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1278 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1282 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1286 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
1401 *datatype = GL_INT; in _mesa_uncompressed_format_to_type_and_comps()
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()
1917 case GL_INT: in _mesa_error_check_format_and_type()
1941 case GL_INT: in _mesa_error_check_format_and_type()
1958 case GL_INT: in _mesa_error_check_format_and_type()
1973 case GL_INT: in _mesa_error_check_format_and_type()
2005 case GL_INT: in _mesa_error_check_format_and_type()
2021 case GL_INT: in _mesa_error_check_format_and_type()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp965 glVertexAttribFormat(5, 4, GL_INT, GL_TRUE, 40); in Run()
1152 glVertexAttribFormat(5, 4, GL_INT, GL_FALSE, 40); in Run()
1717 glVertexAttribIFormat(2, 3, GL_INT, 12); in Run()
1718 glVertexAttribIFormat(3, 4, GL_INT, 56); in Run()
1802 glVertexAttribIFormat(0, 3, GL_INT, 0); in Run()
1803 glVertexAttribIFormat(2, 2, GL_INT, 4); in Run()
1875 glVertexAttribIPointer(7, 3, GL_INT, 12, 0); in Run()
1878 glVertexAttribIFormat(0, 2, GL_INT, 4); in Run()
2169 va2.array_type = GL_INT; in Run()
2173 glVertexAttribIFormat(2, 3, GL_INT, 512); in Run()
[all …]
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp151 case GL_INT: in iterate()
194 case GL_INT: in iterate()
263 case GL_INT: in iterate()
386 return GL_INT; in ReadableType()

123456789