Philippe Houdoin
fafc6e4b77
Added a GetGLProcAddress() method to BGLView.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-08 10:01:37 +00:00
Andreas Färber
eb7f7576c9
OpenGL: Fix warnings on ppc
...
#pragma export on
and
#pragma export off
result in warnings on ppc, which are now treated as errors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 23:42:48 +00:00
Wim van der Meer
b3df2c9a87
Fixing BeOS binary compatibility.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-28 22:16:07 +00:00
Wim van der Meer
e4eb2e7e45
Reverting r37289 because it breaks the build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-28 11:45:04 +00:00
Wim van der Meer
31f2baa4fd
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
2010-06-28 09:03:55 +00:00
Wim van der Meer
329e7bd264
Compiler warning fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-27 09:11:17 +00:00
Philippe Houdoin
b19902ae4e
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
2010-03-10 23:03:03 +00:00
Artur Wyszynski
cee04e8074
Fixed various errors/warnings reported by cppcheck:
...
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 22:50:38 +00:00
Stefano Ceccherini
e35a094d61
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
2009-08-27 20:25:40 +00:00
Rene Gollent
db341f3691
Revert bin compat break from r32267.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-12 14:39:26 +00:00
Philippe Houdoin
bb1fc73715
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
2009-08-12 03:01:48 +00:00
Jérôme Duval
f38b4b110c
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
2009-07-05 17:56:33 +00:00
Jérôme Duval
aa6bedf1fb
updated mesa to 7.4. It was difficult to merge the glu part (svn conflicts on keywords deletion it seems), so it was copied.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 20:18:04 +00:00
Ingo Weinhold
bc3955fea5
Preparations for removing __BEOS__ from the compiler defines.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 21:46:26 +00:00
Jérôme Duval
a9d11d2365
updated mesa to 7.2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-13 19:37:51 +00:00
Jérôme Duval
13b2ca0205
updated mesa to 7.0.4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-18 20:19:01 +00:00
Jérôme Duval
e8bc20e263
updated mesa to 7.0.3
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 16:33:15 +00:00
Philippe Houdoin
46b5cc220a
Corrected GLRenderer's instantiation function name.
...
(I guess frenchies are guilty here, as mmu_man's ThemeAddOn have the same disease...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-26 22:51:51 +00:00
Stefano Ceccherini
0e6fdcf676
Added back BGLScreen declaration. On second thought, we might want to
...
move it to its own file, but it's not implemented yet... we'll see.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-24 13:05:21 +00:00
Stefano Ceccherini
455a252e0d
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
2008-01-24 12:55:38 +00:00
Jérôme Duval
0f928a18d2
updated mesa to 7.0.2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 16:12:28 +00:00
Jérôme Duval
a9fa028de4
updated mesa to 7.0.1
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-09 21:12:30 +00:00
Jérôme Duval
0de9b61d51
updated mesa to 7.0
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-15 22:28:49 +00:00
Jérôme Duval
0c74b7418a
forgot this one (part of mesa 6.5.3)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-08 23:02:21 +00:00
Jérôme Duval
56490cf3b7
virtualized DirectConnected() and EnableDirectMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 22:08:34 +00:00
Jérôme Duval
c34e204a4e
updated mesa to 6.5.2
...
updated the mesa software addon to work again (maybe would need more work)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 23:40:43 +00:00
Philippe Houdoin
fb2b8194c2
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
2006-12-12 00:59:23 +00:00
Jérôme Duval
1d08e70ac5
added a call to _mesa_make_current
...
not yet working but a bit better :
GLTeapot display is now white instead of black :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 21:13:53 +00:00
Jérôme Duval
fe86a04667
and forgot these ones
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 14:37:31 +00:00
Jérôme Duval
35c2c27e98
forgot this one
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 07:47:22 +00:00
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
Philippe Houdoin
a35d1f270c
Ooops, I forgot this little change. Sorry guys to break libGL.so build in the previous
...
release number.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 21:57:42 +00:00
Philippe Houdoin
0061feaff0
Import OpenGL kit headers, thanks to Mesa3D project.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-26 13:50:18 +00:00