summaryrefslogtreecommitdiffstats
path: root/src/common/framebuffer_layout.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-03-22 03:57:31 +0100
committerGitHub <noreply@github.com>2017-03-22 03:57:31 +0100
commitccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c (patch)
tree38120c3cf4e7af72dc8122f9f278b77aa52b663b /src/common/framebuffer_layout.h
parentRemoved a linebreak from the README. (diff)
parentAdd custom layout settings. (diff)
downloadyuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar.gz
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar.bz2
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar.lz
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar.xz
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.tar.zst
yuzu-ccc3985cc0efe520bf4f53d4fcac7bfe1abdc82c.zip
Diffstat (limited to 'src/common/framebuffer_layout.h')
-rw-r--r--src/common/framebuffer_layout.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/framebuffer_layout.h b/src/common/framebuffer_layout.h
index a125646a3..f1df5c55a 100644
--- a/src/common/framebuffer_layout.h
+++ b/src/common/framebuffer_layout.h
@@ -44,4 +44,12 @@ FramebufferLayout SingleFrameLayout(unsigned width, unsigned height, bool is_swa
* @return Newly created FramebufferLayout object with default screen regions initialized
*/
FramebufferLayout LargeFrameLayout(unsigned width, unsigned height, bool is_swapped);
+
+/**
+ * Factory method for constructing a custom FramebufferLayout
+ * @param width Window framebuffer width in pixels
+ * @param height Window framebuffer height in pixels
+ * @return Newly created FramebufferLayout object with default screen regions initialized
+ */
+FramebufferLayout CustomFrameLayout(unsigned width, unsigned height);
}