[Mesa-dev] [PATCH v2 0/4] i965: refactor DRI image code
Ander Conselvan de Oliveira
conselvan2 at gmail.com
Tue Feb 18 08:41:49 PST 2014
From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Hi,
This is an attempt to refactor the DRI image implementation in the
i965. While the main motivation for this was to make it possible to
compile that code independently, this also simplifies the format
handling (there is one less format field in __DRIimageRec) and takes
the bulk of DRI image out of intel_screen.c
Thanks,
Ander
Ander Conselvan de Oliveira (4):
i965: Support allocation of subregions of an intel_region
i965: Change intel_region interface to not depend on intelScreen
i965: Make names of DRI image extension functions more consistent
i965: Refactor DRI image code
include/GL/internal/dri_interface.h | 4 +
src/mesa/drivers/dri/common/dri_util.c | 46 +++
src/mesa/drivers/dri/common/dri_util.h | 6 +
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_context.c | 10 +-
src/mesa/drivers/dri/i965/intel_fbo.c | 23 +-
src/mesa/drivers/dri/i965/intel_image.c | 348 ++++++++++++++++
src/mesa/drivers/dri/i965/intel_image.h | 70 ++++
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 +-
src/mesa/drivers/dri/i965/intel_regions.c | 48 ++-
src/mesa/drivers/dri/i965/intel_regions.h | 35 +-
src/mesa/drivers/dri/i965/intel_screen.c | 571 +++++++-------------------
src/mesa/drivers/dri/i965/intel_tex_image.c | 25 +-
13 files changed, 729 insertions(+), 462 deletions(-)
create mode 100644 src/mesa/drivers/dri/i965/intel_image.c
create mode 100644 src/mesa/drivers/dri/i965/intel_image.h
--
1.8.3.2
More information about the mesa-dev
mailing list