Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SailfsihOS support #168

Open
savegame opened this issue May 8, 2020 · 1 comment
Open

SailfsihOS support #168

savegame opened this issue May 8, 2020 · 1 comment

Comments

@savegame
Copy link

savegame commented May 8, 2020

Its would be nice if your engine will support SailfishOS.
I get some code from PR #117 and fix it. Now it build binary for SailfishOS properly ( inside SailfishOS Build Engine virtual machine)
I want add full support of SailfishOS to your engine ( screen rotation, sound, maybe gyroscope, accelerometer, lock screen blanking), and add ability to build application from host system ( using SailfishSDK tools ).
but now i have few questions about screen rotation:

  1. In SailfishOS, system not rotate application render, if we use not Qt application ( like SDL2 ), that mean we need render target for all application content, and we should rotate it inside oxygine. My question is: do oxygine render all in RT, or it draw any sprite directly to screen buffer? If it use RT, please tel me where it render, i just add special shader for it, for rotation rendered picture inside shader, and change its size ( if application is use landscape mode ). If oxygine not use main RT for all content, where is the best place for adding that RT ( maybe inside set global RT in core::beginRendering, then draw that global RT in core::swapDisplayBuffers ) ?
  2. is oxygine have some enums for current screen orientation? If not, where i should add that enum? it need for locking screen orientation to landscape/portrait mode for applications in SailfishOS
@savegame
Copy link
Author

savegame commented May 8, 2020

maybe just need add own PostProcess? (PostProcessTween) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant