[Mesa-dev] [PATCH 7/9] wayland-drm: static inline wayland_drm_buffer_get

Daniel Stone daniel at fooishbar.org
Fri Sep 15 15:41:51 UTC 2017


Hi,

On 15 September 2017 at 16:13, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 15 September 2017 at 15:13, Daniel Stone <daniel at fooishbar.org> wrote:
>> But if you avoid wl_resource_instance_of() and replace it with
>> wl_resource_get_destroy_listener(), you can side-step the problem, by
>> not relying on consistent resolution of wl_buffer_interface. That's a
>> real bugfix. :)
>
> Right, I'm looking through both functions and I'm struggling a bit.
> Can I bother you with sending a patch?

Sure. This is only compile-tested, but: https://hastebin.com/mudacudeya

Cheers,
Daniel


More information about the mesa-dev mailing list