Integrate Graphics Framework with CEF

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

Integrate Graphics Framework with CEF

Postby primesoftware » Mon Aug 06, 2018 11:11 pm

Hello all,
I am new here, but not new to using CEF. I have a graphics library that I would like to integrate into CEF. The library takes care of context creation, shader compiling, vertex structure, etc. My goal is to create a <mygl> tag that will then allow the graphics library to render into that space much like <canvas> does. The graphics lib is higher level than WebGL and I've done a lot of work on it already so I am willing to hack through CEF. Any pointers (no pun intended) on where to start looking?
primesoftware
Newbie
 
Posts: 2
Joined: Mon Aug 06, 2018 10:53 pm

Re: Integrate Graphics Framework with CEF

Postby magreenblatt » Tue Aug 07, 2018 12:59 pm

You can look at how WebGL support is implemented in Chromium and Blink. There shouldn't be any CEF-specific changes required.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Integrate Graphics Framework with CEF

Postby primesoftware » Tue Aug 07, 2018 1:50 pm

magreenblatt wrote:You can look at how WebGL support is implemented in Chromium and Blink. There shouldn't be any CEF-specific changes required.


Yes, that was my first thought. I have found some implementatio in tests/cefclient/browser/osr_window_win.h for Windows. Is that where code is contained? Also, I am unfamiliar with the role of Blink. Are there any resources on this to read?
primesoftware
Newbie
 
Posts: 2
Joined: Mon Aug 06, 2018 10:53 pm

Re: Integrate Graphics Framework with CEF

Postby magreenblatt » Tue Aug 07, 2018 2:09 pm

CEF is a library built on top of Chromium. You do not need to use/build CEF when developing or making changes to Chromium. Start with the "Start here" section at https://www.chromium.org/developers. Once you have specific technical questions you can ask on the appropriate mailing list from https://www.chromium.org/developers/tec ... ion-groups.

Once you've completed your Chromium changes you can build CEF including those changes by following the instructions at https://bitbucket.org/chromiumembedded/ ... uilding.md. Alternately, you can build CEF as the starting point (since that also builds Chromium) and then continue with your Chromium changes as described above.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 18 guests