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

Daniel Stone daniel at fooishbar.org
Thu Oct 2 15:17:28 PDT 2014


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.

Cheers,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141002/5877c8e5/attachment-0001.html>


More information about the wayland-devel mailing list