Commit Graph

62 Commits

Author SHA1 Message Date
Carsten Haitzler 383f5a91c7 and check extent... FIRST
SVN revision: 57915
2011-03-20 13:25:27 +00:00
Carsten Haitzler 5c45d8fdaf support multiple screens AT the same time... multiple gl contexts -
one is created per screen #. max is 16 screens (0->15). dont know if
this really works yet.



SVN revision: 57912
2011-03-20 08:48:30 +00:00
Carsten Haitzler ac97fb1944 add blacklisting for software gl implementations
SVN revision: 57908
2011-03-20 06:08:53 +00:00
Carsten Haitzler b875f1dda5 turn loose binding off on newer-ish nvidia dreiver versions. this is an
experiment. testing to see if it helps.



SVN revision: 57893
2011-03-19 10:58:34 +00:00
Carsten Haitzler ccfe91cc58 REVERT! hell no. glu is not going to become a dependency. it never
was. you broke gl-es support and didnt link to glu either. it's a
separate lib. no no no no no.



SVN revision: 57558
2011-03-07 19:11:18 +00:00
Mike Blumenkrantz ea5e9b6773 fix weird segv I found when trying opengl mode in comp module on my desktop, waiting for someone to give me the "good job you did it correctly" before I backport since I probably didn't
SVN revision: 57546
2011-03-07 05:41:49 +00:00
Mike Blumenkrantz d46942090d unless I'm going insane, this should return here to avoid an immediate null deref with configs[i]
SVN revision: 56099
2011-01-14 06:35:03 +00:00
Carsten Haitzler d7e8cfba62 egl actually doesnt need a full reset - we CAN get the current context
and draw/read surfaces.



SVN revision: 55977
2011-01-07 10:16:17 +00:00
Carsten Haitzler 4147f2f231 make sure we ensure out gl context is current at each frame start
SVN revision: 55131
2010-12-02 08:01:19 +00:00
Gustavo Sverzut Barbieri 379b546adf better logging.
* log domains in lower-case only please. let's make it a standard so
   we don't have to look at the code everytime to figure out the name...

 * logs do NOT require trailing newline (\n), it's automatic!

 * do NOT add newline inside log messages!

 * add gl_common logging.

NOTE: I tried to compile all modules, but there are clear broken
      modules such as cairo and qtopia. Other modules like gl_sdl are
      broken as they were not updated to new gl_common api (resize
      method AFAIR).



SVN revision: 53174
2010-10-07 23:46:42 +00:00
Carsten Haitzler ae6922fbd0 make sure that at any point if gl barfs... abort then.
SVN revision: 52838
2010-09-28 04:13:28 +00:00
Carsten Haitzler c54bd4052c warning--
SVN revision: 52448
2010-09-19 02:33:19 +00:00
Gustavo Sverzut Barbieri 19f0eebd27 cleanup: simple clean of "comparison between signed and unsigned errors"
not much to see here, please review but these are simple changes.



SVN revision: 52426
2010-09-18 23:07:31 +00:00
Carsten Haitzler 428e35e5d3 make it an env var to enable/disable window unsurface/resurfacing.
SVN revision: 51742
2010-08-30 06:46:29 +00:00
Carsten Haitzler 1874321e33 and actually fix un/resurf. done.
SVN revision: 51675
2010-08-27 10:45:06 +00:00
Carsten Haitzler f713366e7d fix un/resurf for dump.
SVN revision: 51674
2010-08-27 10:38:41 +00:00
Carsten Haitzler 09d9dcc715 some minor cleanliness in the unsurf/resurf stuff.
SVN revision: 51668
2010-08-27 01:14:03 +00:00
Carsten Haitzler efb72afbc1 be able to free and alloc gl surface when asked to dump
SVN revision: 51654
2010-08-26 09:40:48 +00:00
Carsten Haitzler 7ccee2cfe9 aagh fix fix! works again.
SVN revision: 51652
2010-08-26 04:37:43 +00:00
Carsten Haitzler 9d7a3a2bfc silence gl enging output unless you set EVAS_GL_INFO in env. move some
fixed numbers into env vars for tuning purposes and debugging ... and
importantly - fix a smooth vs non-smooth texture mode thing.



SVN revision: 51651
2010-08-26 01:41:48 +00:00
Carsten Haitzler 2d3ea36109 more work on egl image direct access.
SVN revision: 51070
2010-08-13 10:34:51 +00:00
Carsten Haitzler 83f2ef6142 working on new gl engine feature. inactive right now.
SVN revision: 51027
2010-08-12 06:02:15 +00:00
Carsten Haitzler 04df26bef5 aaah yes. get the ref -1 as free will dec it.
SVN revision: 50662
2010-07-29 23:32:56 +00:00
Carsten Haitzler f20b010d41 now work?
SVN revision: 50635
2010-07-29 06:21:51 +00:00
Carsten Haitzler 166dc4c594 try no surf/context etc. on free in egl.
SVN revision: 49790
2010-06-22 00:06:40 +00:00
Carsten Haitzler 7f99f93744 use before freeing to make sure context is right
SVN revision: 49781
2010-06-21 07:59:46 +00:00
Carsten Haitzler 4fefcad954 if shader compile fails - peroclate error back up to engine info_set so we
know gl engine is useless.



SVN revision: 48956
2010-05-18 03:49:59 +00:00
Carsten Haitzler fa6a067737 gl engine now does rotates (0, 90, 180, 270), like software engines
SVN revision: 48704
2010-05-09 05:15:20 +00:00
Carsten Haitzler 3cf6e2fde7 1. clean up egl better on context shutdown
2. clean up pprograms/shaders on shared shutdown



SVN revision: 47386
2010-03-23 09:55:02 +00:00
Carsten Haitzler eb4c4a29b3 actuallyu free gl context//terminate on last gl window gone.
SVN revision: 47361
2010-03-22 05:33:20 +00:00
Carsten Haitzler a67d080b06 some internalling of symbols and formatting
SVN revision: 46702
2010-03-01 16:17:11 +00:00
Carsten Haitzler 8bac55ed06 ok cant get this info until a context is made current. aaagh. tat means i
cant decide on the config attrs to pass based on vendor. :(



SVN revision: 46690
2010-03-01 13:08:07 +00:00
Carsten Haitzler 2f8e37e654 disabel the rgb select for now until nokia fix their bugs.
SVN revision: 46687
2010-03-01 12:45:47 +00:00
Carsten Haitzler c6117c504c turn this off - definitely broken on n900! bug filing time!
SVN revision: 46685
2010-03-01 12:29:10 +00:00
Carsten Haitzler c76d28e4d2 oooh oops. colormap etc. was wrong. fix fix fix. no debug... driver bugs tho...
SVN revision: 46683
2010-03-01 12:00:54 +00:00
Carsten Haitzler d7aa78290c make egl work again.. sgx egl broken tho :(
SVN revision: 46680
2010-03-01 06:49:46 +00:00
Carsten Haitzler 07e3e08384 oops - fix.
SVN revision: 46679
2010-03-01 05:19:00 +00:00
Carsten Haitzler 5ae0845c1c begin work on argb window support for gl - glx/gl doesnt work. i think egl/gles
will tho.



SVN revision: 46677
2010-03-01 04:44:23 +00:00
Carsten Haitzler 64a129f1fa stderr for that output! one day it will go - but for now, it stays.
SVN revision: 46329
2010-02-20 05:36:45 +00:00
Carsten Haitzler dc8fdf5e3a lots of gl error catching.. if gl errors happen.
it's a #defined macro so it can be removed.
 


SVN revision: 46233
2010-02-17 04:21:59 +00:00
Carsten Haitzler 0be05b9046 be less pedantic on fglrx.
SVN revision: 46229
2010-02-17 02:11:47 +00:00
Carsten Haitzler 440f6d0d7b change gl engine api a little - fixed in ecore-evas and expedite. expose
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.



SVN revision: 46177
2010-02-15 05:05:05 +00:00
Carsten Haitzler b933154d21 add checks for vendor etc. too
SVN revision: 46176
2010-02-15 04:12:50 +00:00
Carsten Haitzler c2431a688d and be paranoid if context createion fials - try again with other direct
options



SVN revision: 46168
2010-02-14 15:15:28 +00:00
Carsten Haitzler cee4d504cf add indirect engine option - and do glsym for glxcreatepixmap and friends.
SVN revision: 46167
2010-02-14 15:12:39 +00:00
Carsten Haitzler 22bcb163f2 compositing ok on glx - need this for more testing and dev!
SVN revision: 46035
2010-02-10 06:24:21 +00:00
Carsten Haitzler a022e49d82 more complete gl-texture-pixmap handling, but still is broken on fglrx. hmmm.
SVN revision: 45750
2010-01-31 02:50:01 +00:00
Carsten Haitzler 325da4619c some build fixes... oops.
SVN revision: 45693
2010-01-29 06:33:10 +00:00
Carsten Haitzler 0948ee7e20 1. depth buf+ stencil buf explicityl zero for both glx and egl.
2. some debugging - havving issues. will revert debug stuff soon



SVN revision: 45550
2010-01-25 13:42:57 +00:00
Carsten Haitzler b06b71050a ok. work on native pixmap suppport. have problmes - not sure why. see
comments (create/destory glx pixmap needed for updates to work, but this
makes rendering dead-slow. without it rendering is fast, but updates dont
happen (useless).

anyone know why glxcreatepixmap is needed as well as bindteximage+release
(and destroy pixmap) vs just bind/unbind?



SVN revision: 45508
2010-01-24 05:11:54 +00:00