forgot this one

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-09-07 07:47:22 +00:00
parent 10bb21518c
commit 35c2c27e98
+13
View File
@@ -9,6 +9,9 @@
#include <GLView.h> #include <GLView.h>
class BGLDispatcher; class BGLDispatcher;
class GLRendererRoster;
typedef unsigned long renderer_id;
class BGLRenderer class BGLRenderer
{ {
@@ -49,11 +52,21 @@ public:
inline BGLDispatcher * GLDispatcher() { return fDispatcher; }; inline BGLDispatcher * GLDispatcher() { return fDispatcher; };
private: private:
friend class GLRendererRoster;
virtual status_t _Reserved_Renderer_0(int32, void *);
virtual status_t _Reserved_Renderer_1(int32, void *);
virtual status_t _Reserved_Renderer_2(int32, void *);
virtual status_t _Reserved_Renderer_3(int32, void *);
virtual status_t _Reserved_Renderer_4(int32, void *);
volatile int32 fRefCount; // How much we're still usefull? volatile int32 fRefCount; // How much we're still usefull?
BGLView * fView; // Never forget who is the boss! BGLView * fView; // Never forget who is the boss!
ulong fOptions; // Keep that tune in memory ulong fOptions; // Keep that tune in memory
BGLDispatcher * fDispatcher; // Our personal OpenGL API call dispatcher BGLDispatcher * fDispatcher; // Our personal OpenGL API call dispatcher
GLRendererRoster *fOwningRoster;
renderer_id fID;
}; };
extern "C" _EXPORT BGLRenderer * instanciate_gl_renderer(BGLView *view, BGLDispatcher *dispatcher); extern "C" _EXPORT BGLRenderer * instanciate_gl_renderer(BGLView *view, BGLDispatcher *dispatcher);