egl image creation in case of atomic
Pekka Paalanen
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.
Hi,
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.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180911/3d93669e/attachment.sig>
More information about the wayland-devel
mailing list