[Mesa-dev] Fwd: [PATCHv2 6/9] gallium: rename DRM_API_HANDLE_TYPE* WINSYS_HANDLE_TYPE*
Brian Paul
brianp at vmware.com
Tue Jun 16 07:43:43 PDT 2015
On 06/16/2015 07:44 AM, Marc-André Lureau wrote:
> Hi
>
> On Tue, Jun 16, 2015 at 3:33 PM, Marek Olšák <maraeo at gmail.com
> <mailto:maraeo at gmail.com>> wrote:
>
> On Tue, Jun 16, 2015 at 2:42 PM, Marc-André Lureau
> <marcandre.lureau at gmail.com <mailto:marcandre.lureau at gmail.com>> wrote:
> > Hi Marek
> >
> > On Mon, Jun 15, 2015 at 10:21 PM, Marek Olšák <maraeo at gmail.com
> <mailto:maraeo at gmail.com>> wrote:
> >>
> >> The idea of drm_driver.h and the DRM prefix is that it's meant to be
> >> Linux-specific, and winsys_handle should be considered an opaque
> >> structure by most state trackers. I think VMWare have their own
> >> definition of winsys_handle for Windows.
> >
> >
> > Is this in upstream? I couldn't find it.
>
> I don't think so.
>
>
> If they have downstream patch to mesa, it's unfair to make such guesses
> to reject a patch. They should speak up and propose an alternative in
> this case, or simply patch it differently.
I don't think these changes will cause us any trouble.
Maybe the WINSYS_HANDLE_TYPE_* values should be an enum type so that the
compiler can catch unhandled switch cases and gdb can display the names
instead of numbers.
-Brian
More information about the mesa-dev
mailing list