Re: [SailfishDevel] Landscape mode in Sailfish?

2014-04-10 Thread Thomas Perl
Hi, On 2014-04-07 13:00, Iosif Hamlatzis wrote: ok I have managed to rotate my display and convert the touch co-ordinates but I have a lot flashes on the screen. I presume it has to do with the call to glScissor At some places in my code I call glScissor and glGetIntegerv modify and retrieve

Re: [SailfishDevel] Landscape mode in Sailfish?

2014-04-07 Thread Iosif Hamlatzis
ok I have managed to rotate my display and convert the touch co-ordinates but I have a lot flashes on the screen. I presume it has to do with the call to glScissor At some places in my code I call glScissor and glGetIntegerv modify and retrieve the scissor box. If I don't call these there is no pr

Re: [SailfishDevel] Landscape mode in Sailfish?

2014-04-05 Thread Thomas Perl
On 05 Apr 2014, at 09:29, Iosif Hamlatzis wrote: > Is there a c/c++ (not Qt and QML) API that I can use to force landscape mode? > > Generally speaking is there an API (not Qt and QML) documentation anywhere? In general, you can use set_buffer_transform on the Wayland surface: http://wayland.fre

[SailfishDevel] Landscape mode in Sailfish?

2014-04-05 Thread Iosif Hamlatzis
Is there a c/c++ (not Qt and QML) API that I can use to force landscape mode? Generally speaking is there an API (not Qt and QML) documentation anywhere? ___ SailfishOS.org Devel mailing list