get access to offscreen byte array

Having problems with building or using the JCEF Java binding? Ask your questions here.

get access to offscreen byte array

Postby guich » Wed Jul 31, 2019 8:07 am

Hi,

I want to make jcef a web browser for libGDX on desktop. I was able to achieve this putting the browser on a JFrame on top of the libGDX application, however the felling is bad because when you focus the browser window it unfocus the application window. For a better result, i need access to the offscreen byte array passed on CefRenderer.onPaint.

I tried to extend CefRenderer, but it is package private. Then i tried to extend CefBrowser, but it is package private too. :-(

Is the only solution copy these two classes? This will make merge of enhancements quite dificult.

thanks

guich
guich
Techie
 
Posts: 19
Joined: Tue Jul 30, 2019 10:11 am

Re: get access to offscreen byte array

Postby guich » Mon Aug 05, 2019 2:42 pm

I ended up forking the project and making the classes public.
guich
Techie
 
Posts: 19
Joined: Tue Jul 30, 2019 10:11 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 12 guests