support accelerated compositing?

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

support accelerated compositing?

Postby qifuren1985 » Sat Jul 24, 2010 10:37 am

chrome has support accelerated compositing, it can support 3d css. So how about to support accelerated compositing?

in cef_context.cc,if we set "webprefs_->accelerated_compositing_enabled = true;", cef will crashed when we open the page that contain 3d css.
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: support accelerated compositing?

Postby magreenblatt » Sat Jul 24, 2010 11:11 am

Does it work in the test_shell application at the Chromium HEAD revision? If so, it will probably work in CEF after the next update.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: support accelerated compositing?

Postby qifuren1985 » Sat Jul 24, 2010 9:47 pm

in chrome head version,it I used "chrome.exe --enable-accelerated-compositing" to run the page http://webkit.org/blog-files/3d-transfo ... ircle.html , it works OK. But in test_shell.exe, it doesn't work.

it 3d css works,it looks like below:
Attachments
3d.png
3d css
3d.png (118.02 KiB) Viewed 14425 times
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: support accelerated compositing?

Postby qifuren1985 » Sun Jul 25, 2010 1:56 am

It seems that cef doesn't support html5 feathers( http://html5demos.com/ ).
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: support accelerated compositing?

Postby magreenblatt » Tue Jul 27, 2010 12:48 pm

The first step is to get support for these features added to test_shell in the Chromium HEAD revision. Once the features exist in test_shell they'll be picked up by the next CEF update.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: support accelerated compositing?

Postby magreenblatt » Tue Oct 26, 2010 12:34 pm

Revision 128 supports accelerated compositing for 3D CSS transforms.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: support accelerated compositing?

Postby qifuren1985 » Wed Mar 09, 2011 2:45 am

It speeds lot's CPU(45%),but chrome.exe only spends 10% CPU.
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: support accelerated compositing?

Postby magreenblatt » Wed Mar 09, 2011 12:30 pm

It speeds lot's CPU(45%),but chrome.exe only spends 10% CPU.

See http://code.google.com/p/chromiumembedd ... ail?id=189
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: support accelerated compositing?

Postby qifuren1985 » Wed Mar 09, 2011 8:43 pm

I test with cef_binary_r195_VS2008, when I run examples with accelerated compositing, it uses lot's of cpu.it seems cefclient use CPU accelerated compositing, not GPU accelerated compositing.
cefclient.PNG
cefclient.PNG (74.79 KiB) Viewed 14204 times
qifuren1985
Newbie
 
Posts: 8
Joined: Sat Jul 24, 2010 10:29 am

Re: support accelerated compositing?

Postby magreenblatt » Thu Mar 10, 2011 9:29 pm

Try changing the value of the SetTimer() call in cefclient -- that will probably have an effect.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Next

Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 53 guests

cron