diff options
Diffstat (limited to 'chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h')
-rw-r--r-- | chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h b/chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h index 926c591a633..026874f8ae3 100644 --- a/chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h +++ b/chromium/third_party/angle/src/libANGLE/renderer/d3d/d3d9/Blit9.h @@ -16,6 +16,7 @@ namespace gl { +class Context; class Framebuffer; class Texture; struct Extents; @@ -37,15 +38,23 @@ class Blit9 : angle::NonCopyable // Copy from source surface to dest surface. // sourceRect, xoffset, yoffset are in D3D coordinates (0,0 in upper-left) - gl::Error copy2D(const gl::Framebuffer *framebuffer, const RECT &sourceRect, GLenum destFormat, const gl::Offset &destOffset, TextureStorage *storage, GLint level); - gl::Error copyCube(const gl::Framebuffer *framebuffer, + gl::Error copy2D(const gl::Context *context, + const gl::Framebuffer *framebuffer, + const RECT &sourceRect, + GLenum destFormat, + const gl::Offset &destOffset, + TextureStorage *storage, + GLint level); + gl::Error copyCube(const gl::Context *context, + const gl::Framebuffer *framebuffer, const RECT &sourceRect, GLenum destFormat, const gl::Offset &destOffset, TextureStorage *storage, GLenum target, GLint level); - gl::Error copyTexture(const gl::Texture *source, + gl::Error copyTexture(const gl::Context *context, + const gl::Texture *source, GLint sourceLevel, const RECT &sourceRect, GLenum destFormat, |