소스 검색

added external framebuffer GL handles

bunnei 12 년 전
부모
커밋
506e6049d3
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 11 2
      src/video_core/src/renderer_opengl/renderer_opengl.h

+ 11 - 2
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);
 };