On 8/6/22, Hoosier, Matt wrote:
> Any idea what’s up with some compositors adding code to infer
> DRM_FORMAT_MOD_LINEAR semantics when the buffer’s modifiers are set to 0?
> Wlroots, for example, added this as a “safety net for drm drivers not
> announcing modifiers”.
>
> https://source.puri.sm/Li
: Re: How to test whether a buffer is in linear format
CAUTION - EXTERNAL EMAIL: Do not click any links or open any attachments unless
you trust the sender and know the content is safe.
On Saturday, August 6th, 2022 at 21:56, Hoosier, Matt
wrote:
> Any idea what’s up with some composit
On Saturday, August 6th, 2022 at 21:56, Hoosier, Matt
wrote:
> Any idea what’s up with some compositors adding code to infer
> DRM_FORMAT_MOD_LINEAR semantics when the buffer’s modifiers are set
> to 0?
What does that mean? A buffer only has a single modifier, and LINEAR == 0.
> Wlroots, for e
From: Pekka Paalanen
Sent: Saturday, August 6, 2022 6:47:00 AM
To: Hoosier, Matt
Cc: wayland-de...@lists.freedesktop.org; dri-devel@lists.freedesktop.org
Subject: Re: How to test whether a buffer is in linear format
On Fri, 5 Aug 2022 12:32:01 +
"Hoosier,
On Fri, 5 Aug 2022 12:32:01 +
"Hoosier, Matt" wrote:
> Suppose that I want to map a GPU buffer to the CPU and do image
> analysis on it. I know all the usual cautions about this being a
> poor performance option, etc. But suppose for the moment that the
> use-case requires it.
>
> What's the
Suppose that I want to map a GPU buffer to the CPU and do image analysis on it.
I know all the usual cautions about this being a poor performance option, etc.
But suppose for the moment that the use-case requires it.
What's the right set of preconditions to conclude that the buffer is in vanilla