[virglrenderer-devel] [PATCH 0/4] clean up bind-flag definitions

Dave Airlie airlied at gmail.com
Mon Jul 23 22:51:16 UTC 2018


On 17 July 2018 at 01:43, Erik Faye-Lund <erik.faye-lund at collabora.com> wrote:
> We currently have three different deinfinitions of bind-flags, two
> of them identical.
>
> Let's move the only definition that we actually care about to
> virgl_hw.h, so it's obvious that this needs to stay constant, and
> ensure that mesa and virglrenderer will agree on the definitions.
>
> Mesa already has this definition in its copy of virgl_hw.h, so
> this reduce the delta between these two.

Sounds good, this needs a rebase though.

Dave.

>
> Erik Faye-Lund (4):
>   add VIRGL_BIND_*-flags from mesa
>   get rid of diplicate definition of VREND_RES_BIND-flags
>   discourage using legacy-definitions
>   get rid of yet another bind-flag set
>
>  src/virgl_hw.h       | 15 +++++++++++++++
>  src/virglrenderer.h  |  6 ++++--
>  src/vrend_blitter.c  |  4 ++--
>  src/vrend_formats.c  |  6 +++---
>  src/vrend_renderer.c | 42 +++++++++++++++++++++---------------------
>  src/vrend_renderer.h | 19 +------------------
>  6 files changed, 46 insertions(+), 46 deletions(-)
>
> --
> 2.18.0.rc2
>
> _______________________________________________
> virglrenderer-devel mailing list
> virglrenderer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel


More information about the virglrenderer-devel mailing list