CefSharp icon indicating copy to clipboard operation
CefSharp copied to clipboard

DirectX rendering

Open alphamax opened this issue 9 years ago • 43 comments

Hello,

It is not a real Issue but a way to propose modifications. I have made changes on CefSharp in a multiple way :

  • On windows OSR, make a Direct X rendering instead of Bitmap rendering
    • Allow region partial rendering
    • Merge combobox inside rendering (and manage rotation)
  • On windows OSR, take touch natively
    • with this PR : https://bitbucket.org/chromiumembedded/cef/pull-requests/104/touch-processing-for-osr-different-api/diff
  • On windows OSR, enhanced rendering
    • with this PR : https://bitbucket.org/chromiumembedded/cef/pull-requests/96/osr-fix-gpu-cpu-readback-performance/diff

I think the two last points are now temporary work and Cef55 binaries are available on this repository : https://github.com/intuilab/CefSharp/tree/55-Touch-DirectX in Nuget folders. I want to know how to propose the first point. Do you prefer a new "Cef.WPF.DirectX" project and people can chose it ? do you prefer it in the already existing Cef.WPF project ? Another question, do you want an adaptative rendering system (if DirectX is to lame, switch on bitmap rendering) ?

Thanks for you ideas !

alphamax avatar Aug 11 '17 10:08 alphamax

Yes you should be able to, but you may wait V71 to be more integrated (thanks to new integration of texture).

alphamax avatar Jan 18 '19 14:01 alphamax

Hi. Is there any update on DirectX rendering support? My webgl app is a bit sluggish on CefSharp.

AliFlux avatar Apr 25 '19 09:04 AliFlux

I have created #2770 to track adding support for DirectX rendering, I am looking for volunteers to help out. Please only comment if you are willing and able to help.

amaitland avatar May 11 '19 09:05 amaitland