#include <renderer_backend.hpp>
Definition at line 14 of file renderer_backend.hpp.
◆ RendererBackend()
◆ ~RendererBackend()
mbgl::gl::RendererBackend::~RendererBackend |
( |
| ) |
|
|
overridevirtual |
◆ assumeFramebufferBinding()
void mbgl::gl::RendererBackend::assumeFramebufferBinding |
( |
FramebufferID |
fbo | ) |
|
|
protected |
Tells the renderer that OpenGL state has already been set by the windowing toolkit. It sets the internal assumed state to the supplied values.
◆ assumeScissorTest()
void mbgl::gl::RendererBackend::assumeScissorTest |
( |
bool |
| ) |
|
|
protected |
◆ assumeViewport()
void mbgl::gl::RendererBackend::assumeViewport |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
const Size & |
|
|
) |
| |
|
protected |
◆ createContext()
std::unique_ptr<gfx::Context> mbgl::gl::RendererBackend::createContext |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getExtensionFunctionPointer()
virtual ProcAddress mbgl::gl::RendererBackend::getExtensionFunctionPointer |
( |
const char * |
| ) |
|
|
protectedpure virtual |
Called with the name of an OpenGL extension that should be loaded. RendererBackend implementations must call the API-specific version that obtains the function pointer for this function, or a null pointer if unsupported/unavailable.
◆ implicitFramebufferBound()
bool mbgl::gl::RendererBackend::implicitFramebufferBound |
( |
| ) |
|
|
protected |
Returns true when assumed framebuffer binding hasn't changed from the implicit binding.
◆ readFramebuffer()
Reads the color pixel data from the currently bound framebuffer.
◆ setFramebufferBinding()
void mbgl::gl::RendererBackend::setFramebufferBinding |
( |
FramebufferID |
fbo | ) |
|
Triggers an OpenGL state update if the internal assumed state doesn't match the supplied values.
◆ setScissorTest()
void mbgl::gl::RendererBackend::setScissorTest |
( |
bool |
| ) |
|
◆ setViewport()
void mbgl::gl::RendererBackend::setViewport |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
const Size & |
|
|
) |
| |
◆ updateAssumedState()
virtual void mbgl::gl::RendererBackend::updateAssumedState |
( |
| ) |
|
|
pure virtual |
Called prior to rendering to update the internally assumed OpenGL state.
◆ ImplicitFramebufferBinding
constexpr const FramebufferID mbgl::gl::RendererBackend::ImplicitFramebufferBinding |
|
staticconstexprprotected |
Initial value:=
std::enable_if_t< std::is_integral_v< T >, T > max(T a, T b)
A constant to signal that a framebuffer is bound, but with an unknown ID.
Definition at line 34 of file renderer_backend.hpp.
The documentation for this class was generated from the following file: