Commit Graph

59 Commits

Author SHA1 Message Date
Jose Luis Cercos Pita aa00138b34 Support core-only OpenGL contexts in the default build.
This is a squashed commit of the following, as well as my own (rdb's) revisions:

commit 80662759a18607743316f75ee6aa4a63c3f8d8e6
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 15:07:29 2016 +0100

    Removed some useless fixed pipeline checks

commit 563b5dbe93b451006ddbf3797aabdda7482ef3de
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 14:19:21 2016 +0100

    Improved the LUMINANCE check system

commit 596036a8bb59d627f703bccfdc399dc31e1723a9
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:30:45 2016 +0100

    Removed some useless fixed pipeline checks

commit 0f7fa7cd33860c3cde1b4594731271170301b42d
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:26:07 2016 +0100

    Don't try to check if fixed pipeline is available before the context has been generated

commit 56ed18e29dcb0a7cb0feccd0d50038416637427f
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:14:49 2016 +0100

    Assuming the fixed pipeline is available in GL 3.1 contexts

commit 73075ead73be21c8ce9a468ed92eb2c8c7d548c4
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Fri Nov 4 12:59:45 2016 +0100

    Fixed errors while quering for GL_TEXTURE_LUMINANCE_SIZE and GL_TEXTURE_INTENSITY_SIZE in GL >= 4.0 core profile contexts

commit 3f799ed20be22f6f82de13445c5f9515a424ef9f
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Fri Dec 16 10:01:03 2016 +0100

    Added fixed functions pipeline support check at runtime

Closes: 128
2017-02-19 20:15:54 +01:00
rdb e73a89705b Improve OpenGL ES support, add OpenGL ES 3 support 2016-04-04 17:00:27 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 08c29313b2 Reduce redundant state changes, add gl-fixed-vertex-attrib-locations 2015-12-22 20:22:24 +01:00
rdb 927a5bd48b More efficiently manage which vertex arrays are enabled/disabled 2015-12-21 21:23:20 +01:00
rdb 4a5d64909a Merge branch 'release/1.9.x'
Conflicts:
	direct/src/showbase/ShowBase.py
2015-11-09 02:29:41 +01:00
tobspr 027a561843 Fix color write mask in OpenGL 2015-11-08 11:58:06 +01:00
rdb f22cc71995 Fix double-precision build blibli 2015-07-29 14:07:06 +02:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb cda7c1f171 OpenGL ES 2 optimizations and better support 2015-04-04 21:58:29 +02:00
rdb b323d73622 Reduce redundant state changes and error checks 2015-04-04 21:04:27 +02:00
rdb 4d2dcdcef7 Fix OpenGL ES compiler errors 2015-02-11 21:41:48 +01:00
rdb a7d1eb90c5 Expose has_extension to query whether OpenGL extension is supported 2015-01-24 21:56:06 +01:00
rdb db0fd516a0 Add GPU profiling capabilities to PStats using OpenGL timer queries 2014-09-24 23:53:37 +00:00
rdb a16b98a468 Disable error checking by default for a substantial performance increase 2014-07-03 17:10:41 +00:00
rdb 8d3f7d62f4 Remove use of CLP() macro for config variables 2014-06-18 21:45:20 +00:00
rdb 6454ddddc5 Eliminate GLP() macro (so we can write glEnable instead of GLP(Enable) again). 2014-06-18 21:06:05 +00:00
David Rose e9053ff910 support GLSL tessellation shaders 2012-04-27 20:29:47 +00:00
rdb 2235e313b2 this should fix OpenGL ES 2 errors 2011-10-18 08:26:19 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 181663ad66 fix error handling in NDEBUG case 2010-03-07 17:44:32 +00:00
rdb 100400f425 Add support for GLSL shaders 2009-06-26 13:11:24 +00:00
rdb cbe036c849 This commit adds more+better support for OpenGL ES:
* Support for many OES extensions
  * Support for OpenGL ES 2.x
  * Compile fixes for OpenGL ES 1.x
  * Support for FBO's in both versions
2009-06-15 13:40:42 +00:00
David Rose f42935b8e9 prevent GL error; fix indentation issues etc. 2009-06-03 21:15:23 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose 0f39a32569 better handling of opengl extension pointers 2009-05-01 19:43:03 +00:00
David Rose a08b08f8d3 initial iphone stuff, w.i.p. 2009-04-17 18:11:25 +00:00
David Rose 4d0d86c7cb gl-show-texture-usage 2009-02-04 02:53:33 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
David Rose 8537bd7320 ScissorAttrib, ScissorEffect 2008-07-31 01:53:12 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose aaa4e12223 gl-finish 2008-04-10 20:18:20 +00:00
Josh Yelon 51ef307c21 Working around vertex array problem 2007-07-12 00:36:32 +00:00
David Rose b3a30d821f depth offset should affect points and lines too 2006-10-10 19:10:57 +00:00
David Rose 91b341dafb fix multithreading issues with X 2006-05-23 14:16:38 +00:00
Josh Yelon 0bb2f00f88 New state handling code 2005-09-21 18:02:04 +00:00
David Rose d439425648 more reliably check for Mesa 2005-07-20 16:59:30 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
David Rose 43f4675d65 use new munger system for qpgeom sprites/points 2005-04-07 21:51:00 +00:00
David Rose 8dd9c1419c qpgeom particles 2005-04-06 04:06:28 +00:00
David Rose c32abac2b1 fix caching of display lists 2005-03-22 07:12:39 +00:00
David Rose 8b2854f82a better treatment of colors, etc in new geom loader 2005-03-15 14:42:40 +00:00
David Rose ffdbf61985 TextureStage::M_blend_color_scale, TextureStage::rgb_scale, ColorBlendAttrib::O_color_scale, better handling of state changes in GL 2005-02-25 18:25:00 +00:00
David Rose 517acbaccb fix TransparencyAttrib::M_multisample 2005-01-28 23:01:27 +00:00
David Rose 185fbf613e better antialias handling 2005-01-28 20:46:22 +00:00
David Rose d9d30855d0 fix line_width and RenderModeAttrib 2005-01-27 05:21:34 +00:00
David Rose 1064603147 force initial antialias state; enable multisample when transparency requires it 2005-01-27 04:37:43 +00:00
David Rose f939c61b1a api-level antialias control 2005-01-27 02:38:11 +00:00
David Rose 8bbda67e2a glx support for multisample 2004-12-17 23:08:58 +00:00