From 506e6049d3e15410b0bbf3df32477c7d27d55bab Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 6 Apr 2014 22:57:04 -0400 Subject: [PATCH] added external framebuffer GL handles --- .../src/renderer_opengl/renderer_opengl.h | 13 +++++++++++-- 1 file 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 0c41977e4..f9fb89d50 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