[PATCH 3/7] glamor: Pass depth to glamor_pm_is_solid and glamor_set_planemask

Eric Anholt eric at anholt.net
Tue May 12 13:13:45 PDT 2015


Keith Packard <keithp at keithp.com> writes:

> Instead of passing the destination drawable, just pass the depth, as
> the underlying functions need only that to check whether the planemask
> is going to work.
>
> This API change will allow higher level functions to not need the
> destination pixmap.

The gc keeps a copy of the depth of the drawable?  Is it always the
same?

If so,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20150512/dd3e8c19/attachment.sig>


More information about the xorg-devel mailing list