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

Keith Packard keithp at keithp.com
Tue May 12 16:20:14 PDT 2015


Eric Anholt <eric at anholt.net> writes:

> 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?

Yes. And, no, I don't know why.

> If so,
>
> Reviewed-by: Eric Anholt <eric at anholt.net>

Thanks

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150512/52479af7/attachment.sig>


More information about the xorg-devel mailing list