diff options
author | Jason Ekstrand <[email protected]> | 2016-11-29 12:36:14 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-12-05 14:00:35 -0800 |
commit | 5f0e4c7c798827950e835d40912024480ec6d665 (patch) | |
tree | 99eed2e2fe871ee3913b5f848ff4b460072ab9cf /src/mesa/Makefile.sources | |
parent | 06d864921ee6cfd083ac3782d4434d91ec652eea (diff) |
i965: Delete the meta-base CopyImageSubData implementation
When I originally implemented the ARB_copy_image extension, the fast-path
was written in meta using texture views. This path only worked if both
images were uncompressed color images. All of the other cases fell back to
the blitter or, in the worst case, mapping and memcpy on the CPU. Now that
we have the blorp path, it handles all copies ever and the old meta,
blitter, and CPU paths are only used on gen5 and below. The primary reason
why we needed the meta path (apart from having a slow blitter on later
hardware) was to handle multisampling which gen5 and earlier don't support
anyway. Since the blitter is reasonably fast on gen5, we can just delete
the meta path and get rid of all that terrible code.
If we decide that we're ok with just disabling ARB_copy_image on gen5 and
earlier (I personally am), then we could get rid of another 300 lines or so
of semi-hairy code.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r-- | src/mesa/Makefile.sources | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index 410a61a749e..ee737b0d7f9 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -621,7 +621,6 @@ COMMON_DRIVER_FILES = \ drivers/common/driverfuncs.c \ drivers/common/driverfuncs.h \ drivers/common/meta_blit.c \ - drivers/common/meta_copy_image.c \ drivers/common/meta_generate_mipmap.c \ drivers/common/meta_tex_subimage.c \ drivers/common/meta.c \ |