[RFC weston 13/16] compositor: Add a function to test if images transformed by a matrix should be bilinearly filtered

Jasper St. Pierre jstpierre at mecheye.net
Thu Oct 2 15:45:10 PDT 2014


On Oct 2, 2014 5:17 PM, "Daniel Stone" <daniel at fooishbar.org> wrote:
>
> Hi,
>
> On 2 October 2014 20:15, Bill Spitzak <spitzak at gmail.com> wrote:
>>
>> On 10/02/2014 12:37 AM, Pekka Paalanen wrote:
>>>
>>> On Wed, 1 Oct 2014 18:09:32 -0700
>>> Jason Ekstrand <jason at jlekstrand.net> wrote:
>>>>
>>>> (do we use "bool" in weston?  Maybe just return int).  We may need
both x
>>>> and y scales and it may be useful to get those as floats.  I'm not
sure on
>>>> that.  Pekka, what would the RPi backend use?
>>
>>
>> It looks like most of the code uses <stdbool.h>, "bool", and "true" and
"false". However I also found a lot of instances of TRUE, FALSE, EGL_TRUE,
EGL_FALSE, and using integer and 1 and 0 as return values.
>
>
> TRUE and FALSE are the X11 booleans; EGL_TRUE and EGL_FALSE are, as the
name implies, EGL. Moving strict 0 and 1 returns to stdbool values would be
a good cleanup though.

I thought the X11 booleans were True and False?
>
> Cheers,
> Dan
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141002/cc13b797/attachment.html>


More information about the wayland-devel mailing list