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
Carsten Haitzler
9ab9065669
clip maps in gl enigne.
...
SVN revision: 44424
2009-12-13 14:28:07 +00:00
Carsten Haitzler
a6dea7be9b
find gl symbols runtime - some gl's support the feature but havent
...
standardised symbols! (bad gl! bad!)
SVN revision: 43857
2009-11-21 10:51:51 +00:00
Carsten Haitzler
39913889b3
fix gles defs
...
SVN revision: 43660
2009-11-13 11:30:28 +00:00
Carsten Haitzler
267c9bce6c
on paper.. go gles2 too... that should work.. in theory. need to test.
...
SVN revision: 43659
2009-11-13 08:43:50 +00:00
Carsten Haitzler
fcc8e2ec47
fix color stuff.. next.. need to fix z stuff.
...
SVN revision: 43658
2009-11-13 08:38:12 +00:00
Carsten Haitzler
b5d5817a88
fix some valgrind issues
...
SVN revision: 43657
2009-11-13 08:28:47 +00:00
Carsten Haitzler
7999691b9f
and now complex stuff works..... woot!
...
SVN revision: 43656
2009-11-13 08:19:13 +00:00
Carsten Haitzler
fccd2db126
fix disabling of blendipoos!
...
SVN revision: 43655
2009-11-13 07:30:03 +00:00
Carsten Haitzler
e3fcdd8b48
render-to-texture now is used for evas maps... but only simple cases seem to
...
work. (in ello) elementary stuff seems... less happy. will work on it! also
havent done the gles bits. just desktop gl (first port of call for
doing/testing). the #ifdefs are ther waiting with fixme's
SVN revision: 43653
2009-11-13 07:22:31 +00:00
Carsten Haitzler
6e22b36451
step 1. some map support! images only right now. next. render-to-texture.
...
invasive change right now.
SVN revision: 43611
2009-11-11 11:39:25 +00:00
Carsten Haitzler
3fa1906514
better text perf - less geometry data for complex text drawing.
...
simpler yuv with matrix.
SVN revision: 43487
2009-11-06 11:32:23 +00:00
Carsten Haitzler
7526d0751e
add a new npot extn string
...
SVN revision: 43430
2009-11-03 10:33:37 +00:00
Carsten Haitzler
6f4b45e296
re-enable yuv shader for 6410.
...
SVN revision: 43195
2009-10-22 08:55:07 +00:00
Carsten Haitzler
c1b3587659
enable npot textures
...
SVN revision: 43194
2009-10-22 08:53:25 +00:00
Carsten Haitzler
0b3d755ce9
more work putting shared bits in shared. but context seems to be a big problem.
...
:(
SVN revision: 43048
2009-10-13 09:40:39 +00:00
Carsten Haitzler
022dc0cb6e
disable yuv for 6410 - seems theres a bug., use img shader instead just as a
...
placeholder.
SVN revision: 43047
2009-10-13 03:12:32 +00:00
Carsten Haitzler
6b1d31e5bc
free up stuff on context free. still need to do programs
...
SVN revision: 43046
2009-10-13 01:44:46 +00:00
Carsten Haitzler
e31d7799ee
set tex min/mag filter always
...
SVN revision: 43044
2009-10-13 00:37:16 +00:00
Carsten Haitzler
c0c9f60751
more work on the gles + gl engine.
...
SVN revision: 43036
2009-10-12 13:19:55 +00:00
Carsten Haitzler
a60f577446
some infra for starting to handle dest-alpha (rgba) windows in gl engine.
...
not sure shaped windows will ever be sanely possible.
SVN revision: 43015
2009-10-11 06:59:47 +00:00
Carsten Haitzler
1046b6339a
fix yuv shader. right now.
...
SVN revision: 43001
2009-10-10 14:48:34 +00:00
Carsten Haitzler
43420a5df3
yuv support is back now.
...
SVN revision: 43000
2009-10-10 13:24:15 +00:00
Carsten Haitzler
37b66e806b
new gl engine. no one uses it anyway. not 100% complete, but much better than
...
the old. and it ALSO does GLES2.0 as well asn GL.
SVN revision: 42982
2009-10-09 12:10:27 +00:00
Carsten Haitzler
7b370535a0
extra fragment shader prog to 0 call. remove. useless.
...
SVN revision: 38820
2009-01-27 23:57:21 +00:00
moom
8a05a8d250
* [GL-engine] Do software YUV-conversion if GLSL is not supported. I
...
can't test it on a GLSL card, so I hope it didn't break anything. If
something is broken, feel free to revert! (but it would probably just be
related to the way it detects GLSL support at l.78 of evas_gl_context.c)
SVN revision: 33242
2007-12-25 11:12:39 +00:00
Carsten Haitzler
a730b4be5d
1. gustavo';s fuzzy rect implementation for updates. fixed so del's work,
...
tuned for best performance on my core2 duo desktop - for now. will check
more. also make the yuv colorspace code be a bit more robust and fix leak in
gl engine with shaders.
SVN revision: 30192
2007-06-02 15:30:59 +00:00
Carsten Haitzler
fc6ccd2192
and use pixelstorei to do the row skips :)
...
SVN revision: 27714
2007-01-02 02:43:11 +00:00
Carsten Haitzler
b51bdcbc1e
colorspace work mostly. not complete.
...
SVN revision: 27630
2006-12-29 03:32:46 +00:00
Carsten Haitzler
9e27a0d98c
fix color modulation for gl surfaces. also fix segvs tat can happen. xrender
...
engine is behind now though. can't do yuv surfaces (yet)
SVN revision: 27518
2006-12-19 14:12:40 +00:00
Carsten Haitzler
eb7759cf39
fragment shader finally actually works. it's unclean and fixme's for seeding
...
the pixel data - but it works!
SVN revision: 27509
2006-12-18 14:55:47 +00:00
Carsten Haitzler
f83220c857
not complete yet - actually i need help with the fragment shader.
...
in evas_gl_texture.c i have a frag shader, and it tries to use a set of 3
textures that act as the yuv planes, BUT the u and v textures (Utex and Vtex)
are simply getting values from the Ytex - regardless of what i try. grrr.
what's up with that?
SVN revision: 27495
2006-12-17 15:48:52 +00:00
Carsten Haitzler
6635bab903
bring gl engine vaguely back up to snuff.
...
SVN revision: 27363
2006-12-06 14:58:00 +00:00
Carsten Haitzler
8c93e825a8
same as previous commit.
...
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler
f435375b19
initial import fo loadable engine modules for evas - from jorge zappie :)
...
SVN revision: 19775
2006-01-14 12:13:38 +00:00