Commit Graph

69 Commits

Author SHA1 Message Date
Jérôme Duval
07a6f763c2 moved GLRenderer.h to public opengl headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-06 09:47:34 +00:00
Jérôme Duval
51f05ea6fc work in progress on Mesa renderer
TODO : reorganization for GLRenderer.h MesaRenderer.* and libmesa.a


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 16:00:15 +00:00
Jérôme Duval
c2c939699f remove CVS dir
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 11:03:53 +00:00
Philippe Houdoin
5522045320 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
2006-06-12 15:50:27 +00:00
Philippe Houdoin
e0da42a8fa Ooops, some GL calls were exported mangled, some not. While I dunno why this split, OpenGL is a C API!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 13:33:13 +00:00
Philippe Houdoin
6e23537d47 Removed main/dispatch.c from libmesa.a: the GL API dispatching is added in libGL.so by GLDispather.cpp (and eventually some assembly code like glapi_x86.S for x86 architecture).
On PPC, both dispatch.c and GLDispatcher.cpp were exporting gl* OpenGL API. Twice is not better, even when "none" was the previous state for PPC port ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 13:08:15 +00:00
Axel Dörfler
06bf290c26 Fixed indentation, still doesn't build correctly on PPC, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 12:41:35 +00:00
Philippe Houdoin
d6b1b60ed4 Try to be smarter regarding $(TARGET_ARCH) dependent symbols when building libGL.so.
Untested for non x86 architecture. Axel, could you check if it now build fine under PPC?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:48:12 +00:00
Axel Dörfler
b0bc48fbd3 Some more GCC 4 and PPC fixes.
* Mesa doesn't compile yet, as some PPC specific stuff seems to be
  missing, Philippe?
* Cortex and some other stuff has been marked x86-only, although
  it's more of a "GCC 2.95.3"-only.
* I'm not sure if it's a bug in GCC 4, or if that's what the C
  standard demands, but sizeof(some_type::some_field) is not
  valid anymore :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-19 15:52:21 +00:00
Axel Dörfler
01fdd314e5 Some GCC 4.1.0 related build fixes (under Linux/PPC).
Doesn't build yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 20:54:12 +00:00
Philippe Houdoin
c1a34c9be2 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
2006-05-16 21:27:20 +00:00
Philippe Houdoin
41fc107e0a 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
2006-05-09 22:11:44 +00:00
Philippe Houdoin
3f70d609a9 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
2006-05-09 21:56:08 +00:00
Philippe Houdoin
b8c43bc75e Fixed building libGL.so for non haiku targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-24 05:21:04 +00:00
Philippe Houdoin
49af301b35 Fixed build for non haiku targets.
Added dummy support for glutKeyboardUpFunc(), glutSpecialFunc() and glutJoystickFunc().
To be implemented later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-24 05:11:01 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Philippe Houdoin
f73ec094df Small changes to GLDispacher class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 09:37:05 +00:00
Philippe Houdoin
41a84d9ccb Fixed a typo and try to make clearer image.h include issue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 14:42:07 +00:00
Philippe Houdoin
006a9e008b 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
2005-06-26 20:21:09 +00:00