Commit Graph

1089 Commits

Author SHA1 Message Date
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
Carsten Haitzler 996645a4d6 add abort so u can trap etk badness
SVN revision: 24316
2006-07-30 14:30:24 +00:00
Carsten Haitzler 51ccc72b4f and that was just SILLEH! - fix. fast fix.
SVN revision: 24247
2006-07-27 19:33:04 +00:00
Carsten Haitzler 6590dd220f add 2 list calls that well - i need for efficiency :)
SVN revision: 24245
2006-07-27 19:27:34 +00:00
Carsten Haitzler 37642982f7 make other core efl things do the same package thing
SVN revision: 23876
2006-07-13 19:48:09 +00:00
rephorm ab7d018a71 set the name to NULL on _del instead of _free
Since free can be delayed, if you deleted a named object, created a new one and set it to the same name, the hash could still point to the old object.


SVN revision: 23865
2006-07-13 00:26:25 +00:00
Carsten Haitzler 4cedfd95b9 way too many freetype headers are wrong - dont rely on them. :(
SVN revision: 23688
2006-07-03 09:09:06 +00:00
doursse aec7e96054 ignore++
SVN revision: 23585
2006-06-25 13:43:22 +00:00
Carsten Haitzler 9748781970 revert list sort patch - it's losing list members.
SVN revision: 23458
2006-06-16 09:35:30 +00:00
Carsten Haitzler ea043349fc sort patch from cedric
SVN revision: 23415
2006-06-13 10:25:09 +00:00
doursse 3a0454a50b warnings-- and remove trailing spaces
SVN revision: 23320
2006-06-09 05:11:37 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
doursse 7029273174 don't free a pointer that is not allocated. Clean messages
SVN revision: 22961
2006-05-28 06:22:10 +00:00
Carsten Haitzler c05284ea5f fix sizing problem when u set style after setting text/font
SVN revision: 22873
2006-05-25 02:40:09 +00:00
David Walter Seikel e54d244e28 .cvsignore++
SVN revision: 22808
2006-05-21 13:20:02 +00:00
moom f4c549c9f6 * Move the optimizations of Jose for the hsv/rgb conversion functions to Evas
SVN revision: 22790
2006-05-21 09:43:58 +00:00
Carsten Haitzler db9561ff11 fixup for over-grab-count
SVN revision: 22730
2006-05-19 07:56:53 +00:00
moom 24b32bd7d4 * Fix hsv-->rgb conversion if h=360.0
SVN revision: 22677
2006-05-17 22:11:46 +00:00
Carsten Haitzler f8371169c7 'remove fps stats
only bench numebr is displayed now.


SVN revision: 22665
2006-05-17 08:04:59 +00:00
Carsten Haitzler cbeeae7f14 fix segv's in simple line draws
SVN revision: 22642
2006-05-16 08:52:05 +00:00
Carsten Haitzler 4e97e2bf2c fix polygons too. always over op.
SVN revision: 22641
2006-05-16 07:53:47 +00:00
Carsten Haitzler 5d996305e1 fix xrender lines :)
SVN revision: 22640
2006-05-16 07:52:35 +00:00
Carsten Haitzler 1b3c1fb791 really simple fix for aa line draws.
SVN revision: 22639
2006-05-16 07:38:18 +00:00
Carsten Haitzler 3b0d15d0d3 usless call- comment ou
SVN revision: 22608
2006-05-14 07:14:31 +00:00
Carsten Haitzler c9738a1395 illogict patch for more escapes :)
SVN revision: 22541
2006-05-11 23:46:54 +00:00
moom d2dbafa095 * The textblock object now gets its color multiplied by the color of its
clip object.


SVN revision: 22530
2006-05-11 12:55:04 +00:00
Carsten Haitzler 8e91bb918d weird - identity matrix with 16.16 fixed point DOESNt work for bitmap mask
render picutres. need to make an exception. also we still need the extra
pixle to interpolate to. it screws up some example sin e17 (configuration
panel will show it).


SVN revision: 22529
2006-05-11 12:48:22 +00:00
Carsten Haitzler 5022ae6e0d make xrender transforms use 16.16 matrix values (xrender seems infintely mroe
happy with this - event hough it is really no different)


SVN revision: 22525
2006-05-11 00:24:48 +00:00
Carsten Haitzler 646e3a1e3c fix mmx more
SVN revision: 22500
2006-05-10 04:06:42 +00:00
Carsten Haitzler 5ff7329f93 fixed mmx.h from gfx_routines
SVN revision: 22499
2006-05-10 03:51:22 +00:00
Carsten Haitzler b69d9fe78b turn off vsync
SVN revision: 22494
2006-05-09 11:40:10 +00:00
doursse 772a1de220 cleaning
SVN revision: 22470
2006-05-06 06:23:53 +00:00
doursse 581b0aa703 fix a bug and some cleaning
SVN revision: 22469
2006-05-06 06:22:57 +00:00
Carsten Haitzler faeb27d953 fix "fades" of non-alpha images.
SVN revision: 22467
2006-05-05 22:55:04 +00:00
Carsten Haitzler ea998ce647 gl engine fixes patch from jose, and fix non mmx/sse system build
SVN revision: 22456
2006-05-04 11:52:46 +00:00
doursse f8585f6fe2 cleaning of the code. speed up the engine by moving the initialization of shm into the test prog, and by commenting some XCBSync (no problem with that, apparently)
SVN revision: 22455
2006-05-04 06:51:30 +00:00
doursse b0efe94cff cleaning of the code. Set the title and the class of a window
SVN revision: 22454
2006-05-04 06:46:57 +00:00
doursse 9825d3dbd3 don't use X.h constants, but XCB ones. fix the last leak. fix potential bugs. The last version of xcb is needed
SVN revision: 22445
2006-05-02 22:00:51 +00:00
doursse c80dfaaf01 use Jose patch for soft. xcb engine too
SVN revision: 22442
2006-05-02 18:01:41 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
Stafford Mitchell Horne 3a6d184758 Add API for getting the available fonts
SVN revision: 22416
2006-04-30 11:39:44 +00:00
Carsten Haitzler 21e63c83b9 move engine headers into engine dirs - and removes lots of useless old headers.
SVN revision: 22344
2006-04-25 04:00:21 +00:00
Carsten Haitzler bd5274b1f7 cosmetic - really no diff
SVN revision: 22330
2006-04-24 01:10:50 +00:00
doursse 5e8ccae68a oups
SVN revision: 22324
2006-04-23 15:40:33 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +00:00
Stafford Mitchell Horne 88edaa2e02 Add font charmap caching
* TODO: store cache on disc, for faster cache loading (this requires EET to support arrays)


SVN revision: 22294
2006-04-22 11:08:01 +00:00
Carsten Haitzler 05ea1163f3 fix over/under grab problems
SVN revision: 22234
2006-04-19 14:37:49 +00:00
Carsten Haitzler 3b3b836125 fix edge interpolation for images with xrender and a segv for font rendering
if multiple engines dont agree on ext data for fonts


SVN revision: 22173
2006-04-17 01:57:11 +00:00
Carsten Haitzler a75ccf9e64 fix color multiply whiel blend (ergh! need temporary image! yuk!)
SVN revision: 22163
2006-04-16 17:04:36 +00:00
Carsten Haitzler 79ea843774 fix resize of shaped xrender canvas
SVN revision: 22162
2006-04-16 15:51:26 +00:00
David Walter Seikel 3e8e5d2957 .cvsignore++.
SVN revision: 22081
2006-04-13 06:44:38 +00:00
Horms 94cdd55ba6 Make sure moc_evas_software_qtopia_main.cpp exists for make dist, even if make clean has been called
SVN revision: 22052
2006-04-12 09:20:17 +00:00
doursse ed9ce5b051 tiff saver and more checks
SVN revision: 21997
2006-04-10 07:27:54 +00:00
Stafford Mitchell Horne 34b43317af Revert to old fontconfig searching
SVN revision: 21969
2006-04-09 02:42:21 +00:00
Stafford Mitchell Horne f0b6819b6b Make sure to finish initializing sourced fonts
SVN revision: 21968
2006-04-09 02:36:03 +00:00
doursse 5ae3772ab6 tiff loader. saver will come later
SVN revision: 21965
2006-04-09 00:10:47 +00:00
Stafford Mitchell Horne 8f207f622f Evas on-demand font loading
* When fonts are added from files we will only load the details
 * The first font is always loaded
 * I know there is a patch for this on the list but this way seems better to me


SVN revision: 21964
2006-04-09 00:02:47 +00:00
doursse c7224e4190 gif loader
SVN revision: 21951
2006-04-08 12:22:18 +00:00
Carsten Haitzler 02ab2a4df1 fontconfig mem reduction patch (only load what is needed)
SVN revision: 21880
2006-04-05 23:23:16 +00:00
Carsten Haitzler 55fdc7ac5f add fc flags
SVN revision: 21805
2006-04-04 13:14:01 +00:00
Carsten Haitzler 28dc440e17 ok- actually handle dest buf if there is no back buf
SVN revision: 21756
2006-04-03 03:29:10 +00:00
Carsten Haitzler 82f8e24b2c bleh--
SVN revision: 21754
2006-04-02 23:52:26 +00:00
Carsten Haitzler d6690d7514 support all advertised formats
SVN revision: 21713
2006-04-02 07:47:31 +00:00
Carsten Haitzler 866b591619 cvlear ALL dst buffers for buffer engine
SVN revision: 21710
2006-04-02 07:25:03 +00:00
Carsten Haitzler d7c7836097 zero out alpha only if we have it - and add an initial memset to 0.
SVN revision: 21695
2006-04-02 01:33:00 +00:00
Stafford Mitchell Horne 59fb5be456 Refuse zero length fonts.
SVN revision: 21532
2006-03-28 16:28:54 +00:00
stffrdhrn b1e03e8791 Evas Fontconfig changes
* Move evas fontconfig changes out of the search loop
 * Use the whole font name for the search pattern this allow things like
   "Bitstream Vera Serif,Kochi Gothic" so you can manually setup fallbacks


SVN revision: 21407
2006-03-19 11:17:43 +00:00
stffrdhrn a14f932770 Dont crash on pcf fonts
* for pcf fonts EM square is 0 and ascent and descent are 0
 * TODO: get these things to render correctly


SVN revision: 21404
2006-03-19 10:50:33 +00:00
stffrdhrn ec8cd4cc08 Add fontconfig to evas for finding fonts
* This can be disabled with --enable-fontconfig=no
 * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
 * This is just the beginning: TODO: style searching, language reorder bypass


SVN revision: 21394
2006-03-19 04:29:57 +00:00
David Walter Seikel 9d26059150 .cvsignore++
SVN revision: 21356
2006-03-17 23:19:49 +00:00
Carsten Haitzler 8edc435a2b tmp size was not fetched
SVN revision: 21333
2006-03-16 08:16:16 +00:00
doursse 79460141a5 update to the new xcb api
SVN revision: 21328
2006-03-15 21:14:34 +00:00
doursse 2bd060ad29 update to the new xcb api, and a fix
SVN revision: 21326
2006-03-15 20:58:35 +00:00
doursse a2d6156402 missing file
SVN revision: 21176
2006-03-11 01:55:17 +00:00
doursse c4dff4d193 i've forgotten to remove that :)
SVN revision: 21173
2006-03-10 19:12:57 +00:00
doursse 1f3549a60b xrender xcb engine
SVN revision: 21172
2006-03-10 19:10:07 +00:00
doursse 6e63a2d07b argb target for software xcb engine supported
SVN revision: 21164
2006-03-10 07:44:23 +00:00
Carsten Haitzler 7e5f9cf26e ARGB targets for sw engine supported
SVN revision: 21119
2006-03-09 03:51:27 +00:00
Carsten Haitzler c7fc7cd9c8 add a dst alpha flag
SVN revision: 21104
2006-03-08 15:35:05 +00:00
Carsten Haitzler f88167ff79 check ptrs - no segv
SVN revision: 21100
2006-03-08 13:43:46 +00:00
Carsten Haitzler f8a6f603f5 umm... handle rgba dest properly...
SVN revision: 21090
2006-03-08 08:02:34 +00:00
Carsten Haitzler cbdc20a142 oops - soemoen changed the other symbols around while i changed the first set
SVN revision: 21063
2006-03-07 02:44:16 +00:00
quan74 2c18f833e9 make dist pkgs build again
SVN revision: 21057
2006-03-07 01:07:20 +00:00
stffrdhrn 9e57a967df Match up function names so gl_xll can work
SVN revision: 21056
2006-03-07 00:24:37 +00:00
Carsten Haitzler 1dcdaeec81 fix symbols
SVN revision: 21055
2006-03-07 00:02:16 +00:00
David Walter Seikel 2a63d6db9c .cvsignore++
SVN revision: 21006
2006-03-04 14:25:29 +00:00
Carsten Haitzler 0dfec152af and build
SVN revision: 20945
2006-03-03 07:36:46 +00:00
Carsten Haitzler c044dca01c keep the function call naming consistent with other engines of the same type.
SVN revision: 20944
2006-03-03 07:28:26 +00:00
doursse 699a1a4fea bad names
SVN revision: 20943
2006-03-03 06:51:25 +00:00
Carsten Haitzler 2e0b4a37e8 oops - missing dirs
SVN revision: 20917
2006-03-02 13:07:26 +00:00
doursse 1631126a97 warning--
SVN revision: 20916
2006-03-02 12:48:11 +00:00
Carsten Haitzler 0f9bb4b705 oops - nuke a \
SVN revision: 20910
2006-03-02 09:21:04 +00:00
Carsten Haitzler 0a1b835592 software engines all now totally inherit from software_generic and
xrender_x11 now partially inherits.


SVN revision: 20909
2006-03-02 09:16:46 +00:00
Carsten Haitzler 46c7d3b025 1. new engine inheritance scheme - its recursive if u want it to be, and so
far buffer, software_x11 and fb engines use it. need to make allother
software enignes use it next then the gl, cairo, xrender engines, then dfb.
it cuts out a LOT of duplicate code. makes writign a new engine or engine
variant much simpler


SVN revision: 20908
2006-03-02 08:06:10 +00:00
Carsten Haitzler f51753a4b8 rehinting works on the fly now
SVN revision: 20858
2006-03-01 03:48:03 +00:00
Carsten Haitzler 986bc3b7d0 rehinting works on the fly now
SVN revision: 20857
2006-03-01 03:48:02 +00:00
Carsten Haitzler e8bf4cdcbb make hinting an engine api thnig - engine apis need to be mroe easily updated
SVN revision: 20850
2006-02-28 04:07:49 +00:00
Carsten Haitzler 7ee17d1174 oops - yeah. watch the ptr.
SVN revision: 20830
2006-02-27 15:40:46 +00:00
stffrdhrn 436fcc1c36 FIXME: what do you do when fi is NULL?
* hint, don't SEGV.


SVN revision: 20824
2006-02-27 14:52:36 +00:00
Carsten Haitzler 10d6748b56 evas lets you choose font hinting - in theory. :)
SVN revision: 20823
2006-02-27 14:03:27 +00:00