History log of /haiku-fatelf/src/kits/opengl/GLView.cpp
Revision Date Author Comments
# a80293e0 26-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

opengl: Pointer, newline cleanup, no functional change

* Clean up pointer positions
* Clean up function line returns


# a42877a6 26-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

opengl: Header / whitespace cleanup

* I received the ok via email from Brain Paul at mesa to
relicense the GLDispatcher sources to MIT + him as the
author.
* Update include ordering
* Remove HAIKU_TARGET_PLATFORM_HAIKU ifdefs for boot options


# f6a611eb 07-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

Use Mesa optional package to build opengl kit


# fafc6e4b 08-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a GetGLProcAddress() method to BGLView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38578 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b3df2c9a 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Fixing BeOS binary compatibility.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e4eb2e7e 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Reverting r37289 because it breaks the build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37293 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31f2baa4 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Changeset r37275 makes the name parameter in the BGLView class constructor a const char*, which breaks binary compatibility with R5.
This change uses _BEOS_R5_COMPATIBLE_ to determine which function prototype to use.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37289 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 329e7bd2 27-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fix.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37275 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b19902ae 10-Mar-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Made BGLView by default freely resizable by layout manager. I'm not sure I didn't break binary compatibility, please review.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35806 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e35a094d 27-Aug-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed the type of fClipInfo from void * to glview_direct_info in the
BGLView header. This lets us get rid of ugly casting in the implementation.
Also changed a calloc() to malloc(), since the memory is memcpy()'d right
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32763 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c72b8cf 26-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* DirectConnect() with B_DIRECT_START must not unlock drawing before updating
to the latest direct_buffer_info - it could trash memory before.
* Now handles failed allocations more gracefully.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# db341f36 12-Aug-2009 Rene Gollent <anevilyak@gmail.com>

Revert bin compat break from r32267.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32280 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1fc737 11-Aug-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed BGLView constructor: name string argument wasn't qualified constant!
Fixed GCC4 warnings in GLInfo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32267 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e3ba97b8 05-Aug-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed a crash when resizing GLInfo window (or any non-BDirectWindow with GLView kid(s), for that matter).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32151 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3de7fab6 05-Jul-2009 Jérôme Duval <korli@users.berlios.de>

added string.h header to use memcpy


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31413 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f38b4b11 05-Jul-2009 Jérôme Duval <korli@users.berlios.de>

we also call DirectConnected on FrameResized(), this is when bounds are updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31412 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc4c7cc4 27-Apr-2009 Jérôme Duval <korli@users.berlios.de>

* honors new frame size in the LockGL() method of the renderer, FrameResized() now notifies the renderer.
* checks whether the rendered bitmap size matches the direct info size, if not, the renderer doesn't draw.
* we don't lock the view looper anymore in LockGL(), this avoids deadlocks with FrameResized().
* lock drawing when modifying the direct connection info.
* the renderer now locks the view looper with a timeout, as on resize the looper is locked and FrameResized called.
* the bug #3027 is fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30472 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5acaa0fe 30-Nov-2008 Jérôme Duval <korli@users.berlios.de>

check if LockGL was called, before actually going on with UnlockGL


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28753 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03d1f00c 05-Nov-2008 Jérôme Duval <korli@users.berlios.de>

now uses DIRECT_BUFFER_INFO_AREA_SIZE as the direct_buffer_info area size


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 455a252e 23-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

rewrote GLView.h (left out BGLScreen for now, will integrate it later),
adapted GLView.cpp to the new variable naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23716 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9f1506cb 21-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Moved locking the looper from the GLRenderer class into the GLView class:
when the view is detached, fRenderer has already been released, and wouldn't
unlock the looper anymore in GLTeapot. This fixes bug #1626.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23691 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca3e5910 07-May-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

call lock/unlock_draw() in SwapBuffers too. Don't set the view color to
B_TRANSPARENT_32_BIT because it doesn't look good in direct mode. Korli,
please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6bf88d4 04-May-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

use the already available BLocker instead of atomic_add and a semaphore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21025 a95241bf-73f2-0310-859d-f6bbb57e9c96


# effcdf2e 26-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented locking for BGLView direct mode. Tested with GLTeapot and
GLDirectTest. Seems to work fine


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7cfdfca2 24-Apr-2007 Jérôme Duval <korli@users.berlios.de>

GLView :
window_bounds are now coordinates of the view on the screen (was the window before)
this eases dramatically the drawing of the clip from the buffer
now allocates m_clip_info whenever needed as some apps call EnableDirectMode() after DirectConnected(), ie GLTeapot.
MesaSoftwareRenderer:
implemented DirectConnected() support in Mesa Software Renderer
tested with GLTeapot on QEmu, B_RGB16 mode only


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 285d5ce2 23-Apr-2007 Jérôme Duval <korli@users.berlios.de>

we need view bounds in the window coordinates, they can then be offset with the window bounds for clipping


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20785 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22cf4a3b 12-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

sizeof(B_PAGE_SIZE) != B_PAGE_SIZE. Fixed bug 1151. Sorry for the silly
typo. Also uses calloc() so that the direct_buffer_info struct is
initialized to 0.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20663 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f231626 10-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented BGLView::DirectConnected(). I don't know if it works, since
the gldirect_mode test app crashes at startup (also before this commit).
Style changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20636 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb2b8194 11-Dec-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

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


# 9a224021 07-Sep-2006 Jérôme Duval <korli@users.berlios.de>

passed options to the renderer


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18774 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b785569a 07-Sep-2006 Jérôme Duval <korli@users.berlios.de>

added a simple GLRendererRoster
imported missing pieces of mesa
GLView now gets a renderer correctly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18772 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55220453 12-Jun-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

As reported by Fredrik Ekdahli, the GL viewport should be set by default as soon as the view is attached to a window.
But the default size is the view one, not the view's window size, which doesn't make much sense.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1a34c9b 16-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

One more small step toward libGL.so renderer API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17486 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41fc107e 09-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

Ooops II, the comeback. The future RenderersManager is not there yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f70d609 09-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

First small step toward OpenGL renderers interface.
Our libGL.so GLView is still a stub, drawing "No OpenGL renderer available!"
instead ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 006a9e00 26-Jun-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a first draft OpenGL kit.
The OpenGL software renderer add-on should follow soon.
Allow to link GLTeapot as native, but without renderer, nothing is displayed ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13283 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a80293e0cf3fd1bbaa4a8658d763fc69de7f6199 26-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

opengl: Pointer, newline cleanup, no functional change

* Clean up pointer positions
* Clean up function line returns


# a42877a6e46dfef684c1c8f2a560275972de0cd8 26-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

opengl: Header / whitespace cleanup

* I received the ok via email from Brain Paul at mesa to
relicense the GLDispatcher sources to MIT + him as the
author.
* Update include ordering
* Remove HAIKU_TARGET_PLATFORM_HAIKU ifdefs for boot options


# f6a611ebf067b2b5a005e5f5fff75d000f0aa1db 07-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

Use Mesa optional package to build opengl kit


# fafc6e4b776ba7c9eff20696976d9fdb85113682 08-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a GetGLProcAddress() method to BGLView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38578 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b3df2c9a87f8cc69af31dbfef4ce2951555f66f6 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Fixing BeOS binary compatibility.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e4eb2e7e45914a01d9eee6a471fed437c4f3c8c6 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Reverting r37289 because it breaks the build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37293 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31f2baa4fd5b954d4f975c90a114f5f200aa73be 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Changeset r37275 makes the name parameter in the BGLView class constructor a const char*, which breaks binary compatibility with R5.
This change uses _BEOS_R5_COMPATIBLE_ to determine which function prototype to use.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37289 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 329e7bd264ecac964b517d465b17d41cfa8d1969 27-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fix.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37275 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b19902ae4e2ef8b6bd51349af03d1191ed5bb978 10-Mar-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Made BGLView by default freely resizable by layout manager. I'm not sure I didn't break binary compatibility, please review.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35806 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e35a094d61f51191bd37c30f44393f098d231d2f 27-Aug-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed the type of fClipInfo from void * to glview_direct_info in the
BGLView header. This lets us get rid of ugly casting in the implementation.
Also changed a calloc() to malloc(), since the memory is memcpy()'d right
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32763 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c72b8cf438c7852c892c29dbee6b1aebebc42f3 26-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* DirectConnect() with B_DIRECT_START must not unlock drawing before updating
to the latest direct_buffer_info - it could trash memory before.
* Now handles failed allocations more gracefully.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# db341f3691277bb99d58000174b3668b86b363a8 12-Aug-2009 Rene Gollent <anevilyak@gmail.com>

Revert bin compat break from r32267.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32280 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1fc737154117f4eb8cdf623aae97c3059303fa 11-Aug-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed BGLView constructor: name string argument wasn't qualified constant!
Fixed GCC4 warnings in GLInfo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32267 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e3ba97b8aa2647699d0f0c12de3f6f3a5c12e0f4 05-Aug-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed a crash when resizing GLInfo window (or any non-BDirectWindow with GLView kid(s), for that matter).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32151 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3de7fab6813e4d8e845eb6d8a1be202fc17c75ad 05-Jul-2009 Jérôme Duval <korli@users.berlios.de>

added string.h header to use memcpy


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31413 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f38b4b110ca57d2c22d47612a16021895846a3f4 05-Jul-2009 Jérôme Duval <korli@users.berlios.de>

we also call DirectConnected on FrameResized(), this is when bounds are updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31412 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc4c7cc492fd225a18f0d5af5b7dea0f8e791aba 27-Apr-2009 Jérôme Duval <korli@users.berlios.de>

* honors new frame size in the LockGL() method of the renderer, FrameResized() now notifies the renderer.
* checks whether the rendered bitmap size matches the direct info size, if not, the renderer doesn't draw.
* we don't lock the view looper anymore in LockGL(), this avoids deadlocks with FrameResized().
* lock drawing when modifying the direct connection info.
* the renderer now locks the view looper with a timeout, as on resize the looper is locked and FrameResized called.
* the bug #3027 is fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30472 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5acaa0fe309068e720ed9c4851ba73b2987245ea 30-Nov-2008 Jérôme Duval <korli@users.berlios.de>

check if LockGL was called, before actually going on with UnlockGL


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28753 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03d1f00c86718d96f28fed40ae506d3bbb1c81c3 05-Nov-2008 Jérôme Duval <korli@users.berlios.de>

now uses DIRECT_BUFFER_INFO_AREA_SIZE as the direct_buffer_info area size


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 455a252e0d7346543b399b4e2fcfcea232ce769f 23-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

rewrote GLView.h (left out BGLScreen for now, will integrate it later),
adapted GLView.cpp to the new variable naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23716 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9f1506cb81dcb15d6497065c82e9c863071aa50d 21-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Moved locking the looper from the GLRenderer class into the GLView class:
when the view is detached, fRenderer has already been released, and wouldn't
unlock the looper anymore in GLTeapot. This fixes bug #1626.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23691 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca3e59106d6ab3cf0f75f5da72d944fe75844e5c 07-May-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

call lock/unlock_draw() in SwapBuffers too. Don't set the view color to
B_TRANSPARENT_32_BIT because it doesn't look good in direct mode. Korli,
please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6bf88d4350990ca65f4f848de6e690c73ab918e 04-May-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

use the already available BLocker instead of atomic_add and a semaphore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21025 a95241bf-73f2-0310-859d-f6bbb57e9c96


# effcdf2e6a41cac6bf43f133e9b7a85c61e8f69c 26-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented locking for BGLView direct mode. Tested with GLTeapot and
GLDirectTest. Seems to work fine


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7cfdfca2e25223b703347145da65dc35bb61d9de 24-Apr-2007 Jérôme Duval <korli@users.berlios.de>

GLView :
window_bounds are now coordinates of the view on the screen (was the window before)
this eases dramatically the drawing of the clip from the buffer
now allocates m_clip_info whenever needed as some apps call EnableDirectMode() after DirectConnected(), ie GLTeapot.
MesaSoftwareRenderer:
implemented DirectConnected() support in Mesa Software Renderer
tested with GLTeapot on QEmu, B_RGB16 mode only


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 285d5ce2eafd806089e8ee516fbac3470b773e77 23-Apr-2007 Jérôme Duval <korli@users.berlios.de>

we need view bounds in the window coordinates, they can then be offset with the window bounds for clipping


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20785 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22cf4a3be60eff844a90ce47efc93a013703477f 12-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

sizeof(B_PAGE_SIZE) != B_PAGE_SIZE. Fixed bug 1151. Sorry for the silly
typo. Also uses calloc() so that the direct_buffer_info struct is
initialized to 0.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20663 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f2316263f66c9aa79e69fa0e1f169c24afa9452 10-Apr-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented BGLView::DirectConnected(). I don't know if it works, since
the gldirect_mode test app crashes at startup (also before this commit).
Style changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20636 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb2b8194c27a904d5488dfc30ca67a6f43b7e25c 11-Dec-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

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


# 9a2240212ae2823e97caf11e056cd7c72458f887 07-Sep-2006 Jérôme Duval <korli@users.berlios.de>

passed options to the renderer


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18774 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b785569a0dd670f730b983c3de74bbaf246a4e33 07-Sep-2006 Jérôme Duval <korli@users.berlios.de>

added a simple GLRendererRoster
imported missing pieces of mesa
GLView now gets a renderer correctly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18772 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55220453207d0bb0f1265dfa139812a9441f72c4 12-Jun-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

As reported by Fredrik Ekdahli, the GL viewport should be set by default as soon as the view is attached to a window.
But the default size is the view one, not the view's window size, which doesn't make much sense.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1a34c9be2375fdad1504e3036491ed8ae84ee26 16-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

One more small step toward libGL.so renderer API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17486 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41fc107e0aa2f12893da93e3effdcb9f9746c68e 09-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

Ooops II, the comeback. The future RenderersManager is not there yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f70d609a9544420edf6ec5878f31260f90bc957 09-May-2006 Philippe Houdoin <philippe.houdoin@gmail.com>

First small step toward OpenGL renderers interface.
Our libGL.so GLView is still a stub, drawing "No OpenGL renderer available!"
instead ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 006a9e008bf21ec97f6b5c7abade7bbc5221270e 26-Jun-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a first draft OpenGL kit.
The OpenGL software renderer add-on should follow soon.
Allow to link GLTeapot as native, but without renderer, nothing is displayed ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13283 a95241bf-73f2-0310-859d-f6bbb57e9c96