mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Adds support for the OnAcceleratedPaint callback. Verified to work on macOS and Windows. Linux support is present but not implemented for cefclient, so it is not verified to work. To test: Run `cefclient --off-screen-rendering-enabled --shared-texture-enabled`
This commit is contained in:
committed by
Marshall Greenblatt
parent
dca0435d2f
commit
260dd0ca24
@@ -48,7 +48,7 @@ class OsrRenderHandlerWin {
|
||||
virtual void OnAcceleratedPaint(CefRefPtr<CefBrowser> browser,
|
||||
CefRenderHandler::PaintElementType type,
|
||||
const CefRenderHandler::RectList& dirtyRects,
|
||||
void* share_handle) = 0;
|
||||
const CefAcceleratedPaintInfo& info) = 0;
|
||||
|
||||
bool send_begin_frame() const {
|
||||
return settings_.external_begin_frame_enabled;
|
||||
|
Reference in New Issue
Block a user