1234567891011121314151617181920212223242526272829 |
- #include "display.h"
- #include "gles-display.h"
- #include <stdexcept>
- Display::Display(const unsigned width, const unsigned height)
- {
- gles_display_init(width, height);
- }
- void Display::refresh(
- std::array<uint8_t*, 3> planes, std::array<size_t, 3> pitches) {
- gles_display_yuv(
- planes[0], pitches[0],
- planes[1], pitches[1],
- planes[2], pitches[2]);
- }
- void Display::input() {
- /* Stub */
- }
- bool Display::get_quit() {
- return quit_;
- }
- bool Display::get_play() {
- return play_;
- }
|