OSDN Git Service

intel/blorp_blit: Create structure for src & dst coordinates
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 Nov 2016 22:06:49 +0000 (14:06 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 7 Dec 2016 17:00:49 +0000 (09:00 -0800)
commitb74d4f6ca02715470d8f7726d19aff342873dbc6
tree357dbb819121b29d9705066e815fbcffd0625b5f
parenta77426fd922259bc37b762fa22b42b91d3ce494a
intel/blorp_blit: Create structure for src & dst coordinates

This will be useful for splitting blits into smaller sizes.

We also make the coordinates of type double rather than float. Since
we will be splitting and scaling the coordinates, we might require
extra precision in the calculations.

v2:
 * Use double instead of float. (Jason)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/blorp/blorp_blit.c