xvfb usage with cef

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

xvfb usage with cef

Postby videoaudio » Thu Dec 03, 2015 12:22 pm

Hi,

I am using xvfb as display server for cef which is running in OSR mode.
ex: xvfb is started using arguments, "exec /usr/bin/Xvfb :99 -screen 0 1024x768x24 -fbdir /var/run -ac"

I have below doubts regarding xvfb usage,

1) I am setting xvfb display size to 1024x768, but during CefRenderHandler::GetViewRect() I return 1280x720 to get 720p content rendered on CefRenderHandler::onPaint.
-- Since display screen size & provided window sizes are different, will it cause any scaling overhead at cef compositor?

2) xvfb display is set to 24 bit. what is the pixel depth suggested? Do I need to set for 32 bit display for getting Alpha value of the pixel (A component in ARGB output) along with RGB component?

3) What is the approximate timeline for chrome & cef changes to remove xvfb dependency and allow cef application to allocate their own surfaces?

Thanks.
videoaudio
Techie
 
Posts: 36
Joined: Tue Feb 17, 2015 10:08 am

Re: xvfb usage with cef

Postby magreenblatt » Thu Dec 03, 2015 12:26 pm

The xvfb display settings should not matter. CEF will render based on the values returned by CefRenderHandler.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: Google [Bot] and 16 guests