Carsten Haitzler
e99a611e98
fix --enable-ptrhead and poly render symbol - oops
...
SVN revision: 27121
2006-11-15 11:57:42 +00:00
Carsten Haitzler
4021776111
nash patch
...
SVN revision: 27100
2006-11-14 02:00:23 +00:00
Carsten Haitzler
9781eb9b38
1. evas gets a pipeline with deferred rendering ability (sometimes faster,
...
sometimes slower)
2. --enable-pthreads will enable multi-threaded rendering (current support is
for up to 4 threads so if you have a new fanled quad core or dual cpu dual
core box or whatever you will in theory be able to max moe of its cpu grunt
with the software rendering engine. this can only be done because i added the
pipelines which means almsot entirely lock-free multithreading internally in
evas. the only locks are for fonts but with a little work i might be able to
remove some/most of those too)
for now pthreaded rendering likely will be linux only (it relies on sched.h
for setting scheduler params to force the slave threads to run on separate
cpu's as linux likes to keep them on the same cpu otherwise and thus we get
no speedups at all - only slowdowns).
aso note that it is a bit of a mixed bag. complex ops (like smooth scaling
with alpha blending) get speedups, but simple ops (like blits/fills) slow down.
this all neds examination and tweaking still - but it's a start.
SVN revision: 27098
2006-11-13 23:23:44 +00:00
Carsten Haitzler
41b70e1b8a
simply as PLACEHOLDER for a glitz engine. i plan on making it almost
...
identical to the xrender engine - but xrender and glitz do not map entirely
1:1 api-wise.
SVN revision: 27045
2006-11-11 06:03:13 +00:00
Carsten Haitzler
d75744200c
and fix final off-by-a-bit in the xform.
...
SVN revision: 26966
2006-11-05 12:53:25 +00:00
Carsten Haitzler
b24c5e70da
massively improve xrender scaling to be almost perfect. a few nigglies remain
...
though with transformed images (especailly with border scaling)
SVN revision: 26965
2006-11-05 12:51:23 +00:00
Carsten Haitzler
69e346c9a0
doing some cleanups to xr engine
...
SVN revision: 26958
2006-11-05 09:28:50 +00:00
Carsten Haitzler
1a2bbc3b2d
fix fade of solid images in xrender engine
...
SVN revision: 26957
2006-11-05 06:04:51 +00:00
Carsten Haitzler
c3674c8595
check dimensions for safety
...
SVN revision: 26954
2006-11-05 05:07:53 +00:00
Carsten Haitzler
1c6ed968fd
simon's patch is back - fixed. :) still just makes parsing of tuf8 string
...
more forgiving. it doesn't "fix" the real problem.
SVN revision: 26901
2006-11-01 23:00:42 +00:00
Carsten Haitzler
2742499473
evas utf8 patch broke e17's about box. revert
...
SVN revision: 26897
2006-11-01 12:56:12 +00:00
Carsten Haitzler
b964c06760
fair enough to be more forgiving of malformed utf8 strings - but the problem
...
just changes from being cut off to garbage in the middle of the string.
SVN revision: 26893
2006-10-31 23:43:06 +00:00
Carsten Haitzler
b5f613f161
remove test progs and data
...
SVN revision: 26825
2006-10-28 07:04:17 +00:00
Carsten Haitzler
fd60c655b0
i was just playing with adding thread supprot to INTERNALS of evas (ie the
...
renderer gets threaded). if i thread at the simplest levels (low down in for
example the image scaler code - one of the most expensvie gfx routnes) on an
actual dual core system - performance drops by 40%. this just doesn't work
well at that level. thread creates and joins per render op are just a bad
thing (tm) :) so this really needs to go in much higher up and that presents
problems. :( i will need to clearly define entry and exit points to and from
threaded space (and thus all the locks) - remove all nested calls (where
internal code goes thru the same entry/exit points traditionally so it
deadlocks itself).. anyway - this here has all that code stripepd out i
played with - it is just the autofoo and build stuff so we can turn on/off
thread support at will in the build.
SVN revision: 26817
2006-10-28 03:02:23 +00:00
Carsten Haitzler
5564c2a722
been doing instrumentation. i'm cuttong down on startup time - a little here
...
and there - noticing lots of excessive io and stat and what not junk.
trimming out.
SVN revision: 26729
2006-10-21 10:28:01 +00:00
Carsten Haitzler
cfa5c0cad4
yamaguchi-san's dfb patch
...
SVN revision: 26672
2006-10-17 10:36:36 +00:00
Carsten Haitzler
9604530f2f
slight cleanups
...
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler
21e9758f0b
ooh - freeing a smart multiple times - bad bad bad.
...
SVN revision: 26611
2006-10-15 12:15:36 +00:00
Mike Frysinger
88ce3a9252
fix up some orphaned context handling in previous commit
...
SVN revision: 26586
2006-10-14 04:43:28 +00:00
doursse
83bb15914f
automated tools can not be perfect
...
SVN revision: 26497
2006-10-10 19:32:36 +00:00
doursse
cacc00f14a
update to the new new api of XCB
...
SVN revision: 26496
2006-10-10 19:16:16 +00:00
doursse
70a562b239
update to the new new api of XCB. The xrender engine needs review
...
SVN revision: 26495
2006-10-10 19:15:48 +00:00
tilman
050db03ce7
don't rely on TT_CONFIG_OPTION_BYTECODE_INTERPRETER in freetype 2.1, because distros suck so much. oh well.
...
SVN revision: 26428
2006-10-08 13:58:58 +00:00
tilman
4bd6d8870a
fixed evas_common_hinting_available so it works properly with both freetype 2.1 and 2.2
...
SVN revision: 26421
2006-10-08 13:00:26 +00:00
Carsten Haitzler
94e3e465bf
remove sub-pixel cursor advance for font rendering
...
SVN revision: 26420
2006-10-08 12:43:31 +00:00
Carsten Haitzler
3c6495b122
hmm - broke e17's mouse pointer
...
SVN revision: 26403
2006-10-08 00:32:50 +00:00
tilman
3074654eaf
don't forward noop move/resize calls to smart objects anymore. code wrapped in ifdefs so you can easily restore the old behaviour if needed.
...
SVN revision: 26399
2006-10-07 17:35:14 +00:00
moom
424b6c5ffb
* Fix a bug with double-click
...
SVN revision: 26381
2006-10-06 19:13:33 +00:00
Carsten Haitzler
801bdf34d8
joses fixes for grads with premul
...
SVN revision: 26348
2006-10-05 05:28:35 +00:00
Carsten Haitzler
64ab8b381d
oooh - lots of cache misses due to new load opts - if load opts have "0"
...
members cache was being missed. fixed. :)
SVN revision: 26339
2006-10-03 23:49:03 +00:00
Carsten Haitzler
42aa3066e9
check sparseness when doing eet loads.
...
SVN revision: 26300
2006-10-02 11:24:26 +00:00
Carsten Haitzler
3df80d676c
add sparseness checker :)
...
SVN revision: 26299
2006-10-02 11:12:39 +00:00
Carsten Haitzler
b8606a2712
dont unpremul
...
SVN revision: 26293
2006-10-02 07:05:35 +00:00
Carsten Haitzler
7794ad5de9
fix eet load of premul images - need to check they are not "bad" :)
...
SVN revision: 26291
2006-10-02 05:28:39 +00:00
Carsten Haitzler
87af70ceef
fix unpremul - broken :(
...
SVN revision: 26288
2006-10-02 05:19:39 +00:00
doursse
5eda84b66b
update to the new api of xcb 1.0. et rid of xcb_aux dependancy
...
SVN revision: 26279
2006-10-01 18:27:31 +00:00
Carsten Haitzler
2190ed562a
more commit....
...
SVN revision: 26237
2006-09-30 10:21:23 +00:00
Carsten Haitzler
8c93e825a8
same as previous commit.
...
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler
9865a4fadb
add asm/page.h back in. doesn't hurt on x86
...
SVN revision: 26138
2006-09-25 11:49:03 +00:00
Carsten Haitzler
9fb59104ab
and the xpm loader also leaked!
...
SVN revision: 26126
2006-09-24 23:31:21 +00:00
sebastid
0780d4cd45
Remove unused variables.
...
SVN revision: 26101
2006-09-24 13:32:25 +00:00
sebastid
b7029d1b60
Fix more typo.
...
SVN revision: 26100
2006-09-24 13:31:19 +00:00
Carsten Haitzler
fc717d365f
fix pixel buffer overflow on loading corrupt/malformed/bad xpm's
...
SVN revision: 26098
2006-09-24 13:28:01 +00:00
sebastid
7b9f59d959
Fix typo.
...
SVN revision: 26097
2006-09-24 13:24:28 +00:00
Carsten Haitzler
8b641a9035
cleanups of xpm loader - possibly mem overruns fixed.
...
SVN revision: 26096
2006-09-24 13:03:39 +00:00
David Walter Seikel
3fb0627858
printf no longer needed.
...
SVN revision: 25992
2006-09-21 00:22:43 +00:00
David Walter Seikel
73c3668895
printf added so that we can sort out why it's crashing for Hawkwind.
...
SVN revision: 25991
2006-09-21 00:00:01 +00:00
Carsten Haitzler
a65d40c050
avoid loading all loaders if file doesn't exist
...
SVN revision: 25962
2006-09-18 14:51:48 +00:00
Carsten Haitzler
3f4b2a65bf
tune the unloads to be conservative but effective.
...
SVN revision: 25955
2006-09-18 09:47:34 +00:00
Carsten Haitzler
3115a52684
and i implemented module UNLOADING. given enough cycles of non-use of a
...
module and no references, it will get.... UNLOADED :)
SVN revision: 25954
2006-09-18 09:40:29 +00:00
tilman
2a77e9a6a7
ported filter fixes from the xrender_x11 engine to the xrender_xcb engine
...
SVN revision: 25891
2006-09-16 16:43:32 +00:00
tilman
98ac1e9af0
ported the transformation matrix fixes from the xrender_x11 engine to the xrender_xcb engine
...
SVN revision: 25890
2006-09-16 16:32:22 +00:00
tilman
5e59f3af40
xrender's filters also kick in if we don't specify a transformation matrix (that's _not_ a bug), so only specify a filter if we're scaling the image
...
SVN revision: 25887
2006-09-16 14:59:28 +00:00
tilman
360ceff261
move the filter lookup to its own function - should make the code more readable and makes it easier to play with the filter settings
...
SVN revision: 25813
2006-09-13 10:28:22 +00:00
tilman
60c2e94a4c
use double precision for the greater good of humanity
...
SVN revision: 25766
2006-09-12 10:33:28 +00:00
tilman
ce599dcde7
avoid rounding errors when setting up the transformation matrix
...
SVN revision: 25765
2006-09-12 10:30:12 +00:00
tilman
912834c325
use the proper macros for the picture filter names
...
SVN revision: 25764
2006-09-12 10:06:45 +00:00
doursse
369e8a9975
free the event and don't use deprecated XCBSync function
...
SVN revision: 25760
2006-09-12 07:48:44 +00:00
doursse
691df94e56
free memory when we quit the tests. Free allocated string in the xcb apps
...
SVN revision: 25759
2006-09-12 07:35:49 +00:00
Carsten Haitzler
bce5edacbd
#ifdef the 1 bit transform stuff.
...
SVN revision: 25756
2006-09-12 00:03:53 +00:00
tilman
19ea4966bb
missed another case of identiy-transform setting
...
SVN revision: 25734
2006-09-11 15:24:54 +00:00
tilman
84baf60045
don't set the picture transform to the identity - that's a no-op
...
SVN revision: 25731
2006-09-11 15:19:02 +00:00
tilman
1cb97ea4b8
um, raster, you cannot chain == like that. gcc even told you ;)
...
SVN revision: 25728
2006-09-11 14:53:19 +00:00
tilman
89ce1b8367
cleaned up the transformation matrix code. use the proper x macro to convert a double into a matrix component instead of hardcoding the bitshift. added init_transform() which will initialize a matrix to the identity transform.
...
SVN revision: 25726
2006-09-11 14:42:39 +00:00
Carsten Haitzler
d87d871417
add system icons dir for e, patches for evas.
...
SVN revision: 25715
2006-09-11 09:36:32 +00:00
doursse
a5c5e9699a
do not free buf if no available buf
...
SVN revision: 25694
2006-09-10 16:06:51 +00:00
doursse
1f19215c72
missing reply frees
...
SVN revision: 25685
2006-09-10 09:35:24 +00:00
moom
a719bd4d58
* evas_object_clip_unset(): set "cur.have_clipees" to 0 *after* having
...
removed the object from the list of clipees (as it used to work
actually)
SVN revision: 25661
2006-09-09 12:25:26 +00:00
doursse
e96c6828d0
fix xrender xcb engine, add old stuff committed to the Xlib engines and not to the XCB ones, replace deprecated XCBSync call by a call of GetInputFocus, fix some round trips but a complete review of the engines must be done to fix them all, first part of a cleanup, first part of XCB error management
...
SVN revision: 25657
2006-09-09 08:10:24 +00:00
Christopher Michael
d24318ed7f
Fix some non-NULL check issues in evas_clip.c . Don't ask how I found these :)
...
SVN revision: 25637
2006-09-08 17:59:19 +00:00
Carsten Haitzler
c3fde12000
a few patches from emails. :) emails will be coming.. when i flush my mush.
...
SVN revision: 25533
2006-09-06 12:09:53 +00:00
sebastid
e55f7b27b2
Functions used by modules must be EAPI
...
SVN revision: 25526
2006-09-06 07:33:40 +00:00
sebastid
ec72116e3c
Exported module functions must be EAPI
...
SVN revision: 25524
2006-09-06 07:28:46 +00:00
sebastid
4f202372c2
Use standard list
...
SVN revision: 25523
2006-09-06 07:23:37 +00:00
moom
32147d1f6a
* The mouse flags are now correctly calculated when the mouse
...
up/down event is propagated to smart parent
SVN revision: 25107
2006-08-25 20:47:32 +00:00
sebastid
cabfc4a09a
Remove unused variables.
...
SVN revision: 24991
2006-08-21 15:19:07 +00:00
Carsten Haitzler
6ca2a14020
use already loaded var :)
...
SVN revision: 24937
2006-08-20 14:51:10 +00:00
Carsten Haitzler
f631394f18
gl engine build
...
SVN revision: 24905
2006-08-19 11:59:55 +00:00
Carsten Haitzler
f407013a5f
include evas private header
...
SVN revision: 24904
2006-08-19 11:58:07 +00:00
Carsten Haitzler
bd5bd84852
printf-- - safety valve++
...
SVN revision: 24893
2006-08-19 01:49:33 +00:00
Carsten Haitzler
c6164acc18
jpeg loader can use load opts to try pre-scale on load now... :) ie epeg
...
features directly in evas.
SVN revision: 24892
2006-08-19 01:48:13 +00:00
Carsten Haitzler
d5a131c924
fix caching to account for load options
...
SVN revision: 24890
2006-08-19 00:22:02 +00:00
Carsten Haitzler
7899758192
guess svgz faster too
...
SVN revision: 24871
2006-08-18 14:54:24 +00:00
Carsten Haitzler
b5f6d45b06
and actually use the load size
...
SVN revision: 24869
2006-08-18 14:47:45 +00:00
Carsten Haitzler
0889c589f2
added the ability to set load scaledown, dpi or load size - the svg loader
...
uses these to know what to render and how (or has defaults if these are not
set)
SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler
efdd0bf4fa
memset to 0 for initial memory
...
SVN revision: 24857
2006-08-17 23:52:41 +00:00
Carsten Haitzler
19a3b33edb
change cwd to the dir with the svg - if the svg has relative paths to bitmap
...
files included in the svg
SVN revision: 24856
2006-08-17 23:43:17 +00:00
Carsten Haitzler
63cc2539b2
fix subdir!
...
SVN revision: 24831
2006-08-17 15:39:24 +00:00
Carsten Haitzler
08e2c38474
jose's svg loader - in. needs the ability to set dpi etc. etc. - loader api
...
work and evas api work there.
SVN revision: 24830
2006-08-17 14:11:59 +00:00
Carsten Haitzler
48b81d3bfa
remove printf
...
SVN revision: 24687
2006-08-14 13:56:18 +00:00
Carsten Haitzler
8b1f602f38
being an anally retentive bastard.. i checked if e worked in 8bpp under vnc.
...
GASP! it didn't. evas's color allocator was screwed. fixed! :)
SVN revision: 24686
2006-08-14 13:50:07 +00:00
Carsten Haitzler
7f41aeb177
fix some warnings!
...
SVN revision: 24599
2006-08-12 14:46:15 +00:00
Carsten Haitzler
21896dc50d
jose's xpm loader.
...
SVN revision: 24579
2006-08-12 09:16:30 +00:00
sebastid
2c14125fbf
space
...
SVN revision: 24539
2006-08-10 17:21:40 +00:00
rephorm
a9ff065c01
i assume this was meant as an optimization. however, it wasn't correct for some cases (e.g. rgb = 187, 169, 123)
...
SVN revision: 24465
2006-08-08 06:01:37 +00:00
sebastid
e3be454d46
Can someone who knows this code fix this?
...
SVN revision: 24413
2006-08-06 01:27:22 +00:00
sebastid
0410bbcf4a
Fix formatting
...
SVN revision: 24403
2006-08-05 03:07:29 +00:00
ningerso
470d2eda32
Fix evas_list_promote_list to allow promoting to arbitrary points in the list.
...
SVN revision: 24388
2006-08-04 10:47:06 +00:00
ningerso
d85048c93f
Did some cache miss profiling with a large number of transient text objects
...
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.
Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.
SVN revision: 24387
2006-08-04 10:00:50 +00:00
moom
ac0055db7e
* Add evas_object_smart_parent_get() to get the smart parent of an Evas_Object
...
* Add evas_object_smart_members_get() to get a list of the member objects of a smart object
SVN revision: 24374
2006-08-03 02:14:53 +00:00