Inviwo 0.9.12-pre
Inviwo documentation
|
#include <renderhandlergl.h>
Public Types | |
typedef std::function< void(CefRefPtr< CefBrowser >)> | OnWebPageCopiedCallback |
Public Member Functions | |
RenderHandlerGL (OnWebPageCopiedCallback onWebPageCopiedCallback) | |
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 |
Texture2D & | getTexture2D (CefRefPtr< CefBrowser > browser) |
void | ClearPopupRects (CefRefPtr< CefBrowser > browser) |
Copies web page into a Texture2D each time it has been painted by the browser and calls onWebPageCopiedCallback afterwards.