TOLDOTECHNIK / buildroot-webkit

Buildroot WebKit fullscreen browser for Raspberry Pi. Suitable for HTML 5 user interfaces or digital signage / kiosk installations. It also can be used as a fullscreen video loop player. Ready to use RPi Zero/W and RPi 3 B SD card images are available.
244 stars 53 forks source link

Portrait mode #19

Closed timemaster5 closed 4 years ago

timemaster5 commented 4 years ago

Hi, first thanks for a nice job.

I wanted to ask if is possible to rotate the screen, i.e. set up an accelerated portrait mode.

display_rotate in config.txt is not what I am looking for, this will result in very poor performance of the whole stack. I would like to rotate the WPE browser instead.

Any suggestions?

TOLDOTECHNIK commented 4 years ago

This is related to https://github.com/TOLDOTECHNIK/buildroot-webkit/issues/7 What you can do is rotate the whole content of the page. Something like this: https://jsfiddle.net/egn80xh9/

timemaster5 commented 4 years ago

Yeah, slightly related.

The correct way is to set the orientation for the accelerated layer. In the case of WPEWebkit, it should be somewhere in the configuration of WPEBackend-RDK or something similar.

TOLDOTECHNIK commented 4 years ago

closing due to no activity.