Skip to content

Commit

Permalink
Capture::Connection::Screen: use Blit::back2front
Browse files Browse the repository at this point in the history
  • Loading branch information
nfeske committed Jan 21, 2025
1 parent 5c71086 commit 01bf582
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/driver/framebuffer/imx53/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ struct Framebuffer::Main
Ipu _ipu { _device };
Capture::Connection _capture { _env };
Capture::Connection::Screen _captured_screen { _capture, _env.rm(), {
.px = _size, .mm = { } } };
.px = _size,
.mm = { },
.rotate = { },
.flip = { } } };
Timer::Connection _timer { _env };
Signal_handler<Main> _timer_handler { _env.ep(), *this,
&Main::_handle_timer };
Expand Down
5 changes: 4 additions & 1 deletion src/driver/framebuffer/imx8mq/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ struct Framebuffer::Driver
:
_capture(env),
_size{ ccw ? yres : xres, ccw ? xres : yres },
_captured_screen(_capture, env.rm(), { .px = _size, .mm = { } }),
_captured_screen(_capture, env.rm(), { .px = _size,
.mm = { },
.rotate = { },
.flip = { } }),
_base(base),
_ccw(ccw) {}
};
Expand Down

0 comments on commit 01bf582

Please sign in to comment.