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
afe65d7c0a
add ability to dump engine coontents (if engine supports it). this means
...
unload images it has loaded from disk, unload fonts, and more. dump dump dump!
SVN revision: 47947
2010-04-12 08:23:53 +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
68db2638fa
fix rect clip bug in gl engine - oops.
...
SVN revision: 47370
2010-03-22 09:55:50 +00:00
Carsten Haitzler
f2b1114521
actually... do canvas free.
...
SVN revision: 47362
2010-03-22 05:33:46 +00:00
Cedric BAIL
a859e60140
* evas: Make evas_object_move on Evas_Object_Polygon work.
...
TODO: Make evas_object_resize work also.
SVN revision: 47291
2010-03-16 13:23:37 +00:00
Carsten Haitzler
bfd8514063
fix calloc with negative values - missing size set initially!
...
SVN revision: 46701
2010-03-01 15:51:22 +00:00
Carsten Haitzler
3b71758aea
fix some more possible bad callocs
...
SVN revision: 46699
2010-03-01 15:03:13 +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
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
Carsten Haitzler
9dcca83a08
fix alpha set/unset on image obj in gl engine.
...
SVN revision: 46344
2010-02-21 15:49:44 +00:00
Carsten Haitzler
e1f2ad1f76
and merge some delcaration lines for compactness
...
SVN revision: 46328
2010-02-20 04:49:03 +00:00
Carsten Haitzler
c26d5bc2bc
simplify shaders to have fewer tmp vars. in case of dumb shader compilers.
...
SVN revision: 46327
2010-02-20 04:37:22 +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
1244978ecd
disable error gets - minor impact to keep getting errors - but stil an impact
...
if we dont need to know what they are.
SVN revision: 46270
2010-02-18 08:54:24 +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
466fb263ac
clean up gl text-from-pixmap a bit
...
SVN revision: 45796
2010-02-02 07:00:10 +00:00
Carsten Haitzler
2087f9468c
fix! broek egl compositing. fixed now.
...
SVN revision: 45792
2010-02-02 05:30:19 +00:00
xcomputerman
34d7cdb3fc
Fix broken build for non-GLES gl_sdl
...
SVN revision: 45763
2010-02-01 04:55:03 +00:00
Carsten Haitzler
37cd2fff83
make that an ifdef for gles
...
SVN revision: 45762
2010-02-01 04:40:48 +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
ef3b81b395
some safety with freeing texture stuff
...
SVN revision: 45701
2010-01-29 10:53:53 +00:00
xcomputerman
a61baea31e
Various fixes to enable building SDL/OpenGLES
...
SVN revision: 45692
2010-01-29 06:12:35 +00:00
Carsten Haitzler
36270ab981
fix rgb textures on fglrx again
...
SVN revision: 45628
2010-01-27 15:29:24 +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
31b9220a3e
fix texture size alloc for native textures.
...
SVN revision: 45483
2010-01-23 13:21:04 +00:00
Carsten Haitzler
abb6c09cd6
go back to rgba
...
SVN revision: 45437
2010-01-22 10:52:53 +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
250496b0ea
hunting bug in fglrx libs - make comment!
...
SVN revision: 45330
2010-01-19 14:29:20 +00:00
Carsten Haitzler
89bbb2c031
for now - disable scissors.. seems to b0rk thungs
...
SVN revision: 44838
2010-01-01 07:51:18 +00:00