Home
last modified time | relevance | path

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

123

/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);
/third_party/flutter/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()
/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()
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h44 angle::FormatID formatID);
46 const angle::Format &info() const { return angle::Format::Get(formatID); } in info()
61 angle::FormatID formatID; member
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.h121 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat);
122 return mFormatData[static_cast<size_t>(formatID)];
125 ANGLE_INLINE const Format &operator[](angle::FormatID formatID) const
127 return mFormatData[static_cast<size_t>(formatID)];
DBufferVk.cpp58 formatID(formatIDIn), in VertexConversionBuffer()
357 angle::FormatID formatID, in getVertexConversionBuffer() argument
363 if (buffer.formatID == formatID && buffer.stride == stride && buffer.offset == offset) in getVertexConversionBuffer()
369 mVertexConversionBuffers.emplace_back(renderer, formatID, stride, offset); in getVertexConversionBuffer()
Dvk_format_utils.cpp214 const auto formatID = static_cast<angle::FormatID>(formatIndex); in initialize() local
215 const angle::Format &angleFormat = angle::Format::Get(formatID); in initialize()
219 format.angleFormatID = formatID; in initialize()
228 outTextureCapsMap->set(formatID, textureCaps); in initialize()
DBufferVk.h111 angle::FormatID formatID,
134 angle::FormatID formatID; member
Dvk_cache_utils.cpp219 angle::FormatID formatID = desc[colorIndexGL]; in InitializeRenderPassFromDesc() local
220 ASSERT(formatID != angle::FormatID::NONE); in InitializeRenderPassFromDesc()
221 const vk::Format &format = context->getRenderer()->getFormat(formatID); in InitializeRenderPassFromDesc()
240 angle::FormatID formatID = desc[depthStencilIndex]; in InitializeRenderPassFromDesc() local
241 ASSERT(formatID != angle::FormatID::NONE); in InitializeRenderPassFromDesc()
242 const vk::Format &format = context->getRenderer()->getFormat(formatID); in InitializeRenderPassFromDesc()
368 void RenderPassDesc::packColorAttachment(size_t colorIndexGL, angle::FormatID formatID) in packColorAttachment() argument
376 ASSERT(formatID != angle::FormatID::NONE); in packColorAttachment()
379 SetBitField(packedFormat, formatID); in packColorAttachment()
400 void RenderPassDesc::packDepthStencilAttachment(angle::FormatID formatID) in packDepthStencilAttachment() argument
[all …]
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp225 : formatID(angle::FormatID::NONE), stride(0), offset(0) in AttributeSignature()
234 if (formatID != attrib.format->id || static_cast<GLuint>(stride) != attribStride) in matchesAttribute()
247 formatID = attrib.format->id; in set()
/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);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DCaps.cpp94 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in insert() local
95 get(formatID) = caps; in insert()
105 angle::FormatID formatID = angle::Format::InternalFormatToID(internalFormat); in get() local
106 return get(formatID); in get()
109 const TextureCaps &TextureCapsMap::get(angle::FormatID formatID) const in get()
111 return mFormatData[static_cast<size_t>(formatID)]; in get()
114 TextureCaps &TextureCapsMap::get(angle::FormatID formatID) in get() argument
116 return mFormatData[static_cast<size_t>(formatID)]; in get()
119 void TextureCapsMap::set(angle::FormatID formatID, const TextureCaps &caps) in set() argument
121 get(formatID) = caps; in set()
DCaps.h72 const TextureCaps &get(angle::FormatID formatID) const;
73 void set(angle::FormatID formatID, const TextureCaps &caps);
76 TextureCaps &get(angle::FormatID formatID);
/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()
/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);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.h143 angle::FormatID formatID; member
151 bool has(angle::FormatID formatID) const;
152 PixelCopyFunction get(angle::FormatID formatID) const;

123