[Mesa-dev] [PATCH v2 1/4] dri/image: Add a format modifier attributes query

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 7 15:20:45 UTC 2017


On 5 September 2017 at 19:29, Jason Ekstrand <jason at jlekstrand.net> wrote:
> On Tue, Sep 5, 2017 at 10:14 AM, Emil Velikov <emil.l.velikov at gmail.com>
> wrote:
>>
>> Hi Jason,
>>
>> On 5 September 2017 at 16:48, Jason Ekstrand <jason at jlekstrand.net> wrote:
>>
>> > +   GLboolean (*queryDmaBufFormatModifierAttribs)(__DRIscreen *screen,
>> > +                                                 uint32_t fourcc,
>> We seems to be using "int fourcc" throughout the file. Worth saying
>> consistent and doing the same there?
>
>
> I did, and then Daniel told me to make it uint32_t.

I see his point how - it should be unsigned, even most of the existing
code does flips between signed and unsigned.
I'm a sucker for consistency, perhaps a bit too much ;-)

Either way, the series looks good IMHO
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list