Home
last modified time | relevance | path

Searched refs:angleFormat (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dload_functions_table_autogen.cpp3253 LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, FormatID angleFormat) in GetLoadFunctionsMap() argument
3260 switch (angleFormat) in GetLoadFunctionsMap()
3271 switch (angleFormat) in GetLoadFunctionsMap()
3283 switch (angleFormat) in GetLoadFunctionsMap()
3293 switch (angleFormat) in GetLoadFunctionsMap()
3303 switch (angleFormat) in GetLoadFunctionsMap()
3318 switch (angleFormat) in GetLoadFunctionsMap()
3329 switch (angleFormat) in GetLoadFunctionsMap()
3346 switch (angleFormat) in GetLoadFunctionsMap()
3359 switch (angleFormat) in GetLoadFunctionsMap()
[all …]
Dload_texture_border_functions_table_autogen.cpp49 FormatID angleFormat) in GetLoadTextureBorderFunctionsMap() argument
55 switch (angleFormat) in GetLoadTextureBorderFunctionsMap()
65 switch (angleFormat) in GetLoadTextureBorderFunctionsMap()
Dload_functions_table.h17 rx::LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, FormatID angleFormat);
Dload_texture_border_functions_table.h18 FormatID angleFormat);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp438 const angle::Format &angleFormat, in GetFormatSwizzle() argument
443 if (angleFormat.isLUMA()) in GetFormatSwizzle()
446 if (angleFormat.luminanceBits > 0) in GetFormatSwizzle()
449 swizzleA = (angleFormat.alphaBits > 0 ? GL_GREEN : GL_ONE); in GetFormatSwizzle()
463 if (angleFormat.hasDepthOrStencilBits()) in GetFormatSwizzle()
468 bool hasGB = (angleFormat.depthBits > 0) && !sized; in GetFormatSwizzle()
478 if (!angleFormat.isBlock) in GetFormatSwizzle()
481 internalSwizzle.swizzleRed = angleFormat.redBits > 0 ? GL_RED : GL_ZERO; in GetFormatSwizzle()
482 internalSwizzle.swizzleGreen = angleFormat.greenBits > 0 ? GL_GREEN : GL_ZERO; in GetFormatSwizzle()
483 internalSwizzle.swizzleBlue = angleFormat.blueBits > 0 ? GL_BLUE : GL_ZERO; in GetFormatSwizzle()
[all …]
DTextureVk.cpp183 const angle::Format &angleFormat = angle::Format::Get(formatID); in CanGenerateMipmapWithCompute() local
195 const bool isSRGB = angleFormat.isSRGB; in CanGenerateMipmapWithCompute()
198 const bool isInt = angleFormat.isInt(); in CanGenerateMipmapWithCompute()
207 const bool isColorFormat = !angleFormat.hasDepthOrStencilBits(); in CanGenerateMipmapWithCompute()
1906 const angle::Format &angleFormat = mImage->getActualFormat(); in generateMipmapsWithCPU() local
1907 GLuint sourceRowPitch = baseLevelExtents.width * angleFormat.pixelBytes; in generateMipmapsWithCPU()
1918 ANGLE_TRY(generateMipmapLevelsWithCPU(contextVk, angleFormat, layer, baseLevelGL + 1, in generateMipmapsWithCPU()
2854 const angle::Format &angleFormat = mImage->getActualFormat(); in getCopyImageViewAndRecordUse() local
2855 ASSERT(angleFormat.isSRGB == in getCopyImageViewAndRecordUse()
2857 if (angleFormat.isSRGB) in getCopyImageViewAndRecordUse()
[all …]
Dvk_format_utils.h254 const angle::Format &angleFormat,
Dvk_cache_utils.cpp213 const angle::Format &angleFormat = angle::Format::Get(formatID); in UnpackColorResolveAttachmentDesc() local
214 ASSERT(angleFormat.depthBits == 0 && angleFormat.stencilBits == 0); in UnpackColorResolveAttachmentDesc()
246 const angle::Format &angleFormat = angle::Format::Get(formatID); in UnpackDepthStencilResolveAttachmentDesc() local
247 ASSERT(angleFormat.depthBits != 0 || angleFormat.stencilBits != 0); in UnpackDepthStencilResolveAttachmentDesc()
250 ASSERT(angleFormat.depthBits > 0 || isDepthInvalidated); in UnpackDepthStencilResolveAttachmentDesc()
251 ASSERT(angleFormat.stencilBits > 0 || isStencilInvalidated); in UnpackDepthStencilResolveAttachmentDesc()
1104 const angle::Format &angleFormat = angle::Format::Get(attachmentFormatID); in InitializeRenderPassFromDesc() local
1107 if (angleFormat.depthBits == 0) in InitializeRenderPassFromDesc()
1111 if (angleFormat.stencilBits == 0) in InitializeRenderPassFromDesc()
DVertexArrayVk.cpp32 const angle::Format &angleFormat, in BindingIsAligned() argument
37 GLuint mask = angleFormat.componentAlignmentMask; in BindingIsAligned()
47 unsigned int formatSize = angleFormat.pixelBytes; in BindingIsAligned()
Dvk_helpers.cpp4421 const angle::Format &angleFormat = getActualFormat(); in initializeNonZeroMemory() local
4422 bool isCompressedFormat = angleFormat.isBlock; in initializeNonZeroMemory()
4424 if (angleFormat.isYUV) in initializeNonZeroMemory()
5343 const angle::Format &angleFormat = getActualFormat(); in clear() local
5344 bool isDepthStencil = angleFormat.depthBits > 0 || angleFormat.stencilBits > 0; in clear()
5353 ASSERT(!angleFormat.isBlock); in clear()
7296 const angle::Format &angleFormat = GetFormatFromFormatType(format, type); in GetReadPixelsParams() local
7298 *paramsOut = PackPixelsParams(clippedArea, angleFormat, outputPitch, packState.reverseRowOrder, in GetReadPixelsParams()
7313 const angle::Format &angleFormat = GetFormatFromFormatType(format, type); in readPixelsForGetImage() local
7316 if (angleFormat.redBits > 0 || angleFormat.blueBits > 0 || angleFormat.greenBits > 0 || in readPixelsForGetImage()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp31 const angle::Format **angleFormat, in GetD3D11TextureInfo() argument
66 if (angleFormat) in GetD3D11TextureInfo()
68 *angleFormat = &d3d11_angle::GetFormat(textureDesc.Format); in GetD3D11TextureInfo()
105 const angle::Format **angleFormat, in GetD3D9TextureInfo() argument
134 if (angleFormat) in GetD3D9TextureInfo()
138 *angleFormat = &d3dFormatInfo.info(); in GetD3D9TextureInfo()
184 const angle::Format **angleFormat, in GetD3DTextureInfo() argument
195 return GetD3D11TextureInfo(buftype, texture11, width, height, angleFormat, object, in GetD3DTextureInfo()
200 return GetD3D9TextureInfo(buftype, texture9, width, height, angleFormat, object, in GetD3DTextureInfo()
221 return GetD3D11TextureInfo(buftype, texture11, width, height, angleFormat, object, device); in GetD3DTextureInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DExternalImageSiblingImpl11.cpp30 const angle::Format *angleFormat = nullptr; in initialize() local
32 &mWidth, &mHeight, &mSamples, &mFormat, &angleFormat, in initialize()
38 mTexture.set(texture, d3d11::Format::Get(angleFormat->glInternalFormat, in initialize()
DFramebuffer11.cpp264 const angle::Format &angleFormat = GetFormatFromFormatType(format, type); in readPixelsImpl() local
265 PackPixelsParams packParams(area, angleFormat, static_cast<GLuint>(outputPitch), in readPixelsImpl()
389 const angle::Format &angleFormat = d3d11::Format::Get(sizedFormat, caps).format(); in getImplementationColorReadFormat() local
390 return gl::GetSizedInternalFormatInfo(angleFormat.fboImplementationInternalFormat); in getImplementationColorReadFormat()
DRenderer11.cpp1449 const angle::Format **angleFormat, in getD3DTextureInfo() argument
1614 if (angleFormat) in getD3DTextureInfo()
1616 *angleFormat = textureAngleFormat; in getD3DTextureInfo()
3509 const angle::Format &angleFormat = GetFormatFromFormatType(format, type); in readFromAttachment() local
3512 PackPixelsParams packParams(safeArea, angleFormat, outputPitch, reverseRowOrder, packBuffer, 0); in readFromAttachment()
DRenderer11.h112 const angle::Format **angleFormat,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm86 LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, angle::FormatID angleFormat)
89 angleFormat == angle::FormatID::D32_FLOAT_S8X24_UINT)
93 return angle::GetLoadFunctionsMap(internalFormat, angleFormat);
Dmtl_format_utils.h31 LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, angle::FormatID angleFormat);
Dmtl_utils.mm494 const angle::Format &angleFormat = textureObjFormat.actualAngleFormat();
498 if (angleFormat.isSint())
502 else if (angleFormat.isUint())
534 const angle::Format &angleFormat = textureObjFormat.actualAngleFormat();
540 if (angleFormat.depthBits)
546 if (angleFormat.stencilBits)
DBufferMtl.mm338 const angle::Format &angleFormat = angle::Format::Get(formatID);
339 conv->data.updateAlignment(context, angleFormat.pixelBytes);
DTextureMtl.mm1319 const angle::Format &angleFormat = mFormat.actualAngleFormat();
1321 ANGLE_MTL_TRY(contextMtl, angleFormat.mipGenerationFunction);
1332 size_t prevLevelRowPitch = angleFormat.pixelBytes * prevLevelWidth;
1351 size_t dstRowPitch = angleFormat.pixelBytes * dstWidth;
1362 angleFormat.mipGenerationFunction(
1368 context, angleFormat, MTLRegionMake3D(0, 0, 0, dstWidth, dstHeight, dstDepth), mip,
Dmtl_render_utils.h494 const angle::Format &angleFormat,
Dmtl_render_utils.mm488 int GetPixelTypeIndex(const angle::Format &angleFormat)
490 if (angleFormat.isSint())
494 else if (angleFormat.isUint())
2697 const angle::Format &angleFormat,
2701 int formatIDValue = static_cast<int>(angleFormat.id);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp395 const angle::Format &angleFormat = angle::Format::Get(d3dFormatInfo.formatID); in getImplementationColorReadFormat() local
396 return gl::GetSizedInternalFormatInfo(angleFormat.fboImplementationInternalFormat); in getImplementationColorReadFormat()
DRenderer9.h84 const angle::Format **angleFormat,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.h192 const angle::Format **angleFormat,

12