|
| | ~RGLPass () noexcept |
| | Destroys the pass, flushing any pending Skia commands if the SkCanvas API was last used.
|
| |
| SkCanvas * | getCanvas (bool sync=true) const noexcept override |
| | Returns the SkCanvas associated with this pass, if available.
|
| |
| RPainter * | getPainter (bool sync=true) const noexcept override |
| | Returns the RPainter associated with this pass, if available.
|
| |
| void | setGeometry (const RSurfaceGeometry &geometry) noexcept override |
| | Sets transformation matrices.
|
| |
| | ~RPass () noexcept |
| | Destroys the render pass.
|
| |
| CZBitset< RPassCap > | caps () const noexcept |
| | Returns the capabilities enabled for this pass.
|
| |
| void | resetGeometry () noexcept |
| | Resets the geometry to the default RSurface geometry.
|
| |
| const RSurfaceGeometry & | geometry () const noexcept |
| | Returns the current geometry for this pass.
|
| |
| std::shared_ptr< RSurface > | surface () const noexcept |
| | Returns the destination surface being rendered into.
|
| |
| void | save () noexcept |
| | Saves the state of both RPainter and SkCanvas.
|
| |
| void | restore () noexcept |
| | Restores the most recently saved state of RPainter and SkCanvas.
|
| |
| | RObject ()=default |
| | Constructs a default RObject.
|
| |
OpenGL backend implementation of RPass.
Renders into an RSurface backed by an RGLImage using RGLPainter and/or Skia. It makes the target image's EGL context/surface current on demand and, when switching between the RPainter and SkCanvas APIs, flushes pending commands and resets the shared GL state so the two do not interfere. Created via RSurface::beginPass().