diff options
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h')
-rw-r--r-- | Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h b/Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h index a83aac3..8928ecd 100644 --- a/Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h +++ b/Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h @@ -30,6 +30,10 @@ class Blit // Copy from source surface to dest surface. // sourceRect, xoffset, yoffset are in D3D coordinates (0,0 in upper-left) + bool copy(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest); + + // Copy from source surface to dest surface. + // sourceRect, xoffset, yoffset are in D3D coordinates (0,0 in upper-left) // source is interpreted as RGBA and destFormat specifies the desired result format. For example, if destFormat = GL_RGB, the alpha channel will be forced to 0. bool formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest); |