Page 1 of 1

FMXExternalPumpBrowser slow typing

Posted: Wed Jan 01, 2020 5:23 pm
by Esico
Hi,

I was looking at the FMXExternalPumpBrowser demo. About this demo: FMXExternalPumpBrowser is made in a similar way than the FMX demo in DCEF3. It uses the OSR mode with an external pump.

The problem is that filling in forms takes forever. Keystrokes are very laggy. I guess thats because of sending messages in order to intercept typing? Is this lag solvable ?

Sincerely,
Edward

Re: FMXExternalPumpBrowser slow typing

Posted: Wed Jan 01, 2020 6:16 pm
by salvadordf
The only way I see to speed up that demo is using DirectX. CEF has a TChromiumCore.OnAcceleratedPaint event that uses a DX texture but we still use the TChromiumCore.OnPaint event with the raw bitmap pixels.

Re: FMXExternalPumpBrowser slow typing

Posted: Thu Jan 02, 2020 2:34 pm
by Esico
the rendering seems fast enough though textures will be an improvement for sure.