aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-04-06 22:57:04 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-04-06 22:57:04 -0400
commit506e6049d3e15410b0bbf3df32477c7d27d55bab (patch)
treeb003c09467f59ed7b1769ce7066991fb17b67760 /src
parent6f7fd741db1b2716753bae2aea75e7dabde92e9f (diff)
added external framebuffer GL handles
Diffstat (limited to 'src')
-rw-r--r--src/video_core/src/renderer_opengl/renderer_opengl.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/video_core/src/renderer_opengl/renderer_opengl.h b/src/video_core/src/renderer_opengl/renderer_opengl.h
index 0c41977e..f9fb89d5 100644
--- a/src/video_core/src/renderer_opengl/renderer_opengl.h
+++ b/src/video_core/src/renderer_opengl/renderer_opengl.h
@@ -128,11 +128,20 @@ private:
int resolution_width_;
int resolution_height_;
- // Framebuffer object(s)
- // ---------------------
+ // Render buffers
+ // --------------
GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects
GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers objects
+ // External framebuffers
+ // ---------------------
+
+ GLuint xfb_texture_top_; ///< GL handle to top framebuffer texture
+ GLuint xfb_texture_bottom_; ///< GL handle to bottom framebuffer texture
+
+ GLuint xfb_top_;
+ GLuint xfb_bottom_;
+
DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
}; \ No newline at end of file