Home
last modified time | relevance | path

Searched refs:internalFormatInfo (Results 1 – 19 of 19) sorted by relevance

/external/angle/src/libANGLE/
Dformat_map_desktop.cpp86 const InternalFormat &internalFormatInfo = GetInternalFormatInfo(internalFormat, type); in ValidDesktopFormatCombination() local
109 if (!internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
114 if (internalFormatInfo.isInt()) in ValidDesktopFormatCombination()
117 if (formatInfo.isDepthOrStencil() != internalFormatInfo.isDepthOrStencil()) in ValidDesktopFormatCombination()
DCaps.cpp69 const InternalFormat &internalFormatInfo = GetSizedInternalFormatInfo(sizedInternalFormat); in GenerateMinimumTextureCaps() local
70 caps.texturable = internalFormatInfo.textureSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
71 caps.filterable = internalFormatInfo.filterSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
72 caps.textureAttachment = internalFormatInfo.textureAttachmentSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
73 caps.renderbuffer = internalFormatInfo.renderbufferSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
74 caps.blendable = internalFormatInfo.blendSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
77 if (internalFormatInfo.isRequiredRenderbufferFormat(clientVersion)) in GenerateMinimumTextureCaps()
80 (clientVersion.major >= 3 && !internalFormatInfo.isInt())) in GenerateMinimumTextureCaps()
Dcapture_gles_2_0_params.cpp693 const gl::InternalFormat &internalFormatInfo = gl::GetInternalFormatInfo(format, type); in CaptureTexImage2D_pixels() local
697 (void)internalFormatInfo.computeRowPitch(type, width, unpack.alignment, unpack.rowLength, in CaptureTexImage2D_pixels()
700 (void)internalFormatInfo.computeDepthPitch(height, unpack.imageHeight, srcRowPitch, in CaptureTexImage2D_pixels()
703 (void)internalFormatInfo.computeSkipBytes(type, srcRowPitch, srcDepthPitch, unpack, false, in CaptureTexImage2D_pixels()
DTexture.cpp1164 const InternalFormat &internalFormatInfo = in copyImage() local
1193 internalFormatInfo.format, internalFormatInfo.type, in copyImage()
1196 ImageDesc(size, Format(internalFormatInfo), InitState::MayNeedInit)); in copyImage()
1206 ImageDesc(size, Format(internalFormatInfo), InitState::Initialized)); in copyImage()
1284 const InternalFormat &internalFormatInfo = GetInternalFormatInfo(internalFormat, type); in copyTexture() local
1287 ImageDesc(sourceDesc.size, Format(internalFormatInfo), InitState::Initialized)); in copyTexture()
Dcapture_gles_3_0_params.cpp682 const gl::InternalFormat &internalFormatInfo = gl::GetInternalFormatInfo(format, type); in CaptureTexImage3D_pixels() local
689 internalFormatInfo.computePackUnpackEndByte(type, size, unpack, true, &endByte); in CaptureTexImage3D_pixels()
DvalidationES2.cpp163 const InternalFormat &internalFormatInfo = GetInternalFormatInfo(internalFormat, type); in IsValidCopyTextureDestinationFormatType() local
164 if (!internalFormatInfo.textureSupport(context->getClientVersion(), context->getExtensions())) in IsValidCopyTextureDestinationFormatType()
1150 const InternalFormat &internalFormatInfo = GetSizedInternalFormatInfo(actualInternalFormat); in ValidateES2TexImageParametersBase() local
1152 if (!internalFormatInfo.compressed) in ValidateES2TexImageParametersBase()
1158 if (!internalFormatInfo.textureSupport(context->getClientVersion(), in ValidateES2TexImageParametersBase()
Dformatutils.cpp1203 const InternalFormat &internalFormatInfo = iter->second.begin()->second; in GetSizedInternalFormatInfo() local
1204 if (!internalFormatInfo.sized) in GetSizedInternalFormatInfo()
1209 return internalFormatInfo; in GetSizedInternalFormatInfo()
/external/angle/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp57 const gl::InternalFormat &internalFormatInfo = in TEST_P() local
61 if (internalFormatInfo.depthBits == 0 && internalFormatInfo.stencilBits == 0) in TEST_P()
97 if (internalFormatInfo.depthBits > 0 || internalFormatInfo.stencilBits > 0) in TEST_P()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp970 const gl::InternalFormat &internalFormatInfo = in setStorage() local
974 ASSERT(internalFormatInfo.sized); in setStorage()
983 if (internalFormatInfo.compressed) in setStorage()
992 internalFormatInfo.computeCompressedImageSize(levelSize, &dataSize)); in setStorage()
1003 functions, features, internalFormat, internalFormatInfo.format, in setStorage()
1004 internalFormatInfo.type); in setStorage()
1019 if (internalFormatInfo.compressed) in setStorage()
1027 internalFormatInfo.computeCompressedImageSize( in setStorage()
1039 functions, features, internalFormat, internalFormatInfo.format, in setStorage()
1040 internalFormatInfo.type); in setStorage()
[all …]
DBlitGL.cpp165 const gl::InternalFormat &internalFormatInfo = in PrepareForClear() local
167 bool bindDepth = internalFormatInfo.depthBits > 0; in PrepareForClear()
168 bool bindStencil = internalFormatInfo.stencilBits > 0; in PrepareForClear()
Drenderergl_utils.cpp1755 const gl::InternalFormat &internalFormatInfo = gl::GetSizedInternalFormatInfo(internalFormat); in SupportsNativeRendering() local
1757 if (hasInternalFormatQuery && !internalFormatInfo.compressed) in SupportsNativeRendering()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp900 const gl::InternalFormat &internalFormatInfo = gl::GetInternalFormatInfo(internalFormat, type); in setImage() local
904 ANGLE_TRY(redefineImage(context, index.getLevelIndex(), internalFormatInfo.sizedInternalFormat, in setImage()
912 if (isFastUnpackable(unpackBuffer, internalFormatInfo.sizedInternalFormat) && in setImage()
923 internalFormatInfo.sizedInternalFormat, type, destRenderTarget)); in setImage()
1010 const gl::InternalFormat &internalFormatInfo = in copyImage() local
1013 ANGLE_TRY(redefineImage(context, index.getLevelIndex(), internalFormatInfo.sizedInternalFormat, in copyImage()
1126 const gl::InternalFormat &internalFormatInfo = gl::GetInternalFormatInfo(internalFormat, type); in copyTexture() local
1131 ANGLE_TRY(redefineImage(context, index.getLevelIndex(), internalFormatInfo.sizedInternalFormat, in copyTexture()
1145 internalFormatInfo.format, internalFormatInfo.type, destOffset, mTexStorage, in copyTexture()
1189 const gl::InternalFormat &internalFormatInfo = in copySubTexture() local
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm131 auto formatVerifier = [&](const gl::InternalFormat &internalFormatInfo) {
133 angle::Format::InternalFormatToID(internalFormatInfo.sizedInternalFormat);
150 textureCaps = gl::GenerateMinimumTextureCaps(internalFormatInfo.sizedInternalFormat,
176 const gl::InternalFormat &internalFormatInfo =
179 formatVerifier(internalFormatInfo);
DTextureMtl.mm548 const gl::InternalFormat &internalFormatInfo =
553 angle::Format::InternalFormatToID(internalFormatInfo.sizedInternalFormat);
563 return copySubImageImpl(context, index, gl::Offset(0, 0, 0), sourceArea, internalFormatInfo,
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp94 const gl::InternalFormat &internalFormatInfo = gl::GetSizedInternalFormatInfo(internalFormat); in GenerateTextureFormatCaps() local
97 if (internalFormatInfo.depthBits == 0 && internalFormatInfo.stencilBits == 0) in GenerateTextureFormatCaps()
DTextureStorage11.cpp750 const gl::InternalFormat &internalFormatInfo = in setData() local
756 ASSERT(internalFormatInfo.depthBits == 0 || fullUpdate); in setData()
762 ASSERT(!internalFormatInfo.compressed); in setData()
771 internalFormatInfo.computeRowPitch(type, width, unpack.alignment, in setData()
774 ANGLE_CHECK_GL_MATH(context11, internalFormatInfo.computeDepthPitch( in setData()
778 context11, internalFormatInfo.computeSkipBytes(type, srcRowPitch, srcDepthPitch, unpack, in setData()
DRenderer11.cpp3062 const gl::InternalFormat &internalFormatInfo = gl::GetSizedInternalFormatInfo(internalFormat); in supportsFastCopyBufferToTexture() local
3067 if (internalFormatInfo.colorEncoding == GL_SRGB) in supportsFastCopyBufferToTexture()
3079 if (internalFormatInfo.componentCount == 3) in supportsFastCopyBufferToTexture()
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.cpp312 const gl::InternalFormat &internalFormatInfo = in copyImage() local
314 const vk::Format &vkFormat = renderer->getFormat(internalFormatInfo.sizedInternalFormat); in copyImage()
317 return copySubImageImpl(context, index, gl::Offset(0, 0, 0), sourceArea, internalFormatInfo, in copyImage()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp3134 const gl::InternalFormat &internalFormatInfo = in clearRenderTarget() local
3136 if (internalFormatInfo.depthBits > 0 || internalFormatInfo.stencilBits > 0) in clearRenderTarget()