[Mesa-dev] [PATCH 15/15] st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS
Brian Paul
brian.e.paul at gmail.com
Mon Jun 3 09:05:45 PDT 2013
On Sat, Jun 1, 2013 at 8:29 AM, Marek Olšák <maraeo at gmail.com> wrote:
> 0 means SWAPBUFFERS.
> ---
> src/gallium/state_trackers/dri/drm/dri2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
> b/src/gallium/state_trackers/dri/drm/dri2.c
> index 032614c..cc843b1 100644
> --- a/src/gallium/state_trackers/dri/drm/dri2.c
> +++ b/src/gallium/state_trackers/dri/drm/dri2.c
> @@ -46,7 +46,7 @@
> static void
> dri2_flush_drawable(__DRIdrawable *dPriv)
> {
> - dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, 0);
> + dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, -1);
> }
>
> static void
>
> I'm not terribly familiar with the DRI code you're touching, but the
changes look OK to me.
For the rest of the series: Reviewed-by: Brian Paul <brianp at vmware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130603/620e809f/attachment.html>
More information about the mesa-dev
mailing list