Commit Graph

939 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
Brett Nash 36370ae91e Evas: Filter: Add the shaders - nice and safe change here.
SVN revision: 58725
2011-04-19 05:47:51 +00:00
Tom Hacohen 1dac813ace Evas font-engine: Fix the fallback fribidi shaper.
Just keep the shaped string in the string object if fribidi is used
without harfbuzz.

SVN revision: 58620
2011-04-13 08:37:01 +00:00
Tom Hacohen 682c7dcdc5 Evas font-engine: Fixed *props_info_create to accept a const string.
We don't want to have to alloc just for the engine. We want to be able to
pass our own const copy.

SVN revision: 58618
2011-04-13 08:36:54 +00:00
Tom Hacohen ad3b167e88 Evas font-engine: Added support for runtime-italic/bold.
Now when setting :style=Oblique/Italic/Cursiva/Bold and etc and there's
no matching font found in the system, adjustments will be done on
runtime to support that feature.

Patch by Myoungwoon Roy Kim (roy_kim).

SVN revision: 58584
2011-04-12 09:05:47 +00:00
Carsten Haitzler 27609d0572 no need to get this.
SVN revision: 58574
2011-04-12 00:06:57 +00:00
Tom Hacohen a8890cff0d Evas sw8: Inherit most of the engine from sw_generic.
SVN revision: 58543
2011-04-11 10:18:13 +00:00
Tom Hacohen 1527652986 Evas sw16: Inherit most of the engine from sw_generic.
SVN revision: 58542
2011-04-11 10:18:10 +00:00
Carsten Haitzler 6b3e820f35 gles warning--
SVN revision: 58514
2011-04-09 04:13:21 +00:00
Tom Hacohen 5d4f6d3cbe Evas font-engine: Remove most of the passing of strings.
We have string objects, we don't really need them. Draw still uses strings
for metric cache, but that will be removed soon as well.

SVN revision: 58460
2011-04-07 16:25:56 +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 4a982fb26e and handle other make current to "no context" in case.
SVN revision: 58385
2011-04-06 09:40:13 +00:00
Carsten Haitzler dcdd502fd4 fix gles engine bug with > 1 window.. missing viewport transform
fixups on deletion of a window!



SVN revision: 58384
2011-04-06 09:38:39 +00:00
Carsten Haitzler 70bc3602c7 fix scossor clip on 90 degree rots.
SVN revision: 58381
2011-04-06 07:32:33 +00:00
Brett Nash cc34e132be Evas: Mask: Add shader init code.
SVN revision: 58377
2011-04-06 06:15:59 +00:00
Brett Nash f915ba4ef4 Evas: Mask: Fix undeclared warnings.
Also comment out a function.

SVN revision: 58376
2011-04-06 06:10:31 +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
Cedric BAIL b0e45e04bc evas: and now, the last one to die today, Evas Xrender backend.
SVN revision: 58364
2011-04-05 14:16:18 +00:00
Cedric BAIL 1b3b01cb4f evas: and now is the death of Qtopia engine.
SVN revision: 58362
2011-04-05 13:45:54 +00:00
Cedric BAIL 30f906aac9 evas: one more death: gl_glew !
SVN revision: 58360
2011-04-05 13:19:20 +00:00
Cedric BAIL cbad6075d7 evas: remove Evas Cairo backend.
SVN revision: 58359
2011-04-05 13:00:23 +00:00
Cedric BAIL ad5a2f59c6 evas: remove Evas Quartz backend.
SVN revision: 58358
2011-04-05 12:25:25 +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
Tom Hacohen 533ef3530e Evas font-engine: Added right_inset_get.
This lets us get the difference between the width and the advance
of a string pretty fast, which means we only need to calculate either
advance or width, because we can now calculate one from the other.

SVN revision: 58181
2011-03-29 13:52:22 +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
Carsten Haitzler f2bf8bbfd9 ok. multi-screen (multihead) support with simultaneous display on 2
screens with the same gl context is more pain than imagined. revert
attempt to handle it. just use xinerama/twinview if u want the
compositor to not suck.



SVN revision: 58050
2011-03-24 01:45:12 +00:00
Gustavo Sverzut Barbieri 7502b7fe0b Don't create useless modules dir if we're not going to install modules.
SVN revision: 58014
2011-03-23 03:33:55 +00:00
Gustavo Sverzut Barbieri 9f0b807db4 Fix build with static modules, thanks Gentoo ;-)
I don't know if this is useful to backport to stable branch, if you
think so please do it as I don't even have that checkout... svn is
annoying :-P



SVN revision: 58012
2011-03-23 02:45:19 +00:00
Carsten Haitzler 3f92c6056c another vendor/renderer example.
SVN revision: 57926
2011-03-21 02:09:09 +00:00
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
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
Carsten Haitzler 36a0d2587b and now with some testing... actually fix the swapintervals fun :)
SVN revision: 57596
2011-03-08 15:56:39 +00:00
Carsten Haitzler e4b877f45d 2 different sync apis with differetn ext's. fix.
SVN revision: 57569
2011-03-08 11:20:49 +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 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 97f30a8b6d missing semicolon. you never cease to amaze me, edev.
SVN revision: 57004
2011-02-14 05:21:17 +00:00
Carsten Haitzler d0ac8d8601 fix up gl side image cache to cleanly ref/deref and shadow image
cache. yes - changelog - this is just fixing up whats already
changelogged.



SVN revision: 56949
2011-02-11 06:23:10 +00:00
Tom Hacohen 6e68ec8b42 Evas font-engine: Fixed inset to use the string objects instead of strings.
SVN revision: 56895
2011-02-10 09:03:14 +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 1e58115de6 make font cache flush 0 out font cache size first
SVN revision: 56890
2011-02-10 06:12:09 +00:00
Christopher Michael 0bee0601e1 Evas: Fixed a few 'implicit declaration' warnings.
Add missing evas_object_image_source functions.
      (was giving nasty 'implicit declarations' prior to this change)
    Add UNUSED to evas_common_map_rgba for npoints variable
      (wasn't used in that function)
    Fixed a little formatting in evas_object_main.c
    Add UNUSED to the eng_image_map_draw function of the gl_x11 engine.
      (npoints variable not used there)
    Fixed a little formatting in gl_x11 engine.



SVN revision: 56869
2011-02-09 18:39:54 +00:00
Brett Nash 8b90ca9676 Hardcode directfb and sdl to use 4 point maps.
SVN revision: 56828
2011-02-09 01:07:52 +00:00
Carsten Haitzler c743e4f56c methinks nash you missed doing the pipe pipeline for map changes.
SVN revision: 56805
2011-02-08 12:10:58 +00:00
Carsten Haitzler 7881c0b849 improvement to gl engine wrt. caching.
SVN revision: 56801
2011-02-08 11:41:38 +00:00
Brett Nash aa59164001 Support for Proxy Objects (and others)
Proxy objects allow you to use another image as the source of an image.
Essentially allowing the same object to be rendered multiple times.  One
object (the source) is the original, each additional 'copy' is an image with
evas_object_image_source_set.

This is complete.

Also add partially working arbitrary maps, and arbitrary clipping.
Unfortunately both have some issues yet to be resolved (waiting on the next
feature to get merged together).

SVN revision: 56777
2011-02-06 23:52:17 +00:00
Tom Hacohen 94b5a536f0 Evas font/textblock/text: Started using string objects instead of
strings in most of the font engine (everywhere except draw).
Haven't removed the paramteres yet, but did mark them as UNUSED.
Removing them will be part of a future change.
Removed run-time OT toggling support, OT is now fast, no need for that.
Renamed all of the intl_props->text_props (because it really changed purpose now)
Fixed spliting/merging of text_props to be fast and good, not hacky and
complex like before.
Note to reviewers: Most of the changes are indentation related, sorry
for the mess, but I had to do it all in one commit, splitting was not
trivial (at least not in retrospect). The important parts are
evas_font_default_walk.x and text_utils.c. query and draw were just
adjusted a bit and the rest were only adjusted to conform to renaming or
were renaming on their own.

SVN revision: 56629
2011-02-01 12:17:52 +00:00
Tom Hacohen cdb54ed92d Revert "Snapshot." - didn't mean to commit this :(
This reverts commit 521198281e4ac616fee48d27aae9e6983d5950c3.

SVN revision: 56556
2011-01-30 13:58:06 +00:00
Tom Hacohen d6feccdebb Snapshot.
SVN revision: 56552
2011-01-30 13:55:04 +00:00
Tom Hacohen ff18fa8399 Evas: Multiple changes that all relate to the Harfbuzz integration:
1. Started feeding Evas_Text_Props to the font engine instead of Evas_BiDi_Props because no we have more general text properties as well - i.e, OpenType stuff.
2. Full Harfbuzz integration which gets compiled in by default (if harfbuzz is present) but only works if the environment variable EVAS_USE_OT is set to 1 (because OT is way slower than regular text rendering).
3. Cleaned the font querying/drawing functions.
4. Added font_shaped function to all of the engines, which by default calls teh harfbuzz stuff (default on linux that is).
5. Moved some source files around a bit to make more sense.

SVN revision: 56455
2011-01-30 10:36:39 +00:00
Tom Hacohen 952ba44f0b Evas font engine: Added evas_common_font_query_pen_coords.
SVN revision: 56432
2011-01-30 10:34:07 +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
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 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
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 13df30ab2b i read the other day that glgeterror... causes driverstalls.. at least
in some drivers/architectures... so this may slow things down. disable.



SVN revision: 55976
2011-01-07 10:04:41 +00:00
Carsten Haitzler efc042f2e7 missing support for swapinterval api in glx.
SVN revision: 55754
2010-12-26 10:15:28 +00:00
Vincent Torri 2e0a136385 warnings--
SVN revision: 55496
2010-12-11 13:17:26 +00:00
Carsten Haitzler 59b94cec34 and dont seg there.
SVN revision: 55319
2010-12-06 09:07:56 +00:00
Carsten Haitzler 640a4030f3 change native api to allow for other types of native data like texture
id's, fbo's etc. too - at least it's versioned now.



SVN revision: 55315
2010-12-06 07:09:51 +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
Cedric BAIL 6de3f7e778 * evas: fix static build of GL SDL engine.
SVN revision: 54589
2010-11-16 13:09:14 +00:00
Cedric BAIL bc9e164c12 * evas: fix frame building.
SVN revision: 54584
2010-11-16 10:52:10 +00:00
Cedric BAIL 83b8ee3cd8 * evas: provide alternative schema for finding framebuffer.
Patch by Eduardo Felipe <eduardofelipe87@gmail.com>


SVN revision: 54472
2010-11-11 18:48:50 +00:00
Vincent Torri 8d05590677 set log domain to -1 after unregistering it
SVN revision: 54222
2010-11-06 09:42:24 +00:00
Carsten Haitzler 29a707fdf8 eek - case of stride value being wrong! fix!
SVN revision: 54087
2010-11-02 08:18:16 +00:00
Carsten Haitzler cb7268cbac formatting.
SVN revision: 53908
2010-10-27 00:03:49 +00:00
Carsten Haitzler 3a568d6fd4 fmting.
SVN revision: 53887
2010-10-26 07:00:26 +00:00
Carsten Haitzler 3a9d3268d2 fix warnings in async render code.. and well.. warn about it - it
crashes for me in expedite with 4 cores on x86 at random points. looks
like it's bitrotting. though it was relatively tentative to begin with.



SVN revision: 53856
2010-10-25 11:27:17 +00:00
Carsten Haitzler 2a9c976ec0 only set swap interval if it changes for egl - and dont waitgl if swap
native is available.



SVN revision: 53849
2010-10-25 07:22:43 +00:00
Carsten Haitzler 57b70bdb14 put in special known "save native" case to avoid needing the env var.
SVN revision: 53844
2010-10-25 01:57:48 +00:00
Carsten Haitzler 5bf2fbcc63 make sure they are extern fn pointers
SVN revision: 53831
2010-10-24 13:30:27 +00:00
Carsten Haitzler d3a897bb54 allow evas gl engine skipping wait native if known to be safe.
SVN revision: 53760
2010-10-22 08:17:37 +00:00
xcomputerman b59fa21d74 Better.
SVN revision: 53584
2010-10-18 23:02:02 +00:00
xcomputerman 6c2545adc7 Fix compile for gl_sdl engine, now builds again
SVN revision: 53579
2010-10-18 19:17:59 +00:00
Carsten Haitzler 6bbe56fefc fix for dyn image size change.
SVN revision: 53180
2010-10-08 05:11:32 +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
Eduardo de Barros Lima f61a1cb5cb Evas: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly


SVN revision: 53159
2010-10-07 19:52:47 +00:00
Carsten Haitzler 21a7dde012 dynamic tex ref wrong. fix.
SVN revision: 53027
2010-10-04 11:17:11 +00:00
Howell Tam 307190c594 From: Howell Tam <howell.tam@fluffyspider.com>
Subject: Evas evas_gl_shader.c patch

Patch for evas_gl_shader.c, need to check shader compile
errors too, not only program linking errors.

Not that it's very useful now since all Evas' shaders are in
good shape already, but it was useful when we're mucking around with
things.

And also to make Robi happy that there are some FST
contributions to E ;) And probably more to come...



SVN revision: 52941
2010-10-01 06:33:17 +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 0e560f9db2 and make values int so we can have "-1" :)
SVN revision: 52934
2010-09-30 23:23:51 +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 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 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
Lucas De Marchi 71cba7da35 Fix typos
"he->the" where appropriate



SVN revision: 52493
2010-09-20 17:09:13 +00:00
Carsten Haitzler 4b73f639d2 fix booboo
SVN revision: 52482
2010-09-20 01:32:05 +00:00
Gustavo Sverzut Barbieri 200fd80f4e warnings-- on 16bpp and 8bpp
SVN revision: 52472
2010-09-19 20:11:42 +00:00
Carsten Haitzler c54bd4052c warning--
SVN revision: 52448
2010-09-19 02:33:19 +00:00
Carsten Haitzler 2f08e231e5 warning--
SVN revision: 52445
2010-09-19 02:10:09 +00:00
Carsten Haitzler 4faa8c38ca warning--
SVN revision: 52444
2010-09-19 02:04:12 +00:00
Carsten Haitzler 649509a9c2 warning--
SVN revision: 52438
2010-09-19 01:33:51 +00:00
Carsten Haitzler ccb4dbd91b fix gl stride
SVN revision: 52432
2010-09-19 00:28:58 +00:00
Vincent Torri 89038e3b0c free the main region (leak--)
SVN revision: 52429
2010-09-18 23:17:27 +00:00
Gustavo Sverzut Barbieri d89ebf341b cleanup: internal image information is now unsigned.
There is no meaning in negative values for image loading, marking as
dirty or size, so image internals (cache, entry) were changed to
unsigned, reducing possible errors, particularly with overflow.

engines were converted to the new way, but any 3rd party modules will
still work as they should be using values >= 0 only anyway.

please review.

new cases introduced by "comparison between signed and unsigned" were
fixed in the modules that used cache_entry or Image_Entry dimensions.



SVN revision: 52428
2010-09-18 23:16:25 +00:00
Gustavo Sverzut Barbieri 5dd0eeb7ab cleanup: fb uses unsigned to match linux/fb.h
this removes warnings and keep consistency between system and evas
value signs.



SVN revision: 52427
2010-09-18 23:11:01 +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
Gustavo Sverzut Barbieri e37c1c7a0a cleanup: fix some "unused" errors from -Wextra.
As we're heading for a release we better remove as much errors as
possible and as the first step I'm removing warnings due unused
parameters, variables and functions. These tend to pollute real errors
spotted by -Wall and clang/llvm.

This does not fixes all, just the clear that could be set to
__UNUSED__, particularly to do (and I'd like some help from the
authors):

 * src/lib/engines/common/evas_font_{draw,query}.c (tasn):
   intl_props is just used while doing BIDI, but also used in other
   #ifdef blocks :-/

 * evas_map_* (raster):
   huge amount of warnings, code is quite confusing and thus I'm not
   touching it. I have no idea whenever the commented blocks or extra
   parameters are intended to be used or no.

 * src/modules/engines/fbevas_fb_main.c (raster?):
   is fb_setvt() to be used? If not do you mind removing it?

 * src/modules/engines/gl_{common,x11} (raster):
   huge amount of warnings, code is quite nested and full of #ifdefs
   that does not help to give a clear picture of what's going on.

 * src/bin/evas_cserve_main.c (raster):
   I could have ignored most of the errors, but is the code correct? I
   mean, there is no unload of images being applied. If you confirm
   none of those warnings are harmful I can flag them as unused.

 * src/lib/engines/common_8 (dottedmag):
   lots of unused functions that were acquired from common_16, they
   are unused and if they will not, then they should be removed.



SVN revision: 52421
2010-09-18 19:17:41 +00:00
Gustavo Sverzut Barbieri a22dac6ea3 Add missing evas_common prefix, avoid symbol redefinition.
soft16 was written as a single engine, thus it was all static/global
and had no EAPI in its functions, but then it was moved into
"src/lib/common_16" and got that, but got no prefix! That could cause
clash with other libraries, so adding such prefix.

soft8 was a copy of 16, thus had the same problems.

the engines were all based on software_x11, thus they defined the same
methods to deal with Xlib, however if you link them all in the same
binary (--enable-MODULE=static), the symbol would be redefined. Rename
symbols according to their module.



SVN revision: 52420
2010-09-18 17:43:13 +00:00
Vincent Torri d128fb54a0 remove debug messages
SVN revision: 52419
2010-09-18 17:31:00 +00:00
Vincent Torri 9acfb01811 Fix shaped windows on Windows. It uses regions.
Advantages:
 * it is the simplest method to implement

Disadvantages:
 * it's slow
 * it does not take into account transparency
 * it does not work with the composite manager (Windows >= Vista)

Layered windows should be used (all the disadvantaged above are
fixed), but i've never succeeded in making them work.

SVN revision: 52416
2010-09-18 17:19:11 +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 8df657a51a be less agressive performance-wise but clear up some gl sync issues
that have been lurking.



SVN revision: 52414
2010-09-18 13:49:56 +00:00
Lucas De Marchi 85815e306c Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
achive->achieve
beacuse->because
caluclate->calculate
cant->can't
carefull->careful
convertion->conversion
dependancy->dependency
dependant->dependent
doesnt->doesn't
existant->existent
extention->extension
fucntion->function
impliment->implement
inital->initial
lenght->length
occured->occurred
occuring->occurring
onyl->only
positon->position
possibilty->possibility
postion->position
proccessing->processing
proccess->process
propogate->propagate
recieve->receive
sucessive->successive
teh->the
ther->there
throught->through
thsi->this
wasnt->wasn't
whcih->which
wheras->whereas




SVN revision: 51965
2010-09-08 03:51:24 +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
Vincent Torri 4369e0f790 fix some declarations
SVN revision: 51763
2010-08-30 19:24:09 +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 2fdf9147c4 thanks jerome for picking up on header not being installed
SVN revision: 51738
2010-08-30 03:46:18 +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 4a5adf358d tracing/info to check texture allocation/usage. no leaks that i see.
dump works perfectly. yay!



SVN revision: 51669
2010-08-27 02:02:38 +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 7e896b081a and fail init of gl cleanly again... :)
SVN revision: 51644
2010-08-25 13:41:03 +00:00
Carsten Haitzler 86eb3374d4 remove segv in ghl engine with native surfaces if data is null!
SVN revision: 51635
2010-08-25 09:29:56 +00:00
Eduardo Felipe 7c94436ffc Fix header include
The current way of including directfb.h makes it hard for people with multiple
versions of DirectFB installed.

This is the correct way to include that header, and it's the way
ecore_directfb does it.

Patch by: Eduardo Felipe <eduardofelipe87@gmail.com>




SVN revision: 51610
2010-08-24 11:47:41 +00:00
Carsten Haitzler 8601258d3f leak--
SVN revision: 51555
2010-08-22 22:55:58 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +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
Carsten Haitzler fecdc23420 pass distcheck -> cedric! u br0ksed it!
SVN revision: 51458
2010-08-20 02:40:45 +00:00
Carsten Haitzler a0d8db000e and make dynamic hint actually work when we have zero-copy texture
support. fully ok now for argb8888.



SVN revision: 51380
2010-08-19 05:18:17 +00:00
Carsten Haitzler c398484812 fix stride and hint setting so any order works.
SVN revision: 51379
2010-08-19 05:03:37 +00:00
Carsten Haitzler 83b73046ed fix 2 unimplemented bits in dynamic texture stuff.
SVN revision: 51378
2010-08-19 03:30:47 +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
Christopher Michael 5d8d19dfeb Comment out unused variable (commented out instead of removed as I am
not sure if it has a future use or not).



SVN revision: 51287
2010-08-18 16:03:22 +00:00
Carsten Haitzler 5a35d48384 fix direct egl img rgba ordering.
SVN revision: 51273
2010-08-18 09:53:14 +00:00
Cedric BAIL 05e8154f8b * evas: remove gradient and gradient2.
SVN revision: 51219
2010-08-16 15:14:49 +00:00
Mike Blumenkrantz 77130795a9 fix compile
raster SPANK SPANK SPANK!!!


SVN revision: 51115
2010-08-14 14:36:40 +00:00
Alexander Kerner f265715c32 From: Alexander Kerner <alexander.kerner@googlemail.com>
Attached is a small patch to fix eng_font_draw in software_8.



SVN revision: 51112
2010-08-14 11:17:35 +00:00
Carsten Haitzler f7fab4ea6b more comments
SVN revision: 51074
2010-08-13 11:23:07 +00:00
Carsten Haitzler 66795125ae comments.
SVN revision: 51073
2010-08-13 11:13:45 +00:00
Carsten Haitzler 12beaa9f19 and make it work... yes. first time sec egl image works.
SVN revision: 51072
2010-08-13 11:08:57 +00:00
Carsten Haitzler 26911649be oopsie. fix.
SVN revision: 51071
2010-08-13 10:39:41 +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 01b7216880 more glue/infra. glue evas api to engine together. gl engine gets stubs.
SVN revision: 51028
2010-08-12 06:11:13 +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
Lucas De Marchi 9415f7c5c9 Choose a style for comment
Be nice with simpler regex



SVN revision: 50972
2010-08-10 19:12:07 +00:00
Tom Hacohen 14932a769e evas: Fixed compilation warnings in xrender_x11 engine.
SVN revision: 50957
2010-08-10 08:17:06 +00:00
Tom Hacohen f7e902d3e7 evas: Fixed compilation warnings in software_16 engine.
SVN revision: 50955
2010-08-10 07:40:09 +00:00
Carsten Haitzler ccfd7f27fc 1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
2. gl - be stricter on gl-es texture formats.



SVN revision: 50950
2010-08-10 02:35:07 +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 18f7411d9e well well. i broke that. gles enignew builds again.
SVN revision: 50852
2010-08-06 04:37:06 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +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 50649552e3 dont sync if vsync not set...? (good?)
SVN revision: 50735
2010-08-02 06:44:23 +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
Christopher Michael 28a5e44f7d Make evas build again (here at least).
Added missing unicode & bidi opts to necessary places.
Fixes lots of compiler warnings.

NB - Not all engines tested. If you spot a problem wrt any specific
engine, please report it.



SVN revision: 50601
2010-07-28 17:57:18 +00:00
Tom Hacohen a6d428334f Evas: Changing the font engine to work with Eina_Unicode instead of utf8.
Changing textblock and text objects to work with Eina_Unicode instead of utf8 (internally, API remains intact).
Started relying on new fribidi 0.19.2 instead of the old fribidi.
A lot of fixes to the font engine.
Renaming of evas_common_font_utf8_* to evas_common_encoding_utf8_*
This relies on new Eina changes and types: Eina_Unicode, Eina_UStrbuf and Eina_UStringshare.

SVN revision: 50595
2010-07-28 12:00:41 +00:00
Carsten Haitzler 1a0f8b1c51 try this one
SVN revision: 50589
2010-07-28 08:11:30 +00:00
Carsten Haitzler 1154cf402c add new win before deleting old.
SVN revision: 50584
2010-07-28 06:00:02 +00:00
Carsten Haitzler c4da05607d and add in the 8bpp gray stuff
SVN revision: 50571
2010-07-28 02:27:29 +00:00
Alexander Kerner 0ec2a33a22 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50560
2010-07-28 00:16:06 +00:00
Carsten Haitzler e80f08b4b4 bitrot-- > work again (minus map features etc. tho)
SVN revision: 50192
2010-07-12 02:47:02 +00:00
Christopher Michael fefbc09a63 Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
move).



SVN revision: 50141
2010-07-09 06:10:55 +00:00
Lucas De Marchi 9df58ae530 Remove NULL pointer dereference
Bug found by the "andand" semantic patch:

// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU.  GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:

@ expression@
expression E;
identifier fld;
@@

- !E &&
+ !E ||
  <+...E->fld...+>

@ expression@
expression E;
identifier fld;
@@

- E ||
+ E &&
  <+...E->fld...+>




SVN revision: 50118
2010-07-08 03:21:33 +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 a08e99cd82 warnings--
SVN revision: 49765
2010-06-20 06:32:05 +00:00
Christopher Michael 3ba73cf34b No reason to include the same header twice.
SVN revision: 49449
2010-06-04 16:00:28 +00:00
Carsten Haitzler 5cad6a1c95 fix crash on null yuv.
SVN revision: 49392
2010-06-02 09:15:01 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +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 6ebb4a2152 2 more symbosl not exported - there, but hidden if visibility hidde.
SVN revision: 49004
2010-05-19 13:00:08 +00:00
Carsten Haitzler 7bf5eee839 fix symbols! oops.
SVN revision: 48980
2010-05-18 14:45:50 +00:00
Carsten Haitzler cedba3f7d9 handle gl init fialure correctly and dont mess up font init.
SVN revision: 48959
2010-05-18 04:22:33 +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 7713be2a89 fix map bug - overzealous optimising. missed case in opt.
SVN revision: 48465
2010-04-30 11:24:22 +00:00
Gustavo Sverzut Barbieri 2e4b0fddd8 load ~/.Xdefaults less often, make it shared and free its resources.
SVN revision: 48420
2010-04-29 15:32:47 +00:00
Gustavo Sverzut Barbieri 66475f25c3 Load Xft.dpi from ~/.Xdefaults as well.
Do this for consistency with other applications, some people just set
.Xdefaults but do not have xrdb to load it to screen. This works with
most of the systems, like Gtk and Qt, but not in Evas, so we get
different font sizes as they calculate based on DPI.

HOWEVER, and this may be a big thing, so RASTERMAN take a look, this
might impose a performance hit on window creation... remember that
every E17 popup/tooltip will hit this process of reading the file (if
exists) and then query X server (round trip).
    I'd rather make this a global resource, loaded just once for all
created windows, we can store the mtime to know when it changed and
invalidate the pointer... but as Raster did not keep the
XrmGetDatabase() result as global, I'm not doing it here either.



SVN revision: 48403
2010-04-28 20:26:04 +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
Vincent Torri 4a54173b20 remove useless include
SVN revision: 47838
2010-04-08 17:39:26 +00:00
Carsten Haitzler 197e4b7bad some debugging i get to turn on sometimes... off now.
SVN revision: 47618
2010-03-31 09:25:21 +00:00
Cedric BAIL 3d27a7b9e4 * evas: improve thread rendering by moving image loading in worker thread.
SVN revision: 47434
2010-03-24 19:07:59 +00:00
Cedric BAIL 3059ecd31c * evas: fix bug that impact performance of map.
TODO: Got the idea that we could spread the load of image data
	on all proc instead of blocking on the main thread for that.


SVN revision: 47430
2010-03-24 16:51:51 +00:00
Cedric BAIL 1a51c662bf * evas: make map work with threaded rendering.
SVN revision: 47429
2010-03-24 16:39:39 +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
Carsten Haitzler eb4c4a29b3 actuallyu free gl context//terminate on last gl window gone.
SVN revision: 47361
2010-03-22 05:33:20 +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 a67d080b06 some internalling of symbols and formatting
SVN revision: 46702
2010-03-01 16:17:11 +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 2f1ffe9863 fix ... negative calloc... hrrrm
SVN revision: 46696
2010-03-01 14:37:37 +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 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 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 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
Gustavo Sverzut Barbieri 5777eee064 do not access NULL image data for native surfaces.
This fixes another segv that happens when using composite manager.


SVN revision: 46265
2010-02-18 02:51:27 +00:00
Cedric BAIL ed5adb020f * evas: Sync DirectFB engine with last Evas engine API.
Note: More test are needed, but basically, you have map running with DirectFB. Enjoy !


SVN revision: 46249
2010-02-17 17:24:27 +00:00
Cedric BAIL 17653e550c * evas: Fix SDL map usage (raster edje map test is working :-) ).
SVN revision: 46247
2010-02-17 15:22:58 +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 0a373f4d19 done need egl errors there.
SVN revision: 46241
2010-02-17 07:34:22 +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 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
Vincent Torri 0a87819b44 apply raster's changes to the xcb engine
SVN revision: 46134
2010-02-13 12:28:08 +00:00
Carsten Haitzler 6abac56d9d dont need these 2 syncs.
SVN revision: 46126
2010-02-13 11:37:34 +00:00
Carsten Haitzler c487a6aa70 work on adding copy back -> front partial swaps back in... tho it does
nothing atm.. odd! disabled tho.



SVN revision: 46077
2010-02-11 14:41:44 +00:00
Carsten Haitzler 7fb7677794 printf--
SVN revision: 46044
2010-02-10 13:36:33 +00:00
Carsten Haitzler 5c236def11 more work on compositing
SVN revision: 46043
2010-02-10 13:36:06 +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 353f4bb6ec reduce binds when things get clipped and split.
SVN revision: 45928
2010-02-06 08:38:26 +00:00
Carsten Haitzler ee6abe9ca0 disable
SVN revision: 45828
2010-02-03 04:36:05 +00:00
Carsten Haitzler 0ee6420e42 move to eglwaitnative - still doesnt help tho:(
SVN revision: 45802
2010-02-02 11:50:49 +00:00
Carsten Haitzler 466fb263ac clean up gl text-from-pixmap a bit
SVN revision: 45796
2010-02-02 07:00:10 +00:00