#include <renderhandlergl.h>
Public Member Functions | |
void | updateCanvasSize (CefRefPtr< CefBrowser > browser, size2_t newSize) |
virtual void | GetViewRect (CefRefPtr< CefBrowser > browser, CefRect &rect) override |
virtual void | OnPopupShow (CefRefPtr< CefBrowser > browser, bool show) override |
virtual void | OnPopupSize (CefRefPtr< CefBrowser > browser, const CefRect &rect) override |
virtual void | OnPaint (CefRefPtr< CefBrowser > browser, PaintElementType type, const RectList &dirtyRects, const void *buffer, int width, int height) override |
virtual void | OnAcceleratedPaint (CefRefPtr< CefBrowser > browser, PaintElementType type, const RectList &dirtyRects, const CefAcceleratedPaintInfo &info) override |
Texture2D & | getTexture2D (CefRefPtr< CefBrowser > browser) |
void | ClearPopupRects (CefRefPtr< CefBrowser > browser) |
void | onRender (CefRefPtr< CefBrowser > browser, std::function< void(Texture2D &)> onRender) |
Copies web page into a Texture2D each time it has been painted by the browser and calls onWebPageCopiedCallback afterwards.