Moved GLRenderer instanciation at window attachment time, not GLView creation time.

Hardware GLRenderers will surely needs to check which screen device (so which window)
a GLView beg him to render to as fast as possible.
Unless such hardware is not serving this screen...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19464 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2006-12-12 00:59:23 +00:00
parent df3624c10e
commit fb2b8194c2
3 changed files with 5 additions and 41 deletions
-6
View File
@@ -35,12 +35,6 @@ public:
virtual status_t CopyPixelsOut(BPoint source, BBitmap *dest);
virtual status_t CopyPixelsIn(BBitmap *source, BPoint dest);
virtual void AttachedToWindow();
virtual void AllAttached();
virtual void DetachedFromWindow();
virtual void AllDetached();
virtual void FrameResized(float width, float height);
void DirectConnected( direct_buffer_info *info );