gallium/dri2: Refactor image property queries
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 3 Aug 2019 08:14:01 +0000 (01:14 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Aug 2019 08:12:29 +0000 (01:12 -0700)
commit6e749a6b2b9c45829963553cedda64b4a73afe14
tree82e5f3910ea7e4c9bdc17d293c32fd8226e85c65
parentc5c23654557531d3c03b2400fa5838de87a135fd
gallium/dri2: Refactor image property queries

This refactor will let us more easily use
pipe_screen::resource_get_param as an alternative to
pipe_screen::resource_get_handle.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/gallium/state_trackers/dri/dri2.c