/external/angle/src/libANGLE/ |
D | format_map_desktop.cpp | 86 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()
|
D | Caps.cpp | 69 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()
|
D | capture_gles_2_0_params.cpp | 693 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()
|
D | Texture.cpp | 1164 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()
|
D | capture_gles_3_0_params.cpp | 682 const gl::InternalFormat &internalFormatInfo = gl::GetInternalFormatInfo(format, type); in CaptureTexImage3D_pixels() local 689 internalFormatInfo.computePackUnpackEndByte(type, size, unpack, true, &endByte); in CaptureTexImage3D_pixels()
|
D | validationES2.cpp | 163 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()
|
D | formatutils.cpp | 1203 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/ |
D | D3D11FormatTablesTest.cpp | 57 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/ |
D | TextureGL.cpp | 970 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 …]
|
D | BlitGL.cpp | 165 const gl::InternalFormat &internalFormatInfo = in PrepareForClear() local 167 bool bindDepth = internalFormatInfo.depthBits > 0; in PrepareForClear() 168 bool bindStencil = internalFormatInfo.stencilBits > 0; in PrepareForClear()
|
D | renderergl_utils.cpp | 1755 const gl::InternalFormat &internalFormatInfo = gl::GetSizedInternalFormatInfo(internalFormat); in SupportsNativeRendering() local 1757 if (hasInternalFormatQuery && !internalFormatInfo.compressed) in SupportsNativeRendering()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 900 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/ |
D | mtl_format_utils.mm | 131 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);
|
D | TextureMtl.mm | 548 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/ |
D | renderer11_utils.cpp | 94 const gl::InternalFormat &internalFormatInfo = gl::GetSizedInternalFormatInfo(internalFormat); in GenerateTextureFormatCaps() local 97 if (internalFormatInfo.depthBits == 0 && internalFormatInfo.stencilBits == 0) in GenerateTextureFormatCaps()
|
D | TextureStorage11.cpp | 750 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()
|
D | Renderer11.cpp | 3062 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/ |
D | TextureVk.cpp | 312 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/ |
D | Renderer9.cpp | 3134 const gl::InternalFormat &internalFormatInfo = in clearRenderTarget() local 3136 if (internalFormatInfo.depthBits > 0 || internalFormatInfo.stencilBits > 0) in clearRenderTarget()
|