summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-06 22:57:04 -0400
committerGravatar bunnei2014-04-06 22:57:04 -0400
commit506e6049d3e15410b0bbf3df32477c7d27d55bab (patch)
treeb003c09467f59ed7b1769ce7066991fb17b67760 /src
parentremoved log message from hw_lcd (diff)
downloadyuzu-506e6049d3e15410b0bbf3df32477c7d27d55bab.tar.gz
yuzu-506e6049d3e15410b0bbf3df32477c7d27d55bab.tar.xz
yuzu-506e6049d3e15410b0bbf3df32477c7d27d55bab.zip
added external framebuffer GL handles
Diffstat (limited to '')
-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 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:
128 int resolution_width_; 128 int resolution_width_;
129 int resolution_height_; 129 int resolution_height_;
130 130
131 // Framebuffer object(s) 131 // Render buffers
132 // --------------------- 132 // --------------
133 133
134 GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects 134 GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects
135 GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers objects 135 GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers objects
136 136
137 // External framebuffers
138 // ---------------------
139
140 GLuint xfb_texture_top_; ///< GL handle to top framebuffer texture
141 GLuint xfb_texture_bottom_; ///< GL handle to bottom framebuffer texture
142
143 GLuint xfb_top_;
144 GLuint xfb_bottom_;
145
137 DISALLOW_COPY_AND_ASSIGN(RendererOpenGL); 146 DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
138}; \ No newline at end of file 147}; \ No newline at end of file