Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/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.h223 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat);
224 return mFormatData[static_cast<size_t>(formatID)];
227 ANGLE_INLINE const Format &operator[](angle::FormatID formatID) const
229 return mFormatData[static_cast<size_t>(formatID)];
241 const VkFormatProperties &GetMandatoryFormatSupport(angle::FormatID formatID);
243 VkImageUsageFlags GetMaximalImageUsageFlags(RendererVk *renderer, angle::FormatID formatID);
248 bool HasFullTextureFormatSupport(RendererVk *renderer, angle::FormatID formatID);
250 bool HasNonRenderableTextureFormatSupport(RendererVk *renderer, angle::FormatID formatID);
DRendererVk.cpp3085 bool RendererVk::hasLinearImageFormatFeatureBits(angle::FormatID formatID, in hasLinearImageFormatFeatureBits() argument
3088 return hasFormatFeatureBits<&VkFormatProperties::linearTilingFeatures>(formatID, featureBits); in hasLinearImageFormatFeatureBits()
3092 angle::FormatID formatID, in getLinearImageFormatFeatureBits() argument
3095 return getFormatFeatureBits<&VkFormatProperties::linearTilingFeatures>(formatID, featureBits); in getLinearImageFormatFeatureBits()
3099 angle::FormatID formatID, in getImageFormatFeatureBits() argument
3102 return getFormatFeatureBits<&VkFormatProperties::optimalTilingFeatures>(formatID, featureBits); in getImageFormatFeatureBits()
3105 bool RendererVk::hasImageFormatFeatureBits(angle::FormatID formatID, in hasImageFormatFeatureBits() argument
3108 return hasFormatFeatureBits<&VkFormatProperties::optimalTilingFeatures>(formatID, featureBits); in hasImageFormatFeatureBits()
3111 bool RendererVk::hasBufferFormatFeatureBits(angle::FormatID formatID, in hasBufferFormatFeatureBits() argument
3114 return hasFormatFeatureBits<&VkFormatProperties::bufferFeatures>(formatID, featureBits); in hasBufferFormatFeatureBits()
[all …]
DRendererVk.h223 const vk::Format &getFormat(angle::FormatID formatID) const { return mFormatTable[formatID]; } in getFormat() argument
519 VkFormatFeatureFlags getFormatFeatureBits(angle::FormatID formatID,
523 bool hasFormatFeatureBits(angle::FormatID formatID,
DBufferVk.h135 angle::FormatID formatID,
222 angle::FormatID formatID; member
Dvk_cache_utils.cpp184 angle::FormatID formatID, in UnpackAttachmentDesc() argument
189 desc->format = GetVkFormatFromFormatID(formatID); in UnpackAttachmentDesc()
205 angle::FormatID formatID, in UnpackColorResolveAttachmentDesc() argument
210 desc->format = GetVkFormatFromFormatID(formatID); in UnpackColorResolveAttachmentDesc()
213 const angle::Format &angleFormat = angle::Format::Get(formatID); in UnpackColorResolveAttachmentDesc()
234 angle::FormatID formatID, in UnpackDepthStencilResolveAttachmentDesc() argument
243 desc->format = GetVkFormatFromFormatID(formatID); in UnpackDepthStencilResolveAttachmentDesc()
246 const angle::Format &angleFormat = angle::Format::Get(formatID); in UnpackDepthStencilResolveAttachmentDesc()
1419 void RenderPassDesc::packColorAttachment(size_t colorIndexGL, angle::FormatID formatID) in packColorAttachment() argument
1427 ASSERT(formatID != angle::FormatID::NONE); in packColorAttachment()
[all …]
Dvk_mandatory_format_support_table_autogen.cpp295 const VkFormatProperties &GetMandatoryFormatSupport(FormatID formatID) in GetMandatoryFormatSupport() argument
297 return kFormatProperties[formatID]; in GetMandatoryFormatSupport()
DBufferVk.cpp201 formatID(formatIDIn), in VertexConversionBuffer()
1141 angle::FormatID formatID, in getVertexConversionBuffer() argument
1148 if (buffer.formatID == formatID && buffer.stride == stride && buffer.offset == offset) in getVertexConversionBuffer()
1154 mVertexConversionBuffers.emplace_back(renderer, formatID, stride, offset, hostVisible); in getVertexConversionBuffer()
Dvk_helpers.h1458 angle::FormatID formatID,
1804 angle::FormatID formatID);
2042 angle::FormatID formatID) const;
2081 angle::FormatID formatID; member
2086 angle::FormatID formatID; member
2095 angle::FormatID formatID);
2098 angle::FormatID formatID);
2445 angle::FormatID formatID,
2454 angle::FormatID formatID,
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dd3d_format.h33 angle::FormatID formatID);
35 const angle::Format &info() const { return angle::Format::Get(formatID); } in info()
50 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;
448 angle::FormatID ConvertToSRGB(angle::FormatID formatID);
449 angle::FormatID ConvertToLinear(angle::FormatID formatID);
450 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()
1313 angle::FormatID ConvertToSRGB(angle::FormatID formatID) in ConvertToSRGB() argument
1315 switch (formatID) in ConvertToSRGB()
1376 angle::FormatID ConvertToLinear(angle::FormatID formatID) in ConvertToLinear() argument
1378 switch (formatID) in ConvertToLinear()
1439 bool IsOverridableLinearFormat(angle::FormatID formatID) in IsOverridableLinearFormat() argument
1441 return ConvertToSRGB(formatID) != angle::FormatID::NONE; in IsOverridableLinearFormat()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanFramebufferTest.cpp87 angle::FormatID formatID = angle::FormatID::R4G4B4A4_UNORM; in TEST_P() local
91 formatID, in TEST_P()
122 EXPECT_EQ(textureVk->getImage().getActualFormatID(), formatID); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCaps.cpp96 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in insert() local
97 get(formatID) = caps; in insert()
107 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in get() local
108 return get(formatID); in get()
111 const TextureCaps &TextureCapsMap::get(angle::FormatID formatID) const in get()
113 return mFormatData[formatID]; in get()
116 TextureCaps &TextureCapsMap::get(angle::FormatID formatID) in get() argument
118 return mFormatData[formatID]; in get()
121 void TextureCapsMap::set(angle::FormatID formatID, const TextureCaps &caps) in set() argument
123 get(formatID) = caps; in set()
DCaps.h75 const TextureCaps &get(angle::FormatID formatID) const;
76 void set(angle::FormatID formatID, const TextureCaps &caps);
79 TextureCaps &get(angle::FormatID formatID);
DVertexArray.cpp456 angle::FormatID formatID = gl::GetVertexFormatID(type, normalized, size, pureInteger); in setVertexAttribFormatImpl() local
458 if (formatID != attrib->format->id || attrib->relativeOffset != relativeOffset) in setVertexAttribFormatImpl()
461 attrib->format = &angle::Format::Get(formatID); in setVertexAttribFormatImpl()
/third_party/skia/third_party/externals/angle2/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;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DBufferMtl.mm85 formatID(formatIDIn),
323 angle::FormatID formatID,
329 if (buffer.formatID == formatID && buffer.stride == stride && buffer.offset <= offset &&
336 mVertexConversionBuffers.emplace_back(context, formatID, stride, offset);
338 const angle::Format &angleFormat = angle::Format::Get(formatID);
DBufferMtl.h65 angle::FormatID formatID; member
156 angle::FormatID formatID,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp162 angle::FormatID formatID = vk::GetFormatIDFromVkFormat(bufferFormatProperties.format); in ValidateHardwareBuffer() local
163 if (!HasFullTextureFormatSupport(renderer, formatID)) in ValidateHardwareBuffer()

12