diff options
author | Jason Ekstrand <[email protected]> | 2014-07-25 14:08:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-08-11 11:26:00 -0700 |
commit | 8ad7c1903d0f77d3b76e5431f3164323ac48adea (patch) | |
tree | 7ff56c3e74331144f7379727351b20f058d7ee6a /src/mesa/Makefile.sources | |
parent | 80a8b020c02356ec59b0948b87bce9e97d1e14bd (diff) |
mesa/meta: Add a partial implementation of CopyImageSubData
This provides an implementation of CopyImageSubData that works if both
textures are uncompressed. This implementation works by using a
combination of texture views and BlitFramebuffer. If one of the textures
is compressed, it returns false and the driver is expected to provide a
fallback.
v2: Don't leak fbo's
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Neil Roberts <[email protected]>
v3: Change glGen/DeleteTextures to _mesa_Gen/DeleteTextures
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r-- | src/mesa/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index d02c174d912..59456577178 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -325,6 +325,7 @@ SPARC_FILES = \ COMMON_DRIVER_FILES = \ $(SRCDIR)drivers/common/driverfuncs.c \ $(SRCDIR)drivers/common/meta_blit.c \ + $(SRCDIR)drivers/common/meta_copy_image.c \ $(SRCDIR)drivers/common/meta_generate_mipmap.c \ $(SRCDIR)drivers/common/meta.c |