[PATCH 4/4] glamor: Drop a bunch of glamor_priv == NULL checks.

Eric Anholt eric at anholt.net
Wed Jul 8 11:23:55 PDT 2015


Keith Packard <keithp at keithp.com> writes:

> Eric Anholt <eric at anholt.net> writes:
>
>> Now that it's always non-null when the pixmap is non-null, we don't
>> need so much of this.  glamor_get_pixmap_private() itself still
>> accepts a NULL pixmap and returns NULL, because of glamor_render.c
>
> Might want to change glamor_pixmap_type to explicitly make GLAMOR_MEMORY
> be zero just to make it clear that fbCreatePixmap returns a valid glamor
> pixmap?

Sounds good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150708/50c614de/attachment.sig>


More information about the xorg-devel mailing list