Commit graph

23 commits

Author SHA1 Message Date
Fred Kiefer
a5b102b243 * Source/x11/XGGLContext.m,
* Source/x11/XGGLFormat.m: Better error reporting by converting
  glGetError() to a string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37047 72102866-910b-0410-8b05-ffd578937521
2013-09-08 18:19:12 +00:00
Ivan Vučica
9a67894038 ARGB visual is only picked if NSOpenGLPFAAlphaSize is specified in the pixel format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36821 72102866-910b-0410-8b05-ffd578937521
2013-07-03 16:06:38 +00:00
Ivan Vučica
774b5092bd OpenGL context under X11 now picks up the best possible framebuffer that includes an alpha mask in the X visual info. The code is currently disabled as it needs more debugging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36815 72102866-910b-0410-8b05-ffd578937521
2013-07-03 09:36:29 +00:00
Fred Kiefer
6e7cc10890 * Source/x11/XGGLFormat.m (-assembleGLXAttributes:): Use
GLX_BUFFER_SIZE for NSOpenGLPFAColorSize instead of setting all
the single colour sizes, which was wrong.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34136 72102866-910b-0410-8b05-ffd578937521
2011-11-07 20:53:54 +00:00
Thomas Gamper
eefc79f2de TG: Change GLX_VERSION_1_4 check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28927 72102866-910b-0410-8b05-ffd578937521
2009-10-31 11:56:01 +00:00
Thomas Gamper
f1db2bf071 TG: Check for GLX_VERSION_1_4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28905 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:09:21 +00:00
Thomas Gamper
38ab851c26 TG: Check for GLX_VERSION_1_4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28904 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:06:44 +00:00
Riccardo Mottola
71d0bbdcaa cleaned up c99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28903 72102866-910b-0410-8b05-ffd578937521
2009-10-28 18:46:31 +00:00
Thomas Gamper
c0abc9a675 TG: OpenGL cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28877 72102866-910b-0410-8b05-ffd578937521
2009-10-25 13:49:19 +00:00
Riccardo Mottola
42abff09f9 reordered instructions for c89 compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28176 72102866-910b-0410-8b05-ffd578937521
2009-04-04 10:24:19 +00:00
Xavier Glattard
6226804e56 Missing var initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28046 72102866-910b-0410-8b05-ffd578937521
2009-03-06 09:31:18 +00:00
Xavier Glattard
08a079606a Fix typo and oversights - Comes along with the previous changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28037 72102866-910b-0410-8b05-ffd578937521
2009-03-04 14:48:19 +00:00
Xavier Glattard
7e3dbdf741 OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Adam Fedor
250ebdfad0 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Fred Kiefer
e2c622bad5 Get to work with newer versions of GLX.
Patch by Thomas Gamper <icicle@cg.tuwien.ac.at>,
slightly reworked.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25990 72102866-910b-0410-8b05-ffd578937521
2008-01-21 21:27:58 +00:00
Fred Kiefer
0f8c5487c7 Change files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
Richard Frith-Macdonald
08c5a3d3d0 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
Matt Rice
3e10117de9 2004-11-28 Matt Rice <ratmice@yahoo.com>
* Source/x11/XGGLFormat.m (-initWithAttributes:,append,append1): Add
       missing curly brackets, fix append and append1 macros so they can safely
       be used without curly brackets.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20392 72102866-910b-0410-8b05-ffd578937521
2004-11-29 00:19:46 +00:00
Alexander Malmberg
305b8d6074 (-initWithAttributes:): Fix handling of 15 and 16bpp modes (NSOpenGLPFAAccumSize).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18962 72102866-910b-0410-8b05-ffd578937521
2004-03-29 23:53:38 +00:00
David Ayers
98036d3302 * Source/art/GNUmakefile: Do not make headers publilc.
* Source/gsc/GNUmakefile: Ditto.
        * Source/x11/GNUmakefile: Ditto.
        * Source/xdps/GNUmakefile: Ditto.
        * Source/xlib/GNUmakefile: Ditto.

        * Headers/win32/*.h: Update includes for new header structure.
        * Headers/winlib/*.h: Ditto.
        * Headers/x11/XGServer.h: Ditto.
        * Headers/xlib/*.h: Ditto.

        * Source/art/ftfont.m: Ditto.
        * Source/gsc/*.m: Ditto.
        * Source/x11/*.m: Ditto.
        * Source/xdps/*.m: Ditto.
        * Source/xlib/*.m: Ditto.

        * Tools/gpbs.m: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17409 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:57:11 +00:00
Adam Fedor
a20f5d62ed New multi-byte support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17322 72102866-910b-0410-8b05-ffd578937521
2003-07-24 03:24:13 +00:00
Adam Fedor
23a64a292a GLX 1.2 support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17306 72102866-910b-0410-8b05-ffd578937521
2003-07-23 03:40:47 +00:00
Adam Fedor
6bec019bff OpenGL implmentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14998 72102866-910b-0410-8b05-ffd578937521
2002-11-16 05:00:14 +00:00