webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | List of all members
rx::Blit11 Class Reference

#include <Blit11.h>

Inheritance diagram for rx::Blit11:
angle::NonCopyable

Public Types

using BlitConvertFunction = void(const gl::Box &sourceArea, const gl::Box &destArea, const gl::Rectangle &clipRect, const gl::Extents &sourceSize, unsigned int sourceRowPitch, unsigned int destRowPitch, ptrdiff_t readOffset, ptrdiff_t writeOffset, size_t copySize, size_t srcPixelStride, size_t destPixelStride, const uint8_t *sourceData, uint8_t *destData)
 

Public Member Functions

 Blit11 (Renderer11 *renderer)
 
 ~Blit11 ()
 
gl::Error swizzleTexture (ID3D11ShaderResourceView *source, ID3D11RenderTargetView *dest, const gl::Extents &size, const gl::SwizzleState &swizzleTarget)
 
gl::Error copyTexture (ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor, GLenum destFormat, GLenum filter, bool maskOffAlpha, bool unpackPremultiplyAlpha, bool unpackUnmultiplyAlpha)
 
gl::Error copyStencil (const TextureHelper11 &source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, const TextureHelper11 &dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor)
 
gl::Error copyDepth (ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor)
 
gl::Error copyDepthStencil (const TextureHelper11 &source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, const TextureHelper11 &dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor)
 
gl::ErrorOrResult< TextureHelper11resolveDepth (RenderTarget11 *depth)
 
gl::ErrorOrResult< TextureHelper11resolveStencil (RenderTarget11 *depthStencil, bool alsoDepth)
 

Member Typedef Documentation

◆ BlitConvertFunction

using rx::Blit11::BlitConvertFunction = void(const gl::Box &sourceArea, const gl::Box &destArea, const gl::Rectangle &clipRect, const gl::Extents &sourceSize, unsigned int sourceRowPitch, unsigned int destRowPitch, ptrdiff_t readOffset, ptrdiff_t writeOffset, size_t copySize, size_t srcPixelStride, size_t destPixelStride, const uint8_t *sourceData, uint8_t *destData)

Constructor & Destructor Documentation

◆ Blit11()

rx::Blit11::Blit11 ( Renderer11 renderer)
explicit

◆ ~Blit11()

rx::Blit11::~Blit11 ( )

Member Function Documentation

◆ copyDepth()

gl::Error rx::Blit11::copyDepth ( ID3D11ShaderResourceView *  source,
const gl::Box sourceArea,
const gl::Extents sourceSize,
ID3D11DepthStencilView *  dest,
const gl::Box destArea,
const gl::Extents destSize,
const gl::Rectangle scissor 
)

◆ copyDepthStencil()

gl::Error rx::Blit11::copyDepthStencil ( const TextureHelper11 source,
unsigned int  sourceSubresource,
const gl::Box sourceArea,
const gl::Extents sourceSize,
const TextureHelper11 dest,
unsigned int  destSubresource,
const gl::Box destArea,
const gl::Extents destSize,
const gl::Rectangle scissor 
)

◆ copyStencil()

gl::Error rx::Blit11::copyStencil ( const TextureHelper11 source,
unsigned int  sourceSubresource,
const gl::Box sourceArea,
const gl::Extents sourceSize,
const TextureHelper11 dest,
unsigned int  destSubresource,
const gl::Box destArea,
const gl::Extents destSize,
const gl::Rectangle scissor 
)

◆ copyTexture()

gl::Error rx::Blit11::copyTexture ( ID3D11ShaderResourceView *  source,
const gl::Box sourceArea,
const gl::Extents sourceSize,
ID3D11RenderTargetView *  dest,
const gl::Box destArea,
const gl::Extents destSize,
const gl::Rectangle scissor,
GLenum  destFormat,
GLenum  filter,
bool  maskOffAlpha,
bool  unpackPremultiplyAlpha,
bool  unpackUnmultiplyAlpha 
)

◆ resolveDepth()

gl::ErrorOrResult< TextureHelper11 > rx::Blit11::resolveDepth ( RenderTarget11 depth)

◆ resolveStencil()

gl::ErrorOrResult< TextureHelper11 > rx::Blit11::resolveStencil ( RenderTarget11 depthStencil,
bool  alsoDepth 
)

◆ swizzleTexture()

gl::Error rx::Blit11::swizzleTexture ( ID3D11ShaderResourceView *  source,
ID3D11RenderTargetView *  dest,
const gl::Extents size,
const gl::SwizzleState swizzleTarget 
)

The documentation for this class was generated from the following files: