Squash all the bzr commits for Mir into one ungovernable mess, because we no longer invest in our tooling
Fix forward-port of gbm diff; should now allow USE_WRITE for non-cursor surfaces
Actually fill in the format of dumb buffers
gbm: Factor out gbm_to_dri_format function
gbm: Create a DRI image for dumb buffers, too.

We want this so we can hand out CPU-mappable buffers to clients, but still
use EGL in the server to composite said buffers.
Add fd parameter to __DRIbuffer.

This allows platforms which want to do PRIME fd passing rather than
flink, such as Wayland and Mir, to do so without having to uselessly
allocate a world-visible name for internal mesa use

Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com>
intel: Use fd parameter in DRIbuffer when name is unset
Update to dma-buf-passing Mir API
Fix cache invalidation for intel_context; should be squashed
Switch platform_mir to use-dma-buf - probably wants cleaning
r300g: fix crash while binding a NULL constant buffer
r600g: fix crash while binding a NULL constant buffer
radeonsi: fix crash while binding a NULL constant buffer

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
cso: add constant buffer save/restore feature for postprocessing

Postprocessing is an internal meta op and should restore the states
it changes.
st/mesa: fix crash with blit-based GetTexImage

https://bugs.freedesktop.org/show_bug.cgi?id=62573

Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
gallium/tgsi: fix valgrind warning

"Conditional jump or move depends on uninitialised value(s)"

Reviewed-by: Brian Paul <brianp@vmware.com>
gallium: add interface for driver queries like performance counters, etc.

The pipe query interface is reused. The list of available queries can be
obtained using pipe_screen::get_driver_query_info.

Reviewed-by: Brian Paul <brianp@vmware.com>
gallium: implement a heads-up display module

Reviewed-by: Brian Paul <brianp@vmware.com>

v2: lots of cosmetic changes
st/dri: integrate the HUD

Reviewed-by: Brian Paul <brianp@vmware.com>
r600g: add a driver query returning the number of draw_vbo calls

between begin_query and end_query