android: frontend: Track screen layout separately for orientation.

android framebuffer
This commit is contained in:
bunnei 2019-07-22 14:58:54 -04:00 committed by SachinVin
parent e8f57d7e3c
commit b7a156f7c8
5 changed files with 15 additions and 5 deletions

View file

@ -159,7 +159,8 @@ public:
* Convenience method to update the current frame layout
* Read from the current settings to determine which layout to use.
*/
void UpdateCurrentFramebufferLayout(unsigned width, unsigned height);
void UpdateCurrentFramebufferLayout(unsigned width, unsigned height,
bool is_portrait_mode = {});
std::unique_ptr<TextureMailbox> mailbox = nullptr;