Home
last modified time | relevance | path

Searched refs:formatID (Results 1 – 25 of 32) sorted by relevance

12

/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp24 angle::FormatID formatID, in FillTextureFormatCaps() argument
30 renderer->hasImageFormatFeatureBits(formatID, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); in FillTextureFormatCaps()
32 formatID, VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT); in FillTextureFormatCaps()
35 renderer->hasImageFormatFeatureBits(formatID, VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT); in FillTextureFormatCaps()
37 formatID, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT); in FillTextureFormatCaps()
39 renderer->hasImageFormatFeatureBits(formatID, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT); in FillTextureFormatCaps()
68 bool HasFullBufferFormatSupport(RendererVk *renderer, angle::FormatID formatID) in HasFullBufferFormatSupport() argument
76 return renderer->hasBufferFormatFeatureBits(formatID, VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT); in HasFullBufferFormatSupport()
79 using SupportTest = bool (*)(RendererVk *renderer, angle::FormatID formatID);
109 bool HasNonFilterableTextureFormatSupport(RendererVk *renderer, angle::FormatID formatID) in HasNonFilterableTextureFormatSupport() argument
[all …]
Dvk_format_utils.h51 VkFormat GetVkFormatFromFormatID(angle::FormatID formatID);
164 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat);
165 return mFormatData[static_cast<size_t>(formatID)];
168 ANGLE_INLINE const Format &operator[](angle::FormatID formatID) const
170 return mFormatData[static_cast<size_t>(formatID)];
182 const VkFormatProperties &GetMandatoryFormatSupport(angle::FormatID formatID);
184 VkImageUsageFlags GetMaximalImageUsageFlags(RendererVk *renderer, angle::FormatID formatID);
189 bool HasFullTextureFormatSupport(RendererVk *renderer, angle::FormatID formatID);
191 bool HasNonRenderableTextureFormatSupport(RendererVk *renderer, angle::FormatID formatID);
DRendererVk.h188 const vk::Format &getFormat(angle::FormatID formatID) const { return mFormatTable[formatID]; } in getFormat() argument
422 VkFormatFeatureFlags getFormatFeatureBits(angle::FormatID formatID,
426 bool hasFormatFeatureBits(angle::FormatID formatID,
DRendererVk.cpp2756 bool RendererVk::hasLinearImageFormatFeatureBits(angle::FormatID formatID, in hasLinearImageFormatFeatureBits() argument
2759 return hasFormatFeatureBits<&VkFormatProperties::linearTilingFeatures>(formatID, featureBits); in hasLinearImageFormatFeatureBits()
2763 angle::FormatID formatID, in getLinearImageFormatFeatureBits() argument
2766 return getFormatFeatureBits<&VkFormatProperties::linearTilingFeatures>(formatID, featureBits); in getLinearImageFormatFeatureBits()
2770 angle::FormatID formatID, in getImageFormatFeatureBits() argument
2773 return getFormatFeatureBits<&VkFormatProperties::optimalTilingFeatures>(formatID, featureBits); in getImageFormatFeatureBits()
2776 bool RendererVk::hasImageFormatFeatureBits(angle::FormatID formatID, in hasImageFormatFeatureBits() argument
2779 return hasFormatFeatureBits<&VkFormatProperties::optimalTilingFeatures>(formatID, featureBits); in hasImageFormatFeatureBits()
2782 bool RendererVk::hasBufferFormatFeatureBits(angle::FormatID formatID, in hasBufferFormatFeatureBits() argument
2785 return hasFormatFeatureBits<&VkFormatProperties::bufferFeatures>(formatID, featureBits); in hasBufferFormatFeatureBits()
[all …]
Dvk_cache_utils.cpp980 angle::FormatID formatID = desc[colorIndexGL]; in InitializeRenderPassFromDesc() local
981 ASSERT(formatID != angle::FormatID::NONE); in InitializeRenderPassFromDesc()
982 const Format &format = renderer->getFormat(formatID); in InitializeRenderPassFromDesc()
1022 angle::FormatID formatID = desc[depthStencilIndexGL]; in InitializeRenderPassFromDesc() local
1023 ASSERT(formatID != angle::FormatID::NONE); in InitializeRenderPassFromDesc()
1024 const Format &format = renderer->getFormat(formatID); in InitializeRenderPassFromDesc()
1397 void RenderPassDesc::packColorAttachment(size_t colorIndexGL, angle::FormatID formatID) in packColorAttachment() argument
1405 ASSERT(formatID != angle::FormatID::NONE); in packColorAttachment()
1408 SetBitField(packedFormat, formatID); in packColorAttachment()
1428 void RenderPassDesc::packDepthStencilAttachment(angle::FormatID formatID) in packDepthStencilAttachment() argument
[all …]
DBufferVk.h126 angle::FormatID formatID,
199 angle::FormatID formatID; member
DBufferVk.cpp187 formatID(formatIDIn), in VertexConversionBuffer()
891 angle::FormatID formatID, in getVertexConversionBuffer() argument
898 if (buffer.formatID == formatID && buffer.stride == stride && buffer.offset == offset) in getVertexConversionBuffer()
904 mVertexConversionBuffers.emplace_back(renderer, formatID, stride, offset, hostVisible); in getVertexConversionBuffer()
Dvk_mandatory_format_support_table_autogen.cpp294 const VkFormatProperties &GetMandatoryFormatSupport(FormatID formatID) in GetMandatoryFormatSupport() argument
296 return kFormatProperties[formatID]; in GetMandatoryFormatSupport()
Dvk_cache_utils.h144 void packColorAttachment(size_t colorIndexGL, angle::FormatID formatID);
843 angle::FormatID formatID);
853 angle::FormatID formatID);
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dtexture_format_table.h37 angle::FormatID formatID,
54 angle::FormatID formatID; member
71 formatID(angle::FormatID::NONE), in Format()
83 angle::FormatID formatID, in Format() argument
93 formatID(formatID), in Format()
Dtexture_format_table.cpp25 return GetLoadFunctionsMap(internalFormat, formatID); in getLoadFunctions()
30 return angle::Format::Get(formatID); in format()
DRenderTarget11.cpp230 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11()
259 ASSERT(mFormatSet.formatID != angle::FormatID::NONE || mWidth == 0 || mHeight == 0); in TextureRenderTarget11()
/external/angle/src/libANGLE/renderer/
Dd3d_format.h30 angle::FormatID formatID);
32 const angle::Format &info() const { return angle::Format::Get(formatID); } in info()
47 angle::FormatID formatID; member
Dd3d_format.cpp33 formatID(angle::FormatID::NONE) in D3DFormat()
46 FormatID formatID) in D3DFormat() argument
57 formatID(formatID) in D3DFormat()
Drenderer_utils.h93 angle::FormatID formatID; member
101 bool has(angle::FormatID formatID) const;
102 PixelCopyFunction get(angle::FormatID formatID) const;
436 angle::FormatID ConvertToSRGB(angle::FormatID formatID);
437 angle::FormatID ConvertToLinear(angle::FormatID formatID);
438 bool IsOverridableLinearFormat(angle::FormatID formatID);
Drenderer_utils.cpp433 bool FastCopyFunctionMap::has(angle::FormatID formatID) const in has()
435 return (get(formatID) != nullptr); in has()
438 PixelCopyFunction FastCopyFunctionMap::get(angle::FormatID formatID) const in get()
442 if (mData[index].formatID == formatID) in get()
1273 angle::FormatID ConvertToSRGB(angle::FormatID formatID) in ConvertToSRGB() argument
1275 switch (formatID) in ConvertToSRGB()
1336 angle::FormatID ConvertToLinear(angle::FormatID formatID) in ConvertToLinear() argument
1338 switch (formatID) in ConvertToLinear()
1399 bool IsOverridableLinearFormat(angle::FormatID formatID) in IsOverridableLinearFormat() argument
1401 return ConvertToSRGB(formatID) != angle::FormatID::NONE; in IsOverridableLinearFormat()
/external/angle/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp240 : formatID(angle::FormatID::NONE), stride(0), offset(0) in AttributeSignature()
249 if (formatID != attrib.format->id || static_cast<GLuint>(stride) != attribStride) in matchesAttribute()
262 formatID = attrib.format->id; in set()
DVertexBuffer.h179 angle::FormatID formatID;
/external/angle/src/libANGLE/renderer/metal/
DBufferMtl.mm88 formatID(formatIDIn),
328 angle::FormatID formatID,
334 if (buffer.formatID == formatID && buffer.stride == stride && buffer.offset == offset)
340 mVertexConversionBuffers.emplace_back(context, formatID, stride, offset);
342 const angle::Format &angleFormat = angle::Format::Get(formatID);
DBufferMtl.h56 angle::FormatID formatID; member
149 angle::FormatID formatID,
/external/angle/src/libANGLE/
DCaps.cpp97 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in insert() local
98 get(formatID) = caps; in insert()
108 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in get() local
109 return get(formatID); in get()
112 const TextureCaps &TextureCapsMap::get(angle::FormatID formatID) const in get()
114 return mFormatData[formatID]; in get()
117 TextureCaps &TextureCapsMap::get(angle::FormatID formatID) in get() argument
119 return mFormatData[formatID]; in get()
122 void TextureCapsMap::set(angle::FormatID formatID, const TextureCaps &caps) in set() argument
124 get(formatID) = caps; in set()
DCaps.h77 const TextureCaps &get(angle::FormatID formatID) const;
78 void set(angle::FormatID formatID, const TextureCaps &caps);
81 TextureCaps &get(angle::FormatID formatID);
DVertexArray.cpp421 angle::FormatID formatID = gl::GetVertexFormatID(type, normalized, size, pureInteger); in setVertexAttribFormatImpl() local
423 if (formatID != attrib->format->id || attrib->relativeOffset != relativeOffset) in setVertexAttribFormatImpl()
426 attrib->format = &angle::Format::Get(formatID); in setVertexAttribFormatImpl()
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp128 angle::FormatID formatID = vk::GetFormatIDFromVkFormat(bufferFormatProperties.format); in ValidateHardwareBuffer() local
129 if (!HasFullTextureFormatSupport(renderer, formatID)) in ValidateHardwareBuffer()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp395 const angle::Format &angleFormat = angle::Format::Get(d3dFormatInfo.formatID); in getImplementationColorReadFormat()

12