Skip to content
Snippets Groups Projects
Commit 506e6049 authored by bunnei's avatar bunnei
Browse files

added external framebuffer GL handles

parent 6f7fd741
No related branches found
No related tags found
No related merge requests found
...@@ -128,11 +128,20 @@ private: ...@@ -128,11 +128,20 @@ private:
int resolution_width_; int resolution_width_;
int resolution_height_; int resolution_height_;
// Framebuffer object(s) // Render buffers
// --------------------- // --------------
GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects
GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers 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); DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
}; };
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment