Display class for rendering a Surface<RGB565> using the SDL2 library. This class can be used to display the contents of a TinyGPU Surface<RGB565> on a desktop environment for testing and debugging purposes.
More...
#include <DisplayDriverSDL.h>
template<typename RGB_T = RGB565>
class tinygpu::DisplayDriverSDL< RGB_T >
Display class for rendering a Surface<RGB565> using the SDL2 library. This class can be used to display the contents of a TinyGPU Surface<RGB565> on a desktop environment for testing and debugging purposes.
◆ DisplayDriverSDL() [1/2]
◆ DisplayDriverSDL() [2/2]
◆ begin()
◆ end()
◆ setAddressWindow()
| bool setAddressWindow |
( |
size_t |
x, |
|
|
size_t |
y, |
|
|
size_t |
w, |
|
|
size_t |
h |
|
) |
| |
|
inlineoverrideprotectedvirtual |
◆ writeData()
| bool writeData |
( |
ISurface< RGB_T > & |
surface | ) |
|
|
inlineoverridevirtual |
◆ h_
◆ renderer_
| SDL_Renderer* renderer_ = nullptr |
|
protected |
◆ texture_
| SDL_Texture* texture_ = nullptr |
|
protected |
◆ w_
◆ window_
| SDL_Window* window_ = nullptr |
|
protected |
◆ x_
◆ y_
The documentation for this class was generated from the following file: