/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | dxgi_format_map_autogen.cpp | 30 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 36 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 38 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 40 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 44 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 46 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 50 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 52 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 56 return GL_UNSIGNED_NORMALIZED; in GetComponentType() 58 return GL_UNSIGNED_NORMALIZED; in GetComponentType() [all...] |
H A D | Format_table_autogen.cpp | 28 { FormatID::D16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT16, nullptr, NoCopyFunctions, ReadDepthStencil<D16>, WriteDepthStencil<D16>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 16, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 29 { FormatID::D24_UNORM_S8_UINT, GL_DEPTH24_STENCIL8, GL_DEPTH24_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil<D24S8>, WriteDepthStencil<D24S8>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 8, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 30 { FormatID::D24_UNORM_X8_UINT, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT24, nullptr, NoCopyFunctions, ReadDepthStencil<D24X8>, WriteDepthStencil<D24X8>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 33 { FormatID::D32_UNORM, GL_DEPTH_COMPONENT32_OES, GL_DEPTH_COMPONENT32_OES, nullptr, NoCopyFunctions, ReadDepthStencil<D32>, WriteDepthStencil<D32>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 36 { FormatID::A1R5G5B5_UNORM, GL_A1RGB5_ANGLEX, GL_A1RGB5_ANGLEX, GenerateMip<A1R5G5B5>, NoCopyFunctions, ReadColor<A1R5G5B5, GLfloat>, WriteColor<A1R5G5B5, GLfloat>, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 41 { FormatID::A2R10G10B10_UNORM_VERTEX, GL_A2_RGB10_UNORM_ANGLEX, GL_A2_RGB10_UNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, 44 { FormatID::A8_UNORM, GL_ALPHA8_EXT, GL_ALPHA8_EXT, GenerateMip<A8>, NoCopyFunctions, ReadColor<A8, GLfloat>, WriteColor<A8, GLfloat>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 45 { FormatID::ASTC_10x10_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits<GLuint>::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, 46 { FormatID::ASTC_10x10_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits<GLuint>::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, 47 { FormatID::ASTC_10x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, [all...] |
H A D | Format.h | 220 return componentType == GL_UNSIGNED_NORMALIZED; in isUnorm()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cTextureSizePromotion.cpp | 1082 return (GL_UNSIGNED_NORMALIZED == descriptor.expected_red_type) || in isFixedUnsignedType() 1083 (GL_UNSIGNED_NORMALIZED == descriptor.expected_green_type) || in isFixedUnsignedType() 1084 (GL_UNSIGNED_NORMALIZED == descriptor.expected_blue_type) || in isFixedUnsignedType() 1085 (GL_UNSIGNED_NORMALIZED == descriptor.expected_alpha_type); in isFixedUnsignedType() 1254 GL_UNSIGNED_NORMALIZED, GL_NONE, GL_NONE, GL_NONE, GL_NONE }, 1258 GL_UNSIGNED_NORMALIZED, GL_NONE, GL_NONE, GL_NONE, GL_NONE }, 1262 GL_UNSIGNED_NORMALIZED, GL_UNSIGNED_NORMALIZED, GL_NONE, GL_NONE, GL_NONE }, 1266 GL_UNSIGNED_NORMALIZED, GL_UNSIGNED_NORMALIZED, GL_NON [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp | 195 /* Return value is implementation-dependent. For current input values GL_UNSIGNED_INT and GL_UNSIGNED_NORMALIZED are valid */ in iterate() 197 texture_2d_properties.expected_texture_depth_types.push_back(GL_UNSIGNED_NORMALIZED); in iterate() 223 /* Return value is implementation-dependent. For current input values GL_UNSIGNED_INT and GL_UNSIGNED_NORMALIZED are valid */ in iterate() 224 texture_2d_array_properties.expected_texture_alpha_types.push_back(GL_UNSIGNED_NORMALIZED); in iterate() 227 /* Return value is implementation-dependent. For current input values GL_UNSIGNED_INT and GL_UNSIGNED_NORMALIZED are valid */ in iterate() 228 texture_2d_array_properties.expected_texture_blue_types.push_back(GL_UNSIGNED_NORMALIZED); in iterate() 235 /* Return value is implementation-dependent. For current input values GL_UNSIGNED_INT and GL_UNSIGNED_NORMALIZED are valid */ in iterate() 236 texture_2d_array_properties.expected_texture_green_types.push_back(GL_UNSIGNED_NORMALIZED); in iterate() 241 /* Return value is implementation-dependent. For current input values GL_UNSIGNED_INT and GL_UNSIGNED_NORMALIZED are valid */ in iterate() 242 texture_2d_array_properties.expected_texture_red_types.push_back(GL_UNSIGNED_NORMALIZED); in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | formatutils.cpp | 509 case GL_UNSIGNED_NORMALIZED: in isRequiredRenderbufferFormat() 953 formatInfo.componentType = GL_UNSIGNED_NORMALIZED; in AddCompressedFormat() 1030 AddRGBAFormat(&map, GL_R8, true, 8, 0, 0, 0, 0, GL_RED, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, SizedRGSupport, AlwaysSupported, SizedRGSupport, RequireESOrExt<3, 0, &Extensions::textureRgEXT>, RequireESOrExt<3, 0, &Extensions::textureRgEXT>); in BuildInternalFormatInfoMap() 1032 AddRGBAFormat(&map, GL_RG8, true, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, SizedRGSupport, AlwaysSupported, SizedRGSupport, RequireESOrExt<3, 0, &Extensions::textureRgEXT>, RequireESOrExt<3, 0, &Extensions::textureRgEXT>); in BuildInternalFormatInfoMap() 1034 AddRGBAFormat(&map, GL_RGB8, true, 8, 8, 8, 0, 0, GL_RGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, AlwaysSupported, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, RequireESOrExt<3, 0, &Extensions::rgb8Rgba8OES>, RequireESOrExt<3, 0, &Extensions::rgb8Rgba8OES>); in BuildInternalFormatInfoMap() 1036 AddRGBAFormat(&map, GL_RGB565, true, 5, 6, 5, 0, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_NORMALIZED, false, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, AlwaysSupported, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, RequireES<2, 0>, RequireES<2, 0>); in BuildInternalFormatInfoMap() 1037 AddRGBAFormat(&map, GL_RGBA4, true, 4, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_NORMALIZED, false, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, AlwaysSupported, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, RequireES<2, 0>, RequireES<2, 0>); in BuildInternalFormatInfoMap() 1038 AddRGBAFormat(&map, GL_RGB5_A1, true, 5, 5, 5, 1, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_NORMALIZED, false, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, AlwaysSupported, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, RequireES<2, 0>, RequireES<2, 0>); in BuildInternalFormatInfoMap() 1039 AddRGBAFormat(&map, GL_RGBA8, true, 8, 8, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, AlwaysSupported, RequireESOrExt<3, 0, &Extensions::textureStorageEXT>, RequireESOrExt<3, 0, &Extensions::rgb8Rgba8OES>, RequireESOrExt<3, 0, &Extensions::rgb8Rgba8OES>); in BuildInternalFormatInfoMap() 1042 AddRGBAFormat(&map, GL_SRGB8, true, 8, 8, 8, 0, 0, GL_RGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, tru in BuildInternalFormatInfoMap() [all...] |
H A D | validationES3.cpp | 1064 if ((textureFormatInfo.componentType == GL_UNSIGNED_NORMALIZED || in IsValidES3CopyTexImageCombination() 1066 !(framebufferFormatInfo.componentType == GL_UNSIGNED_NORMALIZED || in IsValidES3CopyTexImageCombination() 2400 constexpr GLenum validComponentTypes[] = {GL_FLOAT, GL_UNSIGNED_NORMALIZED, in ValidateClearBufferfv()
|
H A D | validationES.cpp | 199 case GL_UNSIGNED_NORMALIZED: in ValidReadPixelsFormatType() 1590 bool readFixedPoint = (readComponentType == GL_UNSIGNED_NORMALIZED || in ValidateBlitFramebufferParameters() 1592 bool drawFixedPoint = (drawComponentType == GL_UNSIGNED_NORMALIZED || in ValidateBlitFramebufferParameters()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboStateQueryTests.cpp | 505 { GL_R8, GL_UNSIGNED_NORMALIZED }, in test() 506 { GL_RG8, GL_UNSIGNED_NORMALIZED }, in test() 507 { GL_RGB8, GL_UNSIGNED_NORMALIZED }, in test() 508 { GL_RGB565, GL_UNSIGNED_NORMALIZED }, in test() 509 { GL_RGBA4, GL_UNSIGNED_NORMALIZED }, in test() 510 { GL_RGB5_A1, GL_UNSIGNED_NORMALIZED }, in test() 511 { GL_RGBA8, GL_UNSIGNED_NORMALIZED }, in test() 512 { GL_RGB10_A2, GL_UNSIGNED_NORMALIZED }, in test() 514 { GL_SRGB8_ALPHA8, GL_UNSIGNED_NORMALIZED }, in test()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayGetterCalls.cpp | 284 m_expected_alpha_type = GL_UNSIGNED_NORMALIZED; in iterate() 286 m_expected_blue_type = GL_UNSIGNED_NORMALIZED; in iterate() 288 m_expected_green_type = GL_UNSIGNED_NORMALIZED; in iterate() 290 m_expected_red_type = GL_UNSIGNED_NORMALIZED; in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | formatutils9.cpp | 207 return GL_UNSIGNED_NORMALIZED; in GetDeclTypeComponentType() 211 return GL_UNSIGNED_NORMALIZED; in GetDeclTypeComponentType() 215 return GL_UNSIGNED_NORMALIZED; in GetDeclTypeComponentType()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | readpix.c | 139 if (_mesa_get_format_datatype(texFormat) == GL_UNSIGNED_NORMALIZED && in _mesa_get_readpixels_transfer_ops() 295 if (_mesa_get_format_datatype(rb->Format) != GL_UNSIGNED_NORMALIZED) in read_uint_depth_pixels() 702 if (_mesa_get_format_datatype(depthRb->Format) != GL_UNSIGNED_NORMALIZED) in fast_read_depth_stencil_pixels_separate() 935 if (type == GL_UNSIGNED_BYTE && data_type == GL_UNSIGNED_NORMALIZED) in read_pixels_es3_error_check()
|
H A D | blit.c | 118 assert(srcType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes() 126 assert(dstType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
|
H A D | format_utils.c | 494 case GL_UNSIGNED_NORMALIZED: in _mesa_format_convert()
|
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | mesa_formats.cpp | 93 datatype == GL_UNSIGNED_NORMALIZED || in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | PixelTransfer11.cpp | 262 if (componentType == GL_SIGNED_NORMALIZED || componentType == GL_UNSIGNED_NORMALIZED) in findBufferToTexturePS()
|
H A D | Clear11.cpp | 482 formatInfo.componentType == GL_UNSIGNED_NORMALIZED || in clearFramebuffer()
|
H A D | Blit11.cpp | 814 componentType = GL_UNSIGNED_NORMALIZED; in swizzleTexture() 828 case GL_UNSIGNED_NORMALIZED: in swizzleTexture()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | utilities.cpp | 1350 case GL_UNSIGNED_NORMALIZED: in GLComponentTypeToEGLColorComponentType()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | DynamicHLSL.cpp | 39 case GL_UNSIGNED_NORMALIZED: in HLSLComponentTypeString()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | utilities.cpp | 1821 return GL_UNSIGNED_NORMALIZED; in GetColorComponentType() 1879 // Can be one of GL_FLOAT, GL_INT, GL_UNSIGNED_INT, GL_SIGNED_NORMALIZED, or GL_UNSIGNED_NORMALIZED in GetComponentType() 1929 return type == GL_UNSIGNED_NORMALIZED || type == GL_SIGNED_NORMALIZED; in IsNormalizedInteger()
|
H A D | Context.cpp | 4185 bool readFixedPoint = ((readComponentType == GL_UNSIGNED_NORMALIZED) || in blitFramebuffer() 4187 bool drawFixedPoint = ((drawComponentType == GL_UNSIGNED_NORMALIZED) || in blitFramebuffer()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureLevelStateQueryTests.cpp | 1375 return GL_UNSIGNED_NORMALIZED; in getComponentType() 1391 case tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT: channelType = GL_UNSIGNED_NORMALIZED; break; in getComponentType()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedDepthStencilTests.cpp | 227 { GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, GL_UNSIGNED_NORMALIZED }, 259 { GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, GL_UNSIGNED_NORMALIZED },
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | functionsgl_enums.h | 692 #define GL_UNSIGNED_NORMALIZED 0x8C17 macro
|