Home
last modified time | relevance | path

Searched refs:GL_HALF_FLOAT (Results 1 – 25 of 59) sorted by relevance

123

/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp479 (type == GL_HALF_FLOAT) || (type == GL_UNSIGNED_INT_2_10_10_10_REV); in isTypeSupportedByGLReadPixels()
545 case GL_HALF_FLOAT: in isInternalFormatCompatibleWithType()
2496 DE_ASSERT(type == GL_HALF_FLOAT); in getR16FPixelData()
2571 DE_ASSERT(type == GL_HALF_FLOAT); in getRG16FPixelData()
2656 DE_ASSERT(type == GL_HALF_FLOAT); in getRGB16FPixelData()
2751 DE_ASSERT(type == GL_HALF_FLOAT); in getRGBA16FPixelData()
4479 getR16FPixelData(1, GL_HALF_FLOAT, texel1[0]), getR16FPixelData(0, GL_HALF_FLOAT, texel1[0]), in configureConversionDatabase()
4480 getR16FPixelData(1, GL_HALF_FLOAT, texel2[0]), getR16FPixelData(0, GL_HALF_FLOAT, texel2[0]), in configureConversionDatabase()
4481 getR16FPixelData(1, GL_HALF_FLOAT, texel3[0]), getR16FPixelData(0, GL_HALF_FLOAT, texel3[0]), in configureConversionDatabase()
4482 getR16FPixelData(1, GL_HALF_FLOAT, texel4[0]), getR16FPixelData(0, GL_HALF_FLOAT, texel4[0]), in configureConversionDatabase()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp816 GLenum coreType = (type == GL_HALF_FLOAT_OES) ? GL_HALF_FLOAT : type; in ValidateReadPixelsFormatType()
887 case GL_HALF_FLOAT: in ValidateTextureFormatType()
1057 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGBA16F) in ValidateTextureFormatType()
1084 …case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGB16F, GL_R11F_G11F_B10F, GL_RGB… in ValidateTextureFormatType()
1107 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RG16F) in ValidateTextureFormatType()
1130 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_R16F) in ValidateTextureFormatType()
1169 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE_ALPHA16F_EXT) in ValidateTextureFormatType()
1180 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE16F_EXT) in ValidateTextureFormatType()
1191 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_ALPHA16F_EXT) in ValidateTextureFormatType()
1231 case GL_HALF_FLOAT: in GetTypeSize()
[all …]
DFramebuffer.cpp624 case GL_R16F: return GL_HALF_FLOAT; in getImplementationColorReadType()
625 case GL_RG16F: return GL_HALF_FLOAT; in getImplementationColorReadType()
626 case GL_R11F_G11F_B10F: return GL_HALF_FLOAT; in getImplementationColorReadType()
627 case GL_RGB16F: return GL_HALF_FLOAT; in getImplementationColorReadType()
628 case GL_RGBA16F: return GL_HALF_FLOAT; in getImplementationColorReadType()
DVertexDataManager.cpp195 case GL_HALF_FLOAT: translated[i].type = sw::STREAMTYPE_HALF; break; in prepareVertexData()
/external/virglrenderer/src/
Dvrend_formats.c131 { VIRGL_FORMAT_R16G16B16A16_FLOAT, GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, NO_SWIZZLE },
136 { VIRGL_FORMAT_A16_FLOAT, GL_ALPHA16F_ARB, GL_ALPHA, GL_HALF_FLOAT, NO_SWIZZLE },
137 { VIRGL_FORMAT_L16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, RRR1_SWIZZLE },
138 …{ VIRGL_FORMAT_L16A16_FLOAT, GL_LUMINANCE_ALPHA16F_ARB, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT, NO_SWIZ…
163 { VIRGL_FORMAT_R16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, NO_SWIZZLE },
164 { VIRGL_FORMAT_R16G16_FLOAT, GL_RG16F, GL_RG, GL_HALF_FLOAT, NO_SWIZZLE },
170 { VIRGL_FORMAT_R16G16B16X16_FLOAT, GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, RGB1_SWIZZLE },
/external/swiftshader/src/OpenGL/common/
DImage.cpp162 case GL_HALF_FLOAT: return GL_RGBA16F; in GetSizedInternalFormat()
187 case GL_HALF_FLOAT: return GL_RGB16F; in GetSizedInternalFormat()
208 case GL_HALF_FLOAT: return GL_RG16F; in GetSizedInternalFormat()
229 case GL_HALF_FLOAT: return GL_R16F; in GetSizedInternalFormat()
249 case GL_HALF_FLOAT: return GL_LUMINANCE_ALPHA16F_EXT; in GetSizedInternalFormat()
258 case GL_HALF_FLOAT: return GL_LUMINANCE16F_EXT; in GetSizedInternalFormat()
267 case GL_HALF_FLOAT: return GL_ALPHA16F_EXT; in GetSizedInternalFormat()
452 case GL_HALF_FLOAT: return 2; in ComputePixelSize()
469 case GL_HALF_FLOAT: return 4; in ComputePixelSize()
488 case GL_HALF_FLOAT: return 6; in ComputePixelSize()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp221 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
228 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
235 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
242 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
249 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
256 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
263 glType=GL_HALF_FLOAT; in PVRTGetOGLES3TextureFormat()
1340 if(eTextureType==GL_FLOAT || eTextureType==GL_HALF_FLOAT) in PVRTTextureLoadFromPointer()
/external/mesa3d/src/mesa/main/
Dglformats.c1938 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1962 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1979 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1998 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2026 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2050 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2069 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2755 case GL_HALF_FLOAT: in _mesa_es3_effective_internal_format_for_format_and_type()
2893 case GL_HALF_FLOAT: in _mesa_es3_error_check_format_and_type()
3007 case GL_HALF_FLOAT: in _mesa_es3_error_check_format_and_type()
[all …]
Dformats.c1331 *datatype = GL_HALF_FLOAT; in _mesa_uncompressed_format_to_type_and_comps()
1673 return format == GL_RGBA && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1678 return format == GL_RGB && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1683 return format == GL_ALPHA && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1688 return format == GL_LUMINANCE && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1693 return format == GL_LUMINANCE_ALPHA && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1698 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1703 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1708 return format == GL_RG && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
Dreadpix.c109 (type == GL_FLOAT || type == GL_HALF_FLOAT)) { in _mesa_get_readpixels_transfer_ops()
117 (type != GL_FLOAT && type != GL_HALF_FLOAT)) { in _mesa_get_readpixels_transfer_ops()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp289 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0, 0, 0, NO…
290 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0, 0, 0, NO_…
291 …{ GL_RGB16F, GL_RGB, GL_RGB, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16, 0, 0, 0, 0, 0, N…
292 …{ GL_RGBA16F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16,16, 0, 0, 0, 0, …
378 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0, 0, 0, …
379 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0, 0, 0, N…
380 …{ GL_RGB16F, GL_RGB, GL_RGB, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16, 0, 0, 0, 0, 0,…
381 …{ GL_RGBA16F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16,16, 0, 0, 0, 0…
DglcInternalformatTests.cpp462 colorConversionMap[GL_HALF_FLOAT] = &convertHFloat; in generateTextureData()
1420 TF(GL_RGB, GL_HALF_FLOAT, GL_RGB16F, OES_texture_half_float), in getESTestData()
1421 TF(GL_RGBA, GL_HALF_FLOAT, GL_RGBA16F, OES_texture_half_float), in getESTestData()
1422 …TF(GL_RGB, GL_HALF_FLOAT, GL_RGB16F, OES_texture_half_float_linear, DE_NULL, GL_LINEAR, GL_LINEAR), in getESTestData()
1423 …TF(GL_RGBA, GL_HALF_FLOAT, GL_RGBA16F, OES_texture_half_float_linear, DE_NULL, GL_LINEAR, GL_LINEA… in getESTestData()
1565 TF(GL_RED, GL_HALF_FLOAT, GL_R16F, ARB_texture_float), in getGLTestData()
1566 TF(GL_RG, GL_HALF_FLOAT, GL_RG16F, ARB_texture_float), in getGLTestData()
1567 TF(GL_RGB, GL_HALF_FLOAT, GL_RGB16F, ARB_texture_float), in getGLTestData()
1568 TF(GL_RGBA, GL_HALF_FLOAT, GL_RGBA16F, ARB_texture_float), in getGLTestData()
DglcPackedPixelsTests.cpp188 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0…
189 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0,…
190 …{ GL_RGB16F, GL_RGB, GL_RGB, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16, 0, 0, …
191 …{ GL_RGBA16F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16,16, …
262 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0, 0, …
263 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0, 0,…
264 …{ GL_RGB16F, GL_RGB, GL_RGB, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16, 0, 0, 0, 0,…
265 …{ GL_RGBA16F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16,16,16, 0, 0,…
348 …{ GL_HALF_FLOAT, sizeof(GLhalf), STORAGE_FLOAT, false, false, { { 0, 0, 0, 0, 0, 0, 0,…
375 …{ GL_HALF_FLOAT, sizeof(GLhalf), STORAGE_FLOAT, false, false, { { 0, 0, 0, 0, 0, 0, 0,…
[all …]
/external/mesa3d/src/glx/tests/
Denum_sizes.cpp49 EXPECT_EQ(2, __glCallLists_size(GL_HALF_FLOAT)); in TEST()
66 case GL_HALF_FLOAT: in TEST()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferTextureBufferRange.cpp102 m_input_type = GL_HALF_FLOAT; in configure()
237 m_input_type = GL_HALF_FLOAT; in configure()
417 m_input_type = GL_HALF_FLOAT; in configure()
1288 case GL_HALF_FLOAT: in fillInputData()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c297 case GL_HALF_FLOAT: in brw_get_vertex_surface_type()
376 case GL_HALF_FLOAT: in brw_get_vertex_surface_type()
/external/swiftshader/extensions/
DEGL_ANGLE_iosurface_client_buffer.txt100 GL_HALF_FLOAT GL_RGBA
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp398 case GL_HALF_FLOAT: in createPBufferSurface()
497 case GL_HALF_FLOAT: in createPBufferSurface()
DSurface.cpp268 case GL_HALF_FLOAT: in getClientBufferFormat()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp59 case GL_HALF_FLOAT: in mapGLFloatVertexAttributeType()
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2272 { 1, GL_HALF_FLOAT, 0, GL_FALSE, vertexData }, in test()
2384 { 1, GL_HALF_FLOAT, 0, vertexData }, in test()
2385 { 1, GL_HALF_FLOAT, 1, vertexData }, in test()
2386 { 1, GL_HALF_FLOAT, 4, vertexData }, in test()
2604 { 1, GL_HALF_FLOAT, 0, GL_FALSE, vertexData }, in test()
2899 { 1, GL_HALF_FLOAT, 0, GL_FALSE, &vertexData[0] }, in test()
2900 { 4, GL_HALF_FLOAT, 0, GL_FALSE, &vertexData[1] }, in test()
2901 { 4, GL_HALF_FLOAT, 0, GL_FALSE, &vertexData[2] }, in test()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp610 GL_HALF_FLOAT,
623 GL_HALF_FLOAT,
636 GL_HALF_FLOAT,
649 GL_HALF_FLOAT,
1580 else if (GL_HALF_FLOAT == format.m_type) in calculate_values_from_source()
1693 case GL_HALF_FLOAT: in calculate_expected_value()
4217 case GL_HALF_FLOAT: in iterate()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c249 type = GL_HALF_FLOAT; in st_pipe_vertex_format()
/external/deqp/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp787 glVertexAttribFormat(5, 2, GL_HALF_FLOAT, GL_FALSE, 0); in Run()
964 glVertexAttribFormat(7, 4, GL_HALF_FLOAT, GL_TRUE, 72); in Run()
1151 glVertexAttribFormat(7, 4, GL_HALF_FLOAT, GL_FALSE, 72); in Run()
2242 glVertexAttribFormat(15, 1, GL_HALF_FLOAT, GL_FALSE, 1024); in Run()
2244 va15.array_type = GL_HALF_FLOAT; in Run()
/external/swiftshader/tests/GLESUnitTests/
Dunittests.cpp780 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB16F, 256, 256, 0, GL_RGB, GL_HALF_FLOAT, nullptr); in TEST_F()
797 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, 1, 1, GL_RGB, GL_HALF_FLOAT, pixel); in TEST_F()
802 glReadPixels(x, y, 1, 1, GL_RGB, GL_HALF_FLOAT, &read_color); in TEST_F()

123