Shared texture for Linux Ubuntu

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Shared texture for Linux Ubuntu

Postby drakkonne007 » Thu Sep 11, 2025 12:15 am

I found this commit — it adds the ability to use shared textures for macOS and Windows, but Linux is still not supported. Maybe after a year and a half it’s time to add Linux support as well? At least as an OpenGL backend
https://bitbucket.org/chromiumembedded/cef/commits/260dd0ca24f9a8952f871dece2fcc10fe85d81fe

That would be really great, because on Raspberry Pi devices rendering large pages takes a lot of time when repeatedly copying pixels into a stable memory area from the
Code: Select all
OnPaint(CefRefPtr<CefBrowser> browser, PaintElementType type, const RectList& dirtyRects
, const void* buffer, int width, int height)
callback
drakkonne007
Newbie
 
Posts: 2
Joined: Thu Sep 11, 2025 12:04 am

Re: Shared texture for Linux Ubuntu

Postby magreenblatt » Thu Sep 11, 2025 3:51 am

Shared texture works on Linux, with some limitations. See https://bitbucket.org/chromiumembedded/ ... quests/917
magreenblatt
Site Admin
 
Posts: 13137
Joined: Fri May 29, 2009 6:57 pm

Re: Shared texture for Linux Ubuntu

Postby drakkonne007 » Mon Sep 15, 2025 1:05 am

magreenblatt wrote:Shared texture works on Linux

So am I right understand that if I want to use a sharedTexture I need run my CEF app with flags: use-angle=gl-egl, ozone-platform=X11? And after that I just can set flag CefWindowInfo::shared_texture_enabled = true, and than method OnAcceleratedPaint will be called?
drakkonne007
Newbie
 
Posts: 2
Joined: Thu Sep 11, 2025 12:04 am

Re: Shared texture for Linux Ubuntu

Postby magreenblatt » Mon Sep 15, 2025 2:43 am

Yes, assuming all of those components work on your system.
magreenblatt
Site Admin
 
Posts: 13137
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 32 guests