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
7e896b081a
and fail init of gl cleanly again... :)
...
SVN revision: 51644
2010-08-25 13:41:03 +00:00
Carsten Haitzler
8b35111094
fix free shutdown of gl common part of gl engine -> gl pipes badbess.
...
SVN revision: 51485
2010-08-21 05:59:27 +00:00
Christopher Michael
b2b23358f4
Comment out some unused variables.
...
Fix some 'may be used uninitialized' warnings.
SVN revision: 51288
2010-08-18 16:08:30 +00:00
Carsten Haitzler
5a35d48384
fix direct egl img rgba ordering.
...
SVN revision: 51273
2010-08-18 09:53:14 +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
2eb9af4c97
i->0
...
SVN revision: 51026
2010-08-11 23:12:03 +00:00
Carsten Haitzler
ca29063b28
magic numbers. :)
...
SVN revision: 50924
2010-08-09 08:38:28 +00:00
Carsten Haitzler
a584de2a2c
useless repeats... remove.
...
SVN revision: 50923
2010-08-09 07:13:58 +00:00
Carsten Haitzler
1b57456706
fix yuv with gl pipe stuff.
...
SVN revision: 50920
2010-08-09 04:59:14 +00:00
Carsten Haitzler
65b6845759
allow for debug checking of # of flushes per frame. checking to see if
...
this all works
SVN revision: 50919
2010-08-09 04:54:05 +00:00
Carsten Haitzler
6320a8db84
make new pipes have an env var for tuning, remove old comment code,
...
fix up yuv and maps to use pipes too. yes lines just flush it all - so
be it. :) who uses lines anyway?
SVN revision: 50918
2010-08-09 04:42:15 +00:00
Carsten Haitzler
66cace4f44
some major re-jig to get multiple render pipes in gl at once... some
...
chunky speedups to be had in real-life cases by avoiding more array
flushes.
SVN revision: 50917
2010-08-09 03:27:59 +00:00
Carsten Haitzler
9275e5beb2
re-jig native surface stuff to share the same gl image between
...
multiple instances of the same pixmap.
SVN revision: 50758
2010-08-03 06:09:53 +00:00
Carsten Haitzler
3b6c09d89b
allow max cutout rects to be tunable. and change3 default for gl?
...
SVN revision: 50736
2010-08-02 06:46:38 +00:00
Carsten Haitzler
8cc1f752d0
be paranoid about gl context - reset it to "0" every frame.
...
SVN revision: 49065
2010-05-20 15:24:28 +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
53fb870568
hmmmm gl-es doesnt like that texture2d thing. disable again.
...
SVN revision: 48774
2010-05-12 03:27:34 +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
c4e6db910d
enable that stuff - shouldnt hurt to be explicit.
...
SVN revision: 48383
2010-04-28 05:14:02 +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
f2b1114521
actually... do canvas free.
...
SVN revision: 47362
2010-03-22 05:33:46 +00:00
Carsten Haitzler
8c14ff2e76
hmmmm oops. re-enable bgra support.
...
SVN revision: 46577
2010-02-27 10:34:19 +00:00
Carsten Haitzler
6559804d43
found booboo on non-bgra extended gl-es.
...
SVN revision: 46576
2010-02-27 10:31:17 +00:00
Vincent Torri
298da926f1
check OpenGL version:
...
* OpenGL ES : 2.0
* OpenGL desktop : >= 1.4
If OpenGL ES 3.* is out, this code must be fixed
If there are problems with the minimal version on desktop,
we will have to increase the minimal version.
Question: should we check GLSL version on desktop ?
SVN revision: 46309
2010-02-19 14:33:49 +00:00
Carsten Haitzler
0fecb5ede7
and fix some over-zealous optimising.
...
SVN revision: 46269
2010-02-18 08:51:00 +00:00
Carsten Haitzler
136316d6ce
more shaders... for more speeeeeeds!
...
SVN revision: 46268
2010-02-18 08:36:07 +00:00
Carsten Haitzler
25f169fc21
dont need these with shaders.
...
SVN revision: 46267
2010-02-18 07:21:17 +00:00
Carsten Haitzler
c7695857f7
lots more shaders!
...
SVN revision: 46266
2010-02-18 07:10:28 +00:00
Carsten Haitzler
ac2f03b865
fix small potnential bug in map rendering.
...
SVN revision: 46242
2010-02-17 08:05:19 +00:00
Carsten Haitzler
fcf092e6d7
get ansio ext + max val.
...
SVN revision: 46240
2010-02-17 07:26:44 +00:00
Carsten Haitzler
6b42415c3b
fix err output.
...
SVN revision: 46239
2010-02-17 06:27:22 +00:00
Carsten Haitzler
6de08e07fa
fix maps with alpha.. sorry about that!
...
SVN revision: 46235
2010-02-17 04:48:53 +00:00
Carsten Haitzler
c474d55267
oops fix erro check.
...
SVN revision: 46234
2010-02-17 04:30:58 +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
b933154d21
add checks for vendor etc. too
...
SVN revision: 46176
2010-02-15 04:12:50 +00:00
Carsten Haitzler
353f4bb6ec
reduce binds when things get clipped and split.
...
SVN revision: 45928
2010-02-06 08:38:26 +00:00
Carsten Haitzler
2087f9468c
fix! broek egl compositing. fixed now.
...
SVN revision: 45792
2010-02-02 05:30:19 +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
xcomputerman
bf69a60f64
Fix gl_sdl for WebOS -- need to check SDL_RESIZABLE because calling SetVideoMode() kills the GL context
...
SVN revision: 45730
2010-01-30 08:11:51 +00:00
Carsten Haitzler
c12557d8f0
add pre/post swap callbacks. need them! :(
...
SVN revision: 45514
2010-01-24 11:01:20 +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
Carsten Haitzler
18c8ea2e96
fix native surface stuff - rounding dimensions up was not smart! :)
...
SVN revision: 45484
2010-01-23 13:49:54 +00:00
Carsten Haitzler
dbf33fc10a
some protection against playing with native surfaces (setting image size
...
doent re-alloc for example)
SVN revision: 45385
2010-01-21 09:42:26 +00:00
Carsten Haitzler
ad2b33c0bb
native surface support lives - for GL (GLX) only. it works - or seemingly
...
does in my test casses. doesn't work for compositing though! don't know why.
SVN revision: 45383
2010-01-21 08:44:11 +00:00
Carsten Haitzler
efec562314
handle images that have alpha vhannel but are arbage (in gl) eg 0 or
...
something other than 0xff
SVN revision: 45350
2010-01-20 03:59:32 +00:00
Carsten Haitzler
89bbb2c031
for now - disable scissors.. seems to b0rk thungs
...
SVN revision: 44838
2010-01-01 07:51:18 +00:00
Carsten Haitzler
fa435074e0
1. line support in gl engine - as if anyone uses lines
...
2. fix clipping for gl maps - was setting them when it shouldnt.
SVN revision: 44782
2009-12-30 11:35:40 +00:00
Cedric BAIL
a27c701f27
* evas: Remove lot's of warning.
...
SVN revision: 44629
2009-12-21 15:52:12 +00:00