Home
last modified time | relevance | path

Searched refs:GL_INT (Results 1 – 25 of 219) 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()
175 return GL_INT; in VariableComponentType()
196 case GL_INT: in VariableComponentSize()
224 case GL_INT: in GetGLSLTypeString()
271 case GL_INT: in VariableBoolVectorType()
301 case GL_INT: in VariableRowCount()
394 case GL_INT: in VariableColumnCount()
840 case GL_INT: in VariableSortOrder()
/external/angle/src/tests/gl_tests/
DProvokingVertexTest.cpp124 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
129 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
154 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
163 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
189 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
199 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
212 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
222 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
259 glVertexAttribIPointer(mIntAttribLocation, 1, GL_INT, 0, vertexData); in TEST_P()
271 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
[all …]
DCopyTexture3DTest.cpp264 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, pixel); in testCopy()
880 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, false, false, GLColor(127, 0, 0, 1)); in testIntFormats()
881 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, true, false, GLColor(115, 0, 0, 1)); in testIntFormats()
882 testCopy(testTarget, kColor, GL_R32I, GL_INT, false, false, true, GLColor(127, 0, 0, 1)); in testIntFormats()
892 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, false, false, GLColor(127, 70, 0, 1)); in testIntFormats()
893 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, true, false, GLColor(115, 63, 0, 1)); in testIntFormats()
894 testCopy(testTarget, kColor, GL_RG32I, GL_INT, false, false, true, GLColor(127, 77, 0, 1)); in testIntFormats()
904 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, false, false, GLColor(127, 70, 75, 1)); in testIntFormats()
905 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, true, false, GLColor(115, 63, 67, 1)); in testIntFormats()
906 testCopy(testTarget, kColor, GL_RGB32I, GL_INT, false, false, true, GLColor(127, 77, 83, 1)); in testIntFormats()
[all …]
DTextureUploadFormatTest.cpp63 case GL_INT: in bytesPerPixel()
505 fnTest({GL_RGBA32I, GL_RGBA_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
506 fnTest({GL_RGB32I, GL_RGB_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
507 fnTest({GL_RG32I, GL_RG_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
508 fnTest({GL_R32I, GL_RED_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
/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,…
146 …ctions, ReadColor<R10G10B10A2S, GLint>, WriteColor<R10G10B10A2S, GLint>, GL_INT, 10, 10, 10, 2, 0,…
148 …ctions, ReadColor<R10G10B10A2S, GLint>, WriteColor<R10G10B10A2S, GLint>, GL_INT, 10, 10, 10, 2, 0,…
155 …ions, ReadColor<R16G16B16A16S, GLint>, WriteColor<R16G16B16A16S, GLint>, GL_INT, 16, 16, 16, 16, 0…
157 …ions, ReadColor<R16G16B16A16S, GLint>, WriteColor<R16G16B16A16S, GLint>, GL_INT, 16, 16, 16, 16, 0…
162 …yFunctions, ReadColor<R16G16B16S, GLint>, WriteColor<R16G16B16S, GLint>, GL_INT, 16, 16, 16, 0, 0,…
164 …yFunctions, ReadColor<R16G16B16S, GLint>, WriteColor<R16G16B16S, GLint>, GL_INT, 16, 16, 16, 0, 0,…
169 … NoCopyFunctions, ReadColor<R16G16S, GLint>, WriteColor<R16G16S, GLint>, GL_INT, 16, 16, 0, 0, 0, …
171 … 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/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()
713 if(format == GL_RGBA_INTEGER && type == GL_INT) in ValidateReadPixelsFormatType()
825 case GL_INT: in ValidateTextureFormatType()
1001 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGBA32I) in ValidateTextureFormatType()
1028 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGB32I) in ValidateTextureFormatType()
[all …]
/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()
628 case GL_INT: in ValidES3Type()
1058 case GL_INT: in ValidES3FormatCombination()
1494 case GL_INT: in ValidES3FormatCombination()
1579 case GL_INT: in ValidES3FormatCombination()
1653 case GL_INT: in ValidES3FormatCombination()
Dqueryutils.cpp3051 *type = GL_INT; in GetQueryParameterInfo()
3057 *type = GL_INT; in GetQueryParameterInfo()
3124 *type = GL_INT; in GetQueryParameterInfo()
3134 *type = GL_INT; in GetQueryParameterInfo()
3145 *type = GL_INT; in GetQueryParameterInfo()
3156 *type = GL_INT; in GetQueryParameterInfo()
3162 *type = GL_INT; in GetQueryParameterInfo()
3169 *type = GL_INT; in GetQueryParameterInfo()
3244 *type = GL_INT; in GetQueryParameterInfo()
3252 *type = GL_INT; in GetQueryParameterInfo()
[all …]
Dformatutils.cpp496 case GL_INT: in isRequiredRenderbufferFormat()
521 return componentType == GL_INT || componentType == GL_UNSIGNED_INT; in isInt()
982 …, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
984 …, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, GL_INT, f… in BuildInternalFormatInfoMap()
986 … true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_INT, GL_INT,… in BuildInternalFormatInfoMap()
988 …, 8, 8, 0, 0, 0, GL_RG_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
990 …, 16, 16, 0, 0, 0, GL_RG_INTEGER, GL_SHORT, GL_INT, f… in BuildInternalFormatInfoMap()
992 …, true, 32, 32, 0, 0, 0, GL_RG_INTEGER, GL_INT, GL_INT,… in BuildInternalFormatInfoMap()
994 …, 8, 8, 8, 0, 0, GL_RGB_INTEGER, GL_BYTE, GL_INT, f… in BuildInternalFormatInfoMap()
996 …, 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/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/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/
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/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()

123456789