Commit Graph

514 Commits

Author SHA1 Message Date
Carsten Haitzler b2f0971068 fix variable
SVN revision: 45427
2010-01-22 05:55:46 +00:00
Carsten Haitzler 33ba2279fc some more cleanups - issed protecting 1 or 2 calls. gl still doesnt work tho
:) not on fglrx.



SVN revision: 45388
2010-01-21 12:43: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 aad9a0113f dont destroy db - it's shared and initted on startup etc.
SVN revision: 44968
2010-01-08 07:51:30 +00:00
Carsten Haitzler d2a217d775 fix - destroy properly
SVN revision: 44967
2010-01-08 07:48:18 +00:00
Carsten Haitzler 2e7d9f6726 comment++
SVN revision: 44966
2010-01-08 07:21:15 +00:00
Carsten Haitzler 45d79a15cb allow x11 engines to get x resource that sets dpi.
SVN revision: 44965
2010-01-08 07:10:53 +00:00
Vincent Torri 30a413d330 Fix a crash in the xcb engine
It is still broken when shm is used. I don't know why
Fix other possible issues when shapes are used


SVN revision: 44940
2010-01-07 06:42:42 +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
Miculcy Brian ad22b7b227 fix declaration
SVN revision: 44774
2009-12-30 01:33:39 +00:00
Carsten Haitzler c3f6caa568 gl -> polygons now work. slow - but does it matter?
SVN revision: 44724
2009-12-27 00:40:25 +00:00
Gustavo Sverzut Barbieri 51c00c6526 fix evas image loading error reporting.
Evas image load was always reporint "generic" error, since it was
disconnected from actual loader modules.

This commit will break the module loader API (as it's restricted to
inside Evas, this should be no problem). The return was turned into
"Eina_Bool" for clarity, while an extra "int *error" is responsible to
report errors. This approach was choosen to force compiler warnings
and to try avoid mistakes as EINA_FALSE == EVAS_LOAD_ERROR_NONE and
thus we'd get opposite behavior if something slips.

Most loaders play well, except by eet that does not provide means to
know if the file open failed due missing file, incorrect format or
corrupted file :-(

Please report any issues. I added eina_log debugging to loader
functions, just run your Evas application as:

     EINA_LOG_LEVELS=evas_main:4 your_app




SVN revision: 44666
2009-12-22 23:11:57 +00:00
Cedric BAIL a27c701f27 * evas: Remove lot's of warning.
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Carsten Haitzler bfd91eb67f remove excess tex update on dirty. some formattign and naming too.
SVN revision: 44592
2009-12-20 06:23:13 +00:00
Vincent Torri 8316ce2fec fix warning
SVN revision: 44566
2009-12-19 10:41:20 +00:00
Vincent Torri 4107ddf303 fix returned values
SVN revision: 44565
2009-12-19 10:36:43 +00:00
Vincent Torri 9329338984 too much _
SVN revision: 44453
2009-12-14 21:45:33 +00:00
Vincent Torri 03851b3791 rename evas_glew_main.c to evas_glew__win32_main.c
SVN revision: 44452
2009-12-14 21:34:04 +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 16764f7d61 fix font alloc bug!
SVN revision: 43686
2009-11-14 05:08:00 +00:00
Carsten Haitzler de44d8682a fix gles symbols
SVN revision: 43662
2009-11-13 12:31:31 +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 2df6cb92bb del fbo as well if it exists
SVN revision: 43654
2009-11-13 07:25:08 +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
Lars Munch 3b3872fed2 Fix WinCE engine build
SVN revision: 43628
2009-11-12 13:49:46 +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
Vincent Torri 43fb7ca168 fix compilation of glew engine.
Unfortunately, the computer on which i compile does not
support OpenGL 2.0, so i can't test the engine.

SVN revision: 43610
2009-11-11 11:17:11 +00:00
Cedric BAIL 3450e0aaea * evas: Add support for async callback in Quartz backend.
TODO: Add map support.


SVN revision: 43582
2009-11-09 13:04:41 +00:00
Carsten Haitzler 402103b40b 2 more!
SVN revision: 43490
2009-11-06 15:15:12 +00:00
Carsten Haitzler 09554e67fb remove 2 more types
SVN revision: 43489
2009-11-06 15:14:34 +00:00
Carsten Haitzler 7ecfc00965 fix - remove typedefs of gl stuff. not needed.
SVN revision: 43488
2009-11-06 15:13:29 +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 1545cc226e more map work. now only re-render map surface if size changed or any contents
changed. still renders all, but better now. keeps map surfacer around for
shits and giggles until map unset or object deleted. als be able to set
smooth map and disable alpha (for smart objects)



SVN revision: 43362
2009-10-31 09:08:01 +00:00
Carsten Haitzler 5cc7803ef9 the start of other objects being able to map! text objects work.. tested.
SVN revision: 43323
2009-10-28 08:59:01 +00:00
Mike Frysinger e204104de3 fix typo in previous change -- EVAS_DEFAULT_LOG_COLOR, not EVAS_DEFAULT_COLOR
SVN revision: 43300
2009-10-26 20:42:24 +00:00
Vincent Torri 56f784dacd fix+++
SVN revision: 43250
2009-10-24 17:00:34 +00:00
Vincent Torri d8c4555c36 eng_setup must return 1 on success and 0 on failure
SVN revision: 43248
2009-10-24 15:24:11 +00:00
Carsten Haitzler 4a6609c55f fix copy & paste bug.
SVN revision: 43225
2009-10-23 13:11:23 +00:00
Vincent Torri f60b381333 Fix some warnings. I don't touch gl engines for now
SVN revision: 43221
2009-10-22 22:33:06 +00:00
Gustavo Sverzut Barbieri 4b95e6b078 oops, it's eina_log_domain_unregister... domain, not dom!
SVN revision: 43213
2009-10-22 20:14:05 +00:00
Cedric BAIL 9af68d80da * evas: Add map to SDL also.
SVN revision: 43206
2009-10-22 17:06:06 +00:00
Cedric BAIL 8984a75799 * evas: Cleanup move to eina log.
Patch from Mathieu Taillefumier.


SVN revision: 43200
2009-10-22 15:22:22 +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
Cedric BAIL 4d083a6627 * evas: Make quartz engine compile again.
SVN revision: 43180
2009-10-21 13:09:04 +00:00
Carsten Haitzler 8bf3f50b2c map code... works.. with bugs... but works. visually...
SVN revision: 43163
2009-10-20 16:03:57 +00:00
Carsten Haitzler 8cf88e6b18 and flush there too
SVN revision: 43091
2009-10-15 03:25:22 +00:00
Carsten Haitzler 40f23d3708 flush queu at context change time (use win) just in case
SVN revision: 43090
2009-10-15 01:39:22 +00:00
Vincent Torri ebdf658cfd use fprintf for messages
SVN revision: 43056
2009-10-13 17:31:18 +00:00
Vincent Torri 3414279848 fix compilation on Windows CE
SVN revision: 43055
2009-10-13 17:27:49 +00:00
Carsten Haitzler 017e26b4e0 fix font aligned tex.
SVN revision: 43049
2009-10-13 10:42:03 +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 f62f738c7e add level 0 as request. dont want overlay.
SVN revision: 43045
2009-10-13 01:30:04 +00:00
Carsten Haitzler e31d7799ee set tex min/mag filter always
SVN revision: 43044
2009-10-13 00:37:16 +00:00
Carsten Haitzler 8da2320695 dont eed these params here
SVN revision: 43038
2009-10-12 18:02:33 +00:00
Carsten Haitzler 46996c95d3 mini-speedups!
SVN revision: 43037
2009-10-12 15:22:38 +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 09ba2ed738 and one more untested fix
SVN revision: 43033
2009-10-12 03:52:23 +00:00
Carsten Haitzler a08e1d6793 and fix more bits not tested yet
SVN revision: 43032
2009-10-12 03:43:00 +00:00
Carsten Haitzler bcf85c7225 remove _dends. old code.
SVN revision: 43031
2009-10-12 03:35:32 +00:00
Carsten Haitzler 8bd109e8ce update build for gles on s3c6410 testing
SVN revision: 43030
2009-10-12 03:31:24 +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 00486440c0 fix autofoo make and included files etc. produce shader binaries for systems
that dont have runtime compilers using offline tools. binary blobs will need
to be provided in src trees as the shader_type_bin_target.h files



SVN revision: 43004
2009-10-10 15:03:41 +00:00
Carsten Haitzler a6b2cfd52a and delete u and v textures too
SVN revision: 43002
2009-10-10 14:55:10 +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 daa0573ceb oops missed file.
SVN revision: 42983
2009-10-09 15:17:27 +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
Cedric BAIL ef2d2ddfda * evas: Remove some llvm warning.
SVN revision: 42938
2009-10-07 12:47:01 +00:00
Vincent Torri de7282e68b use Eina macro for default log color
SVN revision: 42855
2009-10-02 04:47:34 +00:00
Vincent Torri 0a775ef90d fix eina logging in software_ddraw
SVN revision: 42829
2009-10-01 07:44:39 +00:00
Tom 39b6c9148c From: Tom <tom@stosb.com> (tasn)
Hey raster,

Here is the non intrusive patch I talked to you about. Please apply it as it
introduces some fixes, some improvements and mostly and underlying
infrastructure for future RTL improvements.

(note hebrew & yiddish seem fine, but things expedite test seems to show are
wrong (why i don't know as i dont speak the langs- just comparing to pango /
gtk output):

arabic seems lsightl wrong (maybe composition chars not working?)
gujarati - also seems wrong
malayam - also looks wrong
persian - looks wrong
sinhala - looks wrong
tamil - looks wrong

these are what, appear to me, to look wrong. why they look wrong, i don't
know. i'm guessing its compositiong not being handled. but i dont's peak,
read or write any of these languages so i am unsure of what it really should
be like, why and how to fix it.

anyone want to put up a hand? (everything else is displaying fine as best i
can tell - the langauges i read/speak/somewhat understand are working fine).



SVN revision: 42814
2009-09-30 04:23:21 +00:00
Vincent Torri e50c003031 last auto-import symbols
SVN revision: 42631
2009-09-22 23:07:29 +00:00
Vincent Torri ef825fc3c1 more auto-import symbols
SVN revision: 42630
2009-09-22 23:05:51 +00:00
Vincent Torri e359ac2161 auto-import symbols
SVN revision: 42628
2009-09-22 22:51:15 +00:00
Cedric BAIL c259d8addd * evas: Use eina_log.
Patch from Matthieu.


SVN revision: 42598
2009-09-21 16:08:51 +00:00
Vincent Torri ea9c39e2f7 masks should be correctly rotated in the xcb engine, now
remove a few unused parameters and unused variables


SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri 86dab3bef7 we should try if shm is available
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Rafael Antognolli af554298cd Bugfix on directfb engine:
* cleaning dirty rectangles on dfb surfaces now is done correctly.



SVN revision: 41777
2009-08-14 20:36:49 +00:00
Cedric BAIL 443fe5fc8e * evas: gl_x11 window can't support alpha, as drawing rect with
alpha=0 is not possible.


SVN revision: 41769
2009-08-14 17:11:08 +00:00
Cedric BAIL e4d68c7fbe * evas: gl_common now use Eina_Rectangle_Pool.
SVN revision: 41607
2009-08-05 14:47:12 +00:00
Cedric BAIL 5784d74daa * eina: Add eina_cpu_count.
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Vincent Torri 39809967cb clean dist rule
SVN revision: 41526
2009-07-28 11:50:22 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00