Commit Graph

110 Commits

Author SHA1 Message Date
Brett Nash 9eaea94252 Evas: Filters:
More work, proudly supported by Samsung.  Filters!

So now you can apply a whole host of cheesy visual effects to objects at
runtime.  This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].

Please direct bugs to me nash@nash.id.au.

[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.

SVN revision: 58726
2011-04-19 05:47:56 +00:00
Carsten Haitzler 27609d0572 no need to get this.
SVN revision: 58574
2011-04-12 00:06:57 +00:00
Carsten Haitzler fe933e7b34 and now REALLY fix that viewport bug...
SVN revision: 58386
2011-04-06 10:11:01 +00:00
Carsten Haitzler 70bc3602c7 fix scossor clip on 90 degree rots.
SVN revision: 58381
2011-04-06 07:32:33 +00:00
Carsten Haitzler 5c994667c2 fixme notice, fix make current context to force if it was changed.
SVN revision: 58375
2011-04-06 05:56:53 +00:00
Brett Nash b96d227334 Masking: Push a bit more arbitrary clipping
This seems to have got lost in my big messup before.  This pushes enough of
mask/arbitrary clip to be somewhat useful.  I need to push a little more soon
for it to be 100% happy, but this is useful level.

SVN revision: 58373
2011-04-06 05:38:38 +00:00
Carsten Haitzler 8859f850fb API add: From <dunamis.park@samsung.com> - sungwoo
start of evas gl api (with compile warning fixes).



SVN revision: 58318
2011-04-04 10:23:12 +00:00
Carsten Haitzler 6b4d91830e wer can release compiler data if we want when done with glsl compiling.
SVN revision: 58172
2011-03-29 09:10:57 +00:00
Cedric BAIL 76a0da7a1c evas: rename Evas_GL_Context to Evas_Engine_GL_Context
patch by Sung W. Park <sungwoo@gmail.com>


SVN revision: 57803
2011-03-16 17:32:49 +00:00
Sung W. Park 37c3f59341 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] Evas - OpenGL and Image Object -
evas_object_image_native_surface_set()

Fix bug with yinvert handling of native surfaces.



SVN revision: 57658
2011-03-10 08:23:39 +00:00
Mike Blumenkrantz 63638f7393 _evas_gl_common_viewport_set segv fix: ROUND 2!
SVN revision: 57561
2011-03-08 01:00:21 +00:00
Carsten Haitzler aaad5f7319 fix most of nash's mess. 2 added aborts that nash has to fix.
SVN revision: 56891
2011-02-10 06:52:53 +00:00
Carsten Haitzler 1b89a7ac5f change map points to use double and floats to reduce perspective
correction adjustment seams in gl engine. almost all gone.



SVN revision: 56180
2011-01-16 07:49:49 +00:00
Carsten Haitzler fdc17c8c84 oooh thank you valgrind! found some bad mem access stuff in the gl
engine on shutdown. was freeing the wring kind of thing in the first
place.. and even then it should be more robust, so fix gl texture
robustness and this bug. can cause on-exit crashes if not fixed.



SVN revision: 56068
2011-01-13 10:41:08 +00:00
Carsten Haitzler 87a0e6575d and avoid some work if there is nothing to flush at all.
SVN revision: 55978
2011-01-07 10:22:22 +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 6abe0b3a94 fix flipped object texture if map enabled AND object happens to be
exactly viewport size.



SVN revision: 52940
2010-10-01 06:22:31 +00:00
Carsten Haitzler 5b45763676 aaaah and map in map clip and more bug fixes...
SVN revision: 52939
2010-10-01 04:46:04 +00:00
Carsten Haitzler 94bfb8fbe6 map in map render bug with gl - fix.
SVN revision: 52936
2010-10-01 03:40:12 +00:00
Carsten Haitzler 5938bb97f7 found the gl engine flashing white bug with laucnher 3 map test! aaah
gl state bug/assumption. reset state when moving from 1 surface target
to another and then we are all happy. also fix lip geometry issue in
gl when rendering to non-default surf - related.



SVN revision: 52933
2010-09-30 23:20:26 +00:00
Carsten Haitzler 011b2ce822 brutally evil... internally.. but it works. map perspective correct
now in gl engine. hooray for that. one complaint less.



SVN revision: 52566
2010-09-22 06:52:28 +00:00
Carsten Haitzler 649509a9c2 warning--
SVN revision: 52438
2010-09-19 01:33:51 +00:00
Carsten Haitzler 6f4d152810 fix actually supporting clip for maps in gl.
SVN revision: 52415
2010-09-18 14:23:20 +00:00
Carsten Haitzler 47fbbe6196 well dldrawarrays doesnthave a limit according to the gl spec - but
drivers may implement one. as such add a check. but check and fix
seems to fail for some rendering. wonder why?



SVN revision: 51923
2010-09-06 13:36:32 +00:00
Carsten Haitzler c67a9ac86a and fix gl engine to actually do map for yuv images! :) fix fix.
SVN revision: 51893
2010-09-05 02:58:30 +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 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