egl image creation in case of atomic
ppaalanen at gmail.com
Tue Sep 11 13:10:17 UTC 2018
On Tue, 11 Sep 2018 12:47:15 +0000
"Hosokawa, Kenji (ADITG/ESB)" <khosokawa at de.adit-jv.com> wrote:
> We would like to discuss the following part.
> >Creating egl images are not needed at all, when the client buffer
> >can be imported to a DRM plane. We would like to reduce CPU usage of
> >weston in that case.
ok, that sounds fine to me. Maybe something like this: the GL-renderer
attach hook just unrefs existing EGLImages but does not create new
ones. New ones are created at repaint time on demand. This should
implictly result in composite-bypass avoiding the EGLImage creation,
because the renderer does not repaint those views.
Does this answer your question?
This is just off the top of my head, I didn't actually check how the
code would allow this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel