Home
last modified time | relevance | path

Searched refs:GL_HALF_FLOAT_OES (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_autogen.cpp30 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
332 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
348 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
366 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
408 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
430 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
460 case GL_HALF_FLOAT_OES: in GetSizedFormatInternal()
627 case GL_HALF_FLOAT_OES: in ValidES3Type()
682 case GL_HALF_FLOAT_OES: in ValidES3FormatCombination()
868 case GL_HALF_FLOAT_OES in ValidES3FormatCombination()
[all...]
H A Dformatutils.cpp396 case GL_HALF_FLOAT_OES: in getReadPixelsType()
403 return GL_HALF_FLOAT_OES; in getReadPixelsType()
1015 // 2. Sized half float types are a combination of GL_HALF_FLOAT and GL_HALF_FLOAT_OES support,
1096 // E.g. for GL_RG16F, one with GL_HALF_FLOAT type and the other with GL_HALF_FLOAT_OES type. in BuildInternalFormatInfoMap()
1097 // So, GL_HALF_FLOAT type formats conditions are merged with GL_HALF_FLOAT_OES type conditions. in BuildInternalFormatInfoMap()
1122 AddLUMAFormat(&map, GL_ALPHA16F_EXT, true, 0, 16, GL_ALPHA, GL_HALF_FLOAT_OES, GL_FLOAT, RequireExtAndExt<&Extensions::textureStorageEXT, &Extensions::textureHalfFloatOES>, RequireExt<&Extensions::textureHalfFloatLinearOES>, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1123 AddLUMAFormat(&map, GL_LUMINANCE16F_EXT, true, 16, 0, GL_LUMINANCE, GL_HALF_FLOAT_OES, GL_FLOAT, RequireExtAndExt<&Extensions::textureStorageEXT, &Extensions::textureHalfFloatOES>, RequireExt<&Extensions::textureHalfFloatLinearOES>, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1124 AddLUMAFormat(&map, GL_LUMINANCE_ALPHA16F_EXT, true, 16, 16, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES, GL_FLOAT, RequireExtAndExt<&Extensions::textureStorageEXT, &Extensions::textureHalfFloatOES>, RequireExt<&Extensions::textureHalfFloatLinearOES>, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1352 AddRGBAFormat(&map, GL_RED, false, 16, 0, 0, 0, 0, GL_RED, GL_HALF_FLOAT_OES, GL_FLOAT, false, RequireExtAndExt<&Extensions::textureHalfFloatOES, &Extensions::textureRgEXT>, RequireExt<&Extensions::textureHalfFloatLinearOES>, AlwaysSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1353 AddRGBAFormat(&map, GL_RG, false, 16, 16, 0, 0, 0, GL_RG, GL_HALF_FLOAT_OES, GL_FLOA in BuildInternalFormatInfoMap()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dutilities.cpp742 GLenum coreType = (type == GL_HALF_FLOAT_OES) ? GL_HALF_FLOAT : type; in ValidateReadPixelsFormatType()
817 case GL_HALF_FLOAT_OES: // GL_OES_texture_half_float in ValidateTextureFormatType()
897 case GL_HALF_FLOAT_OES: // GL_OES_texture_half_float in ValidateTextureFormatType()
909 case GL_HALF_FLOAT_OES: // GL_OES_texture_half_float in ValidateTextureFormatType()
922 case GL_HALF_FLOAT_OES: // GL_OES_texture_half_float in ValidateTextureFormatType()
953 case GL_HALF_FLOAT_OES: // GL_EXT_texture_rg + GL_OES_texture_half_float in ValidateTextureFormatType()
987 case GL_HALF_FLOAT_OES: in ValidateTextureFormatType()
1014 case GL_HALF_FLOAT_OES: in ValidateTextureFormatType()
1037 case GL_HALF_FLOAT_OES: in ValidateTextureFormatType()
1060 case GL_HALF_FLOAT_OES in ValidateTextureFormatType()
[all...]
H A DVertexDataManager.cpp196 case GL_HALF_FLOAT_OES: translated[i].type = sw::STREAMTYPE_HALF; break; in prepareVertexData()
H A DContext.h188 case GL_HALF_FLOAT_OES: in typeSize()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureUploadFormatTest.cpp58 case GL_HALF_FLOAT_OES: in bytesPerPixel()
572 fnTest({GL_RGBA, GL_RGBA, GL_HALF_FLOAT_OES}, {1, 1, 1, 1}); in TEST_P()
573 fnTest({GL_RGB, GL_RGB, GL_HALF_FLOAT_OES}, {1, 1, 1, 0}); in TEST_P()
574 fnTest({GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES}, {1, 1, 1, 1}); in TEST_P()
575 fnTest({GL_LUMINANCE, GL_LUMINANCE, GL_HALF_FLOAT_OES}, {1, 1, 1, 0}); in TEST_P()
576 fnTest({GL_ALPHA, GL_ALPHA, GL_HALF_FLOAT_OES}, {0, 0, 0, 1}); in TEST_P()
H A DTextureTest.cpp5751 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_HALF_FLOAT_OES, nullptr); in TEST_P()
7531 setupFormatTextures(GL_RED_EXT, GL_RED_EXT, GL_HALF_FLOAT_OES, imageData);
7534 setupFormatTextures(GL_RG_EXT, GL_RG_EXT, GL_HALF_FLOAT_OES, imageData);
7606 case GL_HALF_FLOAT_OES:
7671 case GL_HALF_FLOAT_OES:
7791 testFloatTextureSample(GL_RGBA, GL_RGBA, GL_HALF_FLOAT_OES);
7792 testFloatTextureSample(GL_RGB, GL_RGB, GL_HALF_FLOAT_OES);
7827 testFloatTextureSample(GL_LUMINANCE, GL_LUMINANCE, GL_HALF_FLOAT_OES);
7828 testFloatTextureSample(GL_ALPHA, GL_ALPHA, GL_HALF_FLOAT_OES);
7829 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES);
[all...]
H A DWebGLCompatibilityTest.cpp3677 type = GL_HALF_FLOAT_OES; in TEST_P()
3715 TestFloatTextureFormat(GL_RED, GL_RED, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3745 TestFloatTextureFormat(GL_R16F, GL_RED, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3775 TestFloatTextureFormat(GL_RG, GL_RG, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3805 TestFloatTextureFormat(GL_RG16F, GL_RG, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3838 TestFloatTextureFormat(GL_RGB, GL_RGB, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3867 TestFloatTextureFormat(GL_RGB16F, GL_RGB, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3898 TestFloatTextureFormat(GL_RGBA, GL_RGBA, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
3927 TestFloatTextureFormat(GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT_OES, texture, filter, render, in TEST_P()
H A DVertexAttributeTest.cpp28 case GL_HALF_FLOAT_OES: in TypeStride()
554 TestData imediateData(GL_HALF_FLOAT_OES, GL_FALSE, Source::IMMEDIATE, inputData.data(), in TEST_P()
582 TestData bufferData(GL_HALF_FLOAT_OES, GL_FALSE, Source::BUFFER, inputData.data(), in TEST_P()
H A DCopyTextureTest.cpp1687 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, 1, 1, 0, GL_ALPHA, GL_HALF_FLOAT_OES, nullptr); in TEST_P()
1690 GL_HALF_FLOAT_OES, false, false, false); in TEST_P()
/third_party/mesa3d/src/mesa/main/
H A Dglheader.h125 /* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT.
127 #ifndef GL_HALF_FLOAT_OES
128 #define GL_HALF_FLOAT_OES 0x8D61 macro
H A Dglformats.c295 case GL_HALF_FLOAT_OES: in _mesa_sizeof_type()
328 case GL_HALF_FLOAT_OES: in _mesa_sizeof_packed_type()
445 case GL_HALF_FLOAT_OES: in _mesa_bytes_per_pixel()
549 case GL_HALF_FLOAT_OES: in _mesa_bytes_per_vertex_attrib()
1890 case GL_HALF_FLOAT_OES: in _mesa_error_check_format_and_type()
2203 || type == GL_HALF_FLOAT_OES); in _mesa_es_error_check_format_and_type()
2210 || type == GL_HALF_FLOAT_OES); in _mesa_es_error_check_format_and_type()
2218 || type == GL_HALF_FLOAT_OES in _mesa_es_error_check_format_and_type()
2760 case GL_HALF_FLOAT_OES: in gles_effective_internal_format_for_format_and_type()
3141 case GL_HALF_FLOAT_OES in _mesa_gles_error_check_format_and_type()
[all...]
H A Dpack.c272 srcType == GL_HALF_FLOAT_OES || in extract_uint_indexes()
412 case GL_HALF_FLOAT_OES: in extract_uint_indexes()
500 srcType == GL_HALF_FLOAT_OES || in _mesa_unpack_stencil_span()
691 case GL_HALF_FLOAT_OES: in _mesa_pack_stencil_span()
909 case GL_HALF_FLOAT_OES: in _mesa_unpack_depth_span()
1114 case GL_HALF_FLOAT_OES: in _mesa_pack_depth_span()
H A Dreadpix.c1098 if (type == GL_FLOAT || type == GL_HALF_FLOAT_OES) { in read_pixels()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp163 case GL_HALF_FLOAT_OES: return GL_RGBA16F; in GetSizedInternalFormat()
188 case GL_HALF_FLOAT_OES: return GL_RGB16F; in GetSizedInternalFormat()
209 case GL_HALF_FLOAT_OES: return GL_RG16F; in GetSizedInternalFormat()
230 case GL_HALF_FLOAT_OES: return GL_R16F; in GetSizedInternalFormat()
250 case GL_HALF_FLOAT_OES: return GL_LUMINANCE_ALPHA16F_EXT; in GetSizedInternalFormat()
259 case GL_HALF_FLOAT_OES: return GL_LUMINANCE16F_EXT; in GetSizedInternalFormat()
268 case GL_HALF_FLOAT_OES: return GL_ALPHA16F_EXT; in GetSizedInternalFormat()
425 case GL_HALF_FLOAT_OES: return 2; in ComputePixelSize()
442 case GL_HALF_FLOAT_OES: return 4; in ComputePixelSize()
461 case GL_HALF_FLOAT_OES in ComputePixelSize()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dload_functions_table_autogen.cpp79 case GL_HALF_FLOAT_OES: in ALPHA_to_R16G16B16A16_FLOAT()
121 case GL_HALF_FLOAT_OES: in ALPHA16F_EXT_to_R16_FLOAT()
135 case GL_HALF_FLOAT_OES: in ALPHA16F_EXT_to_default()
1667 case GL_HALF_FLOAT_OES: in LUMINANCE_to_R16G16B16A16_FLOAT()
1709 case GL_HALF_FLOAT_OES: in LUMINANCE16F_EXT_to_R16_FLOAT()
1723 case GL_HALF_FLOAT_OES: in LUMINANCE16F_EXT_to_default()
1809 case GL_HALF_FLOAT_OES: in LUMINANCE_ALPHA_to_R16G16B16A16_FLOAT()
1851 case GL_HALF_FLOAT_OES: in LUMINANCE_ALPHA16F_EXT_to_R16G16_FLOAT()
1865 case GL_HALF_FLOAT_OES: in LUMINANCE_ALPHA16F_EXT_to_default()
1905 case GL_HALF_FLOAT_OES in R11F_G11F_B10F_to_R11G11B10_FLOAT()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp636 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
683 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
733 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
787 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
849 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
899 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
948 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
1017 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
1091 if (m_dataType == GL_HALF_FLOAT_OES && !m_half_float_oes) in createTexture()
1148 if (m_dataType == GL_HALF_FLOAT_OES in createTexture()
[all...]
H A Des2fFboCompletenessTests.cpp95 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_HALF_FLOAT_OES),
96 GLS_UNSIZED_FORMATKEY(GL_RGB, GL_HALF_FLOAT_OES),
102 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_HALF_FLOAT_OES),
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedEnums.h492 if (from == GL_HALF_FLOAT_OES) in FromGLenum()
509 return GL_HALF_FLOAT_OES; in ToGLenum()
529 ANGLE_VALIDATE_PACKED_ENUM(VertexAttribType, HalfFloatOES, GL_HALF_FLOAT_OES);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A Dformatutilsgl.cpp551 (internalFormat.type == GL_HALF_FLOAT_OES && in GetNativeInternalFormat()
662 (type == GL_HALF_FLOAT_OES && in GetNativeFormat()
715 if (type == GL_HALF_FLOAT_OES) in GetNativeType()
724 if (type == GL_HALF_FLOAT_OES) in GetNativeType()
737 // On ES2, convert GL_HALF_FLOAT to GL_HALF_FLOAT_OES as a convenience for internal in GetNativeType()
742 result = GL_HALF_FLOAT_OES; in GetNativeType()
757 if (type == GL_HALF_FLOAT_OES) in GetNativeReadType()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A DDisplay.cpp399 case GL_HALF_FLOAT_OES: in createPBufferSurface()
499 case GL_HALF_FLOAT_OES: in createPBufferSurface()
H A DSurface.cpp264 case GL_HALF_FLOAT_OES: in getClientBufferFormat()
/third_party/vk-gl-cts/modules/glshared/
H A DglsFboCompletenessTests.cpp152 GLS_UNSIZED_FORMATKEY(GL_RED, GL_HALF_FLOAT_OES),
153 GLS_UNSIZED_FORMATKEY(GL_RG, GL_HALF_FLOAT_OES),
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp494 colorConversionMap[GL_HALF_FLOAT_OES] = &convertHFloat; in generateTextureData()
1576 TF(GL_RGB, GL_HALF_FLOAT_OES, GL_RGB, OES_texture_half_float), in getESTestData()
1577 TF(GL_RGBA, GL_HALF_FLOAT_OES, GL_RGBA, OES_texture_half_float), in getESTestData()
1578 TF(GL_RGB, GL_HALF_FLOAT_OES, GL_RGB, OES_texture_half_float_linear, DE_NULL, GL_LINEAR, GL_LINEAR), in getESTestData()
1579 TF(GL_RGBA, GL_HALF_FLOAT_OES, GL_RGBA, OES_texture_half_float_linear, DE_NULL, GL_LINEAR, GL_LINEAR), in getESTestData()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp423 #if !defined(GL_HALF_FLOAT_OES)
424 # define GL_HALF_FLOAT_OES 0x8D61 macro
433 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_HALF_FLOAT_OES; break;

Completed in 59 milliseconds

12