doursse
21a5e030f2
not needed anymore as they are in their source file, now
...
SVN revision: 35156
2008-07-18 11:11:04 +00:00
doursse
d11bfc2323
remove trailing spaces
...
SVN revision: 35155
2008-07-18 11:04:06 +00:00
doursse
31f339cdc1
* copy inlined needed functions in evas_array.c, hence remove dependancy
...
of evas_common.h
* use size_t when needed
* add vim header
SVN revision: 35153
2008-07-18 09:38:03 +00:00
doursse
94a1de12d6
add windres detection by libtool
...
SVN revision: 35152
2008-07-18 09:22:09 +00:00
doursse
28d3ff0e8a
missing file
...
SVN revision: 35151
2008-07-18 09:19:29 +00:00
doursse
2497aae125
cvsignore++
...
SVN revision: 35150
2008-07-18 07:33:01 +00:00
doursse
92a8967501
* request the size in the engine info
...
* add a ressource file that set the video management
as non legacy. It forces device that are in vga to
run in vga and not in qvga with gapi
* use c++ calls to display error messages in evas_wince_ddraw.cpp.
It removes a problem during linking with some versions of cegcc
* minor fixing / formatting
SVN revision: 35148
2008-07-17 23:08:29 +00:00
doursse
ac88597078
make cache functions link properly when using c++ compiler
...
SVN revision: 35144
2008-07-17 20:42:22 +00:00
doursse
47e866557d
add cast for c++ compilers. Patch from Dmitriy Mazovka
...
SVN revision: 35138
2008-07-17 07:45:42 +00:00
doursse
e576961d89
add vi formatting stuff
...
SVN revision: 35131
2008-07-16 20:47:22 +00:00
doursse
77a014170b
formatting
...
SVN revision: 35130
2008-07-16 20:46:47 +00:00
doursse
3cf226d070
update the doc a bit. Typos
...
SVN revision: 35107
2008-07-14 16:51:02 +00:00
doursse
0fd75a462a
move pipe function declarations to their own file
...
SVN revision: 35064
2008-07-11 08:21:25 +00:00
doursse
493eb069a3
* remove trailing spaces in evas_pipe.c
...
* move scale function declarations to their own files
SVN revision: 35063
2008-07-11 06:36:30 +00:00
doursse
739be5c6b7
move evas_convert_main.h to evas_common.h
...
SVN revision: 35062
2008-07-11 05:50:56 +00:00
doursse
2679ced73b
move evas_object_list declaration from evas_common.h to Evas_Data.h
...
SVN revision: 35061
2008-07-11 05:42:44 +00:00
doursse
312b0dfc6c
add header files to the distribution
...
SVN revision: 35059
2008-07-10 22:58:04 +00:00
doursse
fb9313c024
* move convert function declarations to their own header file
...
* add vim header in the files I modified
* fix minor warnings
i think i don't break compilation on that commit :)
SVN revision: 35058
2008-07-10 22:53:33 +00:00
Carsten Haitzler
5b74833dfb
broke evas! change other evas_common_array calls to be evas_array! :)
...
SVN revision: 35056
2008-07-10 21:14:44 +00:00
doursse
b5011a094e
evas_common_array_hash_free --> evas_array_hash_free
...
SVN revision: 35054
2008-07-10 18:12:45 +00:00
doursse
0760cc6776
evas_common_array_hash_free --> evas_array_hash_free
...
SVN revision: 35053
2008-07-10 18:08:18 +00:00
doursse
9b35bc26f3
* move evas_mempool from main.c to it's own file in data/ as it's only
...
used by evas_list
* add a header files for evas_cache, evas_path and evas_module
* remove trailing spaces in evas_list.c
SVN revision: 35052
2008-07-10 16:38:54 +00:00
doursse
11a6fd276c
fix comment
...
SVN revision: 35043
2008-07-09 16:56:33 +00:00
doursse
993697fec7
* move _Evas_Object_List and _Evas_Hash structures to Evas_Data.h
...
* move Evas_Array_Hash and Evas_Object_List declarations to Evas_Data.h
* move evas_array_hash.c from engines/common/ to data/
* remove Evas_Array_Double_Hash declaration (not used)
SVN revision: 35042
2008-07-09 16:50:33 +00:00
Carsten Haitzler
3242217c16
cedric rect + arrays patch for reducing allocs
...
SVN revision: 35024
2008-07-07 21:29:29 +00:00
doursse
72803ae3e7
update software xcb engine to use the latest cache system
...
SVN revision: 35019
2008-07-07 19:22:20 +00:00
doursse
2bda662d65
add Evas_Data.h to the headers to be installed
...
SVN revision: 34975
2008-07-02 04:46:20 +00:00
doursse
a9e090a81b
* move Evas_Hash_El from evas_common.h to evas_hash.c as
...
it is not used outside evas_hash.c
* move data types api from Evas.h to Evas_Data.h
SVN revision: 34974
2008-07-02 04:44:38 +00:00
Carsten Haitzler
6f480338d4
cover up segv where somehow the alpha flag is set in the 16bit engine but the
...
alpha pixel pointer is NULL. couldn't see where that happens, but it's now
protected against it.
SVN revision: 34968
2008-07-02 00:57:26 +00:00
doursse
448faf03a5
speed up glew engine compilation
...
SVN revision: 34945
2008-06-29 14:09:26 +00:00
Gustavo Sverzut Barbieri
d6b97fd852
Destroy pthread_attr when we do not need it anymore.
...
pthread manual says it is safe to destroy them after they are used
with pthread_create: "If the attributes specified by attr are modified
later, the thread���s attributes shall not be affected."
SVN revision: 34937
2008-06-28 15:29:57 +00:00
Peter Wehrfritz
254d60b8a4
add documentation stubs for the textblock
...
SVN revision: 34935
2008-06-28 10:55:58 +00:00
doursse
cf5d5718e2
put initialisation of glew in the engine, update the engine so that it uses the cache system
...
SVN revision: 34912
2008-06-26 08:29:25 +00:00
doursse
3d95a7bf7e
do not use dladdr on MinGW platform
...
SVN revision: 34905
2008-06-25 06:47:11 +00:00
doursse
23488e9a60
put directdraw initialisation in the engine. use the evas cache
...
SVN revision: 34903
2008-06-25 06:40:10 +00:00
Carsten Haitzler
d8288d5531
bad *alloc! bad sizeof usage. bad! :)
...
SVN revision: 34856
2008-06-19 04:09:33 +00:00
Cedric BAIL
c5ecd8819e
Remove unused file.
...
SVN revision: 34844
2008-06-17 13:31:13 +00:00
Cedric BAIL
2ebe01d957
Correct the removal of an object.
...
SVN revision: 34842
2008-06-17 11:24:48 +00:00
Cedric BAIL
3796312acf
Cleanly handle evas_object_release.
...
SVN revision: 34841
2008-06-17 09:04:12 +00:00
Carsten Haitzler
d4e8f592bb
fix arrya state engin issue... redraws vanishing. fixed!
...
SVN revision: 34808
2008-06-12 13:22:26 +00:00
Cedric BAIL
4c9f900c60
Check the correct colorspace.
...
SVN revision: 34796
2008-06-10 14:21:06 +00:00
Cedric BAIL
0de14ee3ef
Use display list for OpenGL polygons implementation. This improve speed on
...
my computer in expedite test bench from 400 to 650.
SVN revision: 34795
2008-06-10 12:18:54 +00:00
Cedric BAIL
7711f12d8e
Use directly Image_Entry when possible.
...
SVN revision: 34792
2008-06-10 09:22:27 +00:00
Cedric BAIL
346b2c922d
Fix width correctly depending on colorspace.
...
SVN revision: 34791
2008-06-10 09:20:41 +00:00
Cedric BAIL
47bf4e1999
cvsignore++
...
SVN revision: 34778
2008-06-09 08:59:09 +00:00
doursse
4e78b97de8
Fix engine wrt the latest changes in evas. Add error messages
...
SVN revision: 34757
2008-06-06 12:14:01 +00:00
Cedric BAIL
6a1b1c5ef9
Forgot to update the current allocated space.
...
SVN revision: 34744
2008-06-05 08:12:25 +00:00
Cedric BAIL
e95f38aed8
Remove now useless code to force evas_render cache invalidation.
...
SVN revision: 34738
2008-06-04 16:44:05 +00:00
Cedric BAIL
eaedf88d4d
Fix osbcuring case with evas_render cache.
...
SVN revision: 34737
2008-06-04 16:42:39 +00:00
Cedric BAIL
1a1f807026
Their should be no direct modification of Evas_Object changed flag.
...
SVN revision: 34736
2008-06-04 16:41:16 +00:00
Cedric BAIL
55bc10d2a0
Add evas_array_remove.
...
SVN revision: 34735
2008-06-04 16:39:43 +00:00
Cedric BAIL
2b8c136ad9
Fix a little bug with alpha flags not being correctly set.
...
SVN revision: 34734
2008-06-04 08:20:39 +00:00
Gustavo Sverzut Barbieri
b802f4c94a
Add evas_object_event_callback_del_full()
...
This will check both function and data before removing the callback,
this is useful when you have lots of children monitoring parent, when
one child want to remove its monitoring function, others will remain.
Name is quite difficult to choose, I opted for "_full", but could be
"_with_data" or similar.
SVN revision: 34731
2008-06-03 20:33:40 +00:00
Cedric BAIL
9feac9ef8b
Fix common 16bpp engine use of alpha.
...
SVN revision: 34729
2008-06-03 14:45:39 +00:00
Cedric BAIL
d102e3db82
* Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
...
Image_Entry flag structure. This fix a bug with 16 bpp software engine.
* Change image loader module API to take any Image_Entry. Same goes
for evas_common_image_premul and evas_common_image_set_alpha_sparse.
* Use new eet API: eet_data_image_read_to_surface.
SVN revision: 34728
2008-06-03 09:09:39 +00:00
doursse
03109fff6c
add cvsignore
...
SVN revision: 34724
2008-06-02 06:40:26 +00:00
Carsten Haitzler
c510afbd8e
end_opt not needed there.
...
SVN revision: 34715
2008-06-01 00:40:58 +00:00
Carsten Haitzler
7752c8a3e5
and fix the gradient bug - yes. it is a GRADIENT BUG. you emms() when u are
...
totally done and may hand control back to a non rendering codepath - or
before u do any fp ops u are unsure of the cpu state beforehand. see the big
fat comment.
i was right. it was a missing emms.
SVN revision: 34707
2008-05-31 04:16:39 +00:00
Cedric BAIL
0c85857e57
Fix a typo.
...
SVN revision: 34701
2008-05-30 13:55:51 +00:00
Cedric BAIL
0ca6c0a0bb
Add a private data member to cache image structure.
...
SVN revision: 34700
2008-05-30 13:33:40 +00:00
doursse
7f47953b78
missing EAPI in front of evas_common_gradient_geometer_get()
...
other gradient related functions (lines 1138 - 1143) seem to
be used only internally. Maybe we should move them elsewhere.
SVN revision: 34694
2008-05-30 05:56:53 +00:00
doursse
37eed61ee8
put unistd.h after sys/types.h. Seems to be needed for vc++. Thanks to Dmitriy Mazovka
...
SVN revision: 34691
2008-05-29 05:48:16 +00:00
doursse
ff73a369c4
reorganise a bit the output of configure for the engines: display
...
the buffer one at first (always compiled), then Xlib ones, XCB ones,
Windows ones, followed by others less used (SDL, FB, Qtopia). I
let the 16 bits ones at the end in the same order (Xlib, Windows, SDL).
SVN revision: 34690
2008-05-29 05:43:12 +00:00
Carsten Haitzler
43821d36e4
* add efreet garbage data check
...
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now
SVN revision: 34689
2008-05-29 02:00:04 +00:00
Gustavo Sverzut Barbieri
41e5ba66b6
Mark as dirty, fixes emotion usage.
...
SVN revision: 34687
2008-05-28 19:27:41 +00:00
Gustavo Sverzut Barbieri
40a63c7965
Fix typo!
...
SVN revision: 34686
2008-05-28 18:00:04 +00:00
Cedric BAIL
eaa23bebce
Replace evas_list used by evas_render by a cache of evas_array.
...
README: This should not break any EFL applications, but please check and report any breakage to me.
SVN revision: 34677
2008-05-26 13:24:24 +00:00
Cedric BAIL
c766fe91db
Add array type to evas.
...
SVN revision: 34676
2008-05-26 13:17:12 +00:00
Cedric BAIL
777410eac2
Make the most used functions inline functions.
...
SVN revision: 34675
2008-05-26 13:08:54 +00:00
doursse
9e83f3f72a
remove space
...
SVN revision: 34669
2008-05-25 18:22:00 +00:00
doursse
b9ac050dd2
add DirectDraw backend. Seems faster on pda's that have it
...
SVN revision: 34668
2008-05-25 17:39:48 +00:00
doursse
5ce3b6752b
fix compilation with a c++ compiler, add EAPI in front of all cache function declarations
...
SVN revision: 34659
2008-05-24 18:26:51 +00:00
doursse
51e193610d
remove debug printf
...
SVN revision: 34652
2008-05-23 18:57:40 +00:00
doursse
0f071fe71d
* put key management outside the engine. It's not its place in it
...
* make Ipaq H38xx and H39xx work with the framebuffer
SVN revision: 34650
2008-05-23 18:26:41 +00:00
doursse
a1e64a5e9c
fix framebuffer address on Ipaq H38xx and H39xx. GAPI is really really broken on these devices
...
SVN revision: 34642
2008-05-22 11:00:01 +00:00
doursse
4d7eac659d
fix keys on Ipaq H38xx and H39xx
...
SVN revision: 34641
2008-05-22 10:40:40 +00:00
Cedric BAIL
0e253aaca6
Their is no more allocation with evas_object_list. Remove useless test.
...
SVN revision: 34633
2008-05-21 12:23:47 +00:00
Gustavo Sverzut Barbieri
a4ed92a1a5
Remove bugs with bitfield usage, make boolean usage clear.
...
This patch fixes the problem with bitfield of signed types (ie: char),
where the bit would be used for the signal, so 1 is considered -0 and
thus 0.
Move all the single bit fields to Evas_Bool, making it clear and also
avoiding these problems since Evas_Bool is unsigned char.
SVN revision: 34631
2008-05-20 20:56:39 +00:00
Carsten Haitzler
906040dab0
add a cancel to all mouse butotn presses
...
SVN revision: 34607
2008-05-19 04:15:22 +00:00
Carsten Haitzler
cd0fd38a9c
add file
...
SVN revision: 34606
2008-05-19 03:37:37 +00:00
Carsten Haitzler
0d42705593
adapt to newer valgrind goop
...
SVN revision: 34605
2008-05-19 03:29:54 +00:00
Carsten Haitzler
5887bde860
colorspace stuff in cvs.
...
SVN revision: 34604
2008-05-19 03:13:16 +00:00
Carsten Haitzler
6982d7fb37
pass make distcheck and a snapshot asparagus release - been a while
...
SVN revision: 34600
2008-05-19 00:07:12 +00:00
doursse
37607b5e8e
config.h is already included in evas_common.h
...
SVN revision: 34599
2008-05-18 22:28:10 +00:00
doursse
fb826a2200
remove trailing spaces
...
SVN revision: 34586
2008-05-16 04:55:31 +00:00
Cedric BAIL
b85c0672c4
Update the stride when needed.
...
SVN revision: 34566
2008-05-14 16:38:36 +00:00
Peter Wehrfritz
bb1f257f5f
build again
...
SVN revision: 34565
2008-05-14 11:26:29 +00:00
doursse
db311f0b05
wrong inclusion of Evas.h
...
SVN revision: 34561
2008-05-13 20:58:15 +00:00
Gustavo Sverzut Barbieri
782e77d9ae
Remove DirectFB, will add a new one based on SDL code.
...
Remove DirectFB, will create a new one based on SDL.
SVN revision: 34559
2008-05-13 19:32:00 +00:00
doursse
d7e2cb5163
Ipaq H38** and H39** are considered as landscape device because of their uglyness
...
SVN revision: 34517
2008-05-09 23:12:00 +00:00
Christopher Michael
355b22f3a7
Add missing prototype for _evas_cache_image_entry_delete because it was
...
being used before the function was defined.
SVN revision: 34516
2008-05-09 19:04:49 +00:00
Cedric BAIL
d31b0db3ca
Fix a bug when a file change when it's still in use. Thanks to Adriano Rezende for helping tracking the bug.
...
SVN revision: 34513
2008-05-09 16:18:18 +00:00
Carsten Haitzler
6c439dbd46
stringshare buckets -> 1024 + debugging for testing.
...
SVN revision: 34509
2008-05-08 08:34:55 +00:00
doursse
340d0ed554
remove a possible seg fault when DestroyWindow() is called
...
SVN revision: 34507
2008-05-08 06:46:26 +00:00
Cedric BAIL
5f41def624
Only call the allocation surface when required and correctly handle no_free.
...
SVN revision: 34480
2008-05-06 11:20:29 +00:00
Cedric BAIL
abf7191322
Add some message when testing configure parameter.
...
SVN revision: 34478
2008-05-06 09:33:06 +00:00
kaethorn
39689b953b
fix Debian packaging.
...
SVN revision: 34475
2008-05-06 08:37:29 +00:00
kaethorn
a7d00c7674
Debian package dependency from libeet0 -> libeet1.
...
SVN revision: 34469
2008-05-06 02:10:50 +00:00
Carsten Haitzler
866666fe33
lutin patch to make pthread strictable
...
SVN revision: 34462
2008-05-05 09:21:15 +00:00
Carsten Haitzler
0688234e2f
notes - cedric... i think i may have found a problem here...
...
SVN revision: 34443
2008-05-03 08:31:26 +00:00
Carsten Haitzler
42facfffe6
1. dont free/realoc if no_free is set.
...
2. free then malloc otherwise realloc might ALSO have to memcpy if it cant
resize the segment whihc means overhead we dont need/want.
SVN revision: 34441
2008-05-03 06:38:45 +00:00
Carsten Haitzler
14e2187305
get rid of 0 byte alloc
...
SVN revision: 34440
2008-05-03 05:33:26 +00:00
Gustavo Sverzut Barbieri
f89e8850c2
Fix users of evas_object_layer_set() outside the "short" range.
...
This also introduces EVAS_LAYER_MIN and EVAS_LAYER_MAX for ease of use.
SVN revision: 34421
2008-05-01 06:39:27 +00:00
Gustavo Sverzut Barbieri
27437c83cf
Make layer number a short and Save 8 bytes.
...
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.
Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.
Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.
SVN revision: 34420
2008-05-01 06:18:21 +00:00
Gustavo Sverzut Barbieri
7a82a3e43d
Save 20 bytes moving smart data to its specific object struct.
...
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).
There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.
SVN revision: 34419
2008-05-01 05:48:03 +00:00
Gustavo Sverzut Barbieri
4bc8043a10
Save 8 bytes from Evas_Object by packing interpolation.color_space.
...
Interpolation color_space (now ASHV or ARGB) was being used inside a
struct with 4 byte alignment. Remove it from the struct and make it a
bitfield so can be packed with the other fields. This saves 2
integers, so 8 bytes.
SVN revision: 34418
2008-05-01 04:14:08 +00:00
Gustavo Sverzut Barbieri
625e124f05
Reorganize Evas_Object to save 20 bytes.
...
This is a repack of bitfield members, was tested on GNU/Linux + GCC 4.1.2
and works fine. Needs further testing on other compilers.
SVN revision: 34417
2008-05-01 03:52:20 +00:00
Gustavo Sverzut Barbieri
80f8e23d77
Use more specific types in Evas_Object.
...
SVN revision: 34416
2008-05-01 03:42:21 +00:00
Gustavo Sverzut Barbieri
14cf29eede
Use Evas_Coord_Rectangle in evas_object_image.c
...
SVN revision: 34415
2008-05-01 00:09:39 +00:00
Gustavo Sverzut Barbieri
29549249c4
Cosmetic: add name to structs: Evas_Coord_Rectangle.
...
Non-intrusive change to name structs of Evas_Coord x, y, w, h.
TODO: intrusive changes to use this struct, will need to fix ".c"
SVN revision: 34414
2008-04-30 23:58:43 +00:00
Gustavo Sverzut Barbieri
dbf35460a6
Cosmetic: Visual alignment of member name.
...
SVN revision: 34413
2008-04-30 23:44:03 +00:00
Gustavo Sverzut Barbieri
b46fc2a2f4
Save memory related to size hints.
...
Size hints are useful, but wasting 36 bytes for it on every object is a bit
too much: clippers and lots of other objects will have no need for it.
Now it's a pointer to a struct that will be allocated just when some value
is set, wasting 4/8 bytes more for the pointer when it is used, but saving
32/28 bytes when it is not.
This will also help to have alignment properties in future, that can come
as hints, without too much impact on memory consumption.
SVN revision: 34412
2008-04-30 22:51:08 +00:00
Gustavo Sverzut Barbieri
54c06677b4
Export missing size_hints methods.
...
SVN revision: 34411
2008-04-30 22:13:50 +00:00
Cedric BAIL
2a123c0d6a
Add support for evas asynchronous events.
...
SVN revision: 34410
2008-04-30 12:21:31 +00:00
Carsten Haitzler
5b10356d45
endif++!
...
SVN revision: 34407
2008-04-30 07:24:10 +00:00
doursse
39f63d6690
wrong commit
...
SVN revision: 34404
2008-04-29 22:38:27 +00:00
doursse
5c222ddccf
use dladdr on windows, thanks to evil
...
SVN revision: 34403
2008-04-29 22:33:30 +00:00
kaethorn
ace1e213d7
Merge with Debian files from PkgE.
...
SVN revision: 34393
2008-04-28 15:09:40 +00:00
doursse
a6a3a2a9db
the address returned by draw_begin can be NULL
...
SVN revision: 34373
2008-04-26 12:32:29 +00:00
Gustavo Sverzut Barbieri
247e2556a5
Evas_Bool should be unsigned.
...
This will help the use of Evas_Bool to define bitfield structs like in:
struct s {
Evas_Bool a:1;
Evas_Bool b:1;
Evas_Bool c:1;
Evas_Bool d:1;
Evas_Bool e:1;
Evas_Bool f:1;
Evas_Bool g:1;
Evas_Bool h:1;
Evas_Bool i:1;
};
It must be unsigned or it would use the signal bit, having "a == 0" to
be true anyway, as it would be just +0 and -0.
SVN revision: 34362
2008-04-24 15:31:57 +00:00
Cedric BAIL
3938160157
Fix directfb engine with new Evas cache API.
...
NOTE: This engine should be rewritten and use the new engine cache api.
SVN revision: 34360
2008-04-24 14:37:14 +00:00
doursse
39289b21d5
forget to modify some calls. Now fb and gapi should work
...
SVN revision: 34359
2008-04-24 06:18:09 +00:00
doursse
208d20a30f
* Add Windows CE engine (1st step)
...
The engine is not entirely working right now. Recent devices which
supports the raw frame buffer should work though. But having it in
cvs will help me as I'm coding it most of the time "blindly" (no
device to test it)
* minor formatting in the top evel Makefile.am too
SVN revision: 34354
2008-04-23 19:17:59 +00:00
doursse
56eacad43d
Autotools cleaning (not complete)
...
* formatting
* put WIN32_CFLAGS in AM_CFLAGS and not AM_CPPFLAGS, as it is where it belongs
* rename create_shared_lib to lt_no_undefined
* pass -Wl,--enable-auto-import to libtool when compiling with cegcc
* add files to EXTRA_DIST only when they are not in _SOURCES or _include_HEADERS (they
are added anyway)
SVN revision: 34353
2008-04-23 06:55:10 +00:00
Cedric BAIL
47c7f1aa08
Fix a bug caused by duplicated entry in the activ and dirty cache list.
...
SVN revision: 34302
2008-04-17 15:30:03 +00:00
Carsten Haitzler
184bfa989d
fix image dirties with yuv and software rendering
...
SVN revision: 34272
2008-04-15 15:20:53 +00:00
Cedric BAIL
1a9cfba889
Removing trailing white spaces.
...
SVN revision: 34269
2008-04-14 09:31:31 +00:00
Carsten Haitzler
661971e309
remove old pc.in
...
SVN revision: 34262
2008-04-13 12:39:14 +00:00
Carsten Haitzler
38689004fb
missed this. add.
...
SVN revision: 34255
2008-04-12 05:33:13 +00:00
Carsten Haitzler
35b8f22752
add missing files.
...
SVN revision: 34254
2008-04-12 02:11:07 +00:00
Carsten Haitzler
ae1977a214
cedric's cache changes patch
...
SVN revision: 34253
2008-04-12 00:32:30 +00:00
Carsten Haitzler
c290fa032d
add fb.
...
SVN revision: 34252
2008-04-12 00:14:20 +00:00
Carsten Haitzler
88a9479175
update pkgconfig checks for fb engine. - lars.
...
SVN revision: 34251
2008-04-11 23:41:44 +00:00
Carsten Haitzler
27f1963fcb
gustavo's size hint patch.
...
SVN revision: 34248
2008-04-11 23:12:20 +00:00
Carsten Haitzler
87f4bedb81
if xrender is on a 16bpp target - do some "faster" paths - i hope.
...
SVN revision: 34216
2008-04-07 23:07:23 +00:00
Peter Wehrfritz
57362186b6
typo, thanks to stalwart1
...
SVN revision: 34192
2008-04-05 18:00:37 +00:00
Carsten Haitzler
a11b5c4769
deps lists/ debugging too...
...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler
73b6cc9ff8
add a hold event to feed.
...
SVN revision: 34160
2008-03-31 21:38:38 +00:00
doursse
3ba03eab45
remove the explicit use of the DirectDraw interface by using the c++ API
...
SVN revision: 34153
2008-03-30 16:06:21 +00:00
doursse
ebd938e4b1
remove the explicit use of the DirectDraw interface by using the c++ API
...
SVN revision: 34147
2008-03-30 09:16:53 +00:00
Gustavo Sverzut Barbieri
7fe7199a0c
Minor reorganization of Evas_Object fields.
...
Move pointer_mode (size 4) before bitfields, leave 'delete_me' as it's
a byte, this still have 2 bits left from unsigned short and another
byte around delete_me to make it grom from 244 bytes.
SVN revision: 34068
2008-03-21 07:13:46 +00:00
Carsten Haitzler
f2aeab1bd6
fix some escaping :)
...
SVN revision: 34066
2008-03-20 21:15:16 +00:00
doursse
219831980f
* Remove Windows code in evas_module.c and use evilness instead
...
* Allow Windows Mobile to correctly load dll's
* Use correct scheme for EAPI on Windows and include config.h when necessary
* add -mwin32 to compiler flags when compiling with cegcc
SVN revision: 34024
2008-03-14 16:49:49 +00:00
doursse
9f50836a12
update of the software xcb engine:
...
* use the pixman library for the region code (it is required, now). That
libray can be found in the cairo ftp.
* use the new xcb_image api that is in git repository. There is still a
seg fault occuring because of xcb_image. I'll commit the fix in git
next week.
The performance are not good at all. With expedite, 360 fps compared to
the 470 fps with xlib. I don't know why yet.
SVN revision: 33965
2008-03-09 13:21:16 +00:00
Carsten Haitzler
c1fb45dcea
poosible segv - but never gets run so it never happens
...
SVN revision: 33964
2008-03-09 09:35:12 +00:00
Gustavo Sverzut Barbieri
79a5be8ec3
Fix missing null terminator in textblock.
...
Although I used 3 lines comments to state it was not required, it is
required because none of the values accounted includes the '\0'.
SVN revision: 33940
2008-03-06 01:06:58 +00:00
Gustavo Sverzut Barbieri
23c566bb07
Cleanup textblock's strbuf implementation.
...
This should provide correct code in a simpler way by sharing some of
the common code among functions.
Tested with E17 basics, require some applications with extensive usage
of textblock manipulation to do validate results.
SVN revision: 33939
2008-03-06 00:41:47 +00:00
Gustavo Sverzut Barbieri
4bd8fdaeeb
Fix evas_object_textblock's strbuf implementation.
...
Code was not tracking the real size of the allocated memory and was
increasing the string size by one, so the '\0' was being accounted and
the string was being truncated visually.
Patch will remember the exact allocated size and just increment the
string size by the added string, not including it's null-byte
terminator.
This is based on Cedric's BAIL patch set 'evas_object_textblock more
character fix', but doing the minimum to fix the problem.
PS: this code will be rewritten to share some implementation in next commit.
SVN revision: 33937
2008-03-05 21:30:22 +00:00
Peter Wehrfritz
5acbfcb6e3
add portable pixmaps image loader
...
SVN revision: 33880
2008-03-01 15:27:20 +00:00
Carsten Haitzler
e076a78519
cedric's eet and edje patches to use eet dictionaries for strings.
...
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Carsten Haitzler
23aef39670
ooh - a case where callbacks may be cleared but we call one - list entry not
...
nulled out. fix.
SVN revision: 33848
2008-02-26 09:16:17 +00:00
Gustavo Sverzut Barbieri
a3ac3697ec
Try to get DirectFB working.
...
This is an initial cleanup, basically I removed all the DirectFB
accelerated calls and moved it to software common. I do plan to
gradually bring these back later, probably blit, rectangle and line
will come first.
SVN revision: 33835
2008-02-25 06:13:53 +00:00
Horms
5ac42d953d
Add build-dependancy on pkg-config
...
As aclocal may be called via autogen.sh during the Debian build process
add an explicit build dependancy on pkg-config which includes
/usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_MODULES macro.
SVN revision: 33781
2008-02-18 07:44:11 +00:00
Horms
b6106eeed1
evas: include autogen.sh in distribution tar ball
...
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.
SVN revision: 33774
2008-02-18 07:20:50 +00:00
Horms
2323e5d1ab
evas: Update libgl build dependancy
...
libgl-dev is now a virtual package provided by libgl1-mesa-swx11-dev and
libgl1-mesa-dev, so one of these packages needs to be the build dependancy
instead of libgl-dev.
libgl1-mesa-dev seems to be the most logical choice as it can
be installed with minimal disruption on a vanilla install.
SVN revision: 33773
2008-02-18 07:15:48 +00:00
Gustavo Sverzut Barbieri
4d5430d438
Add room for '\0' in textblock calculations.
...
In evas_object_textblock, the length forgot the '\0', this create a
buffer overrun.
Author: Cedric BAIL
SVN revision: 33747
2008-02-15 14:45:31 +00:00
Gustavo Sverzut Barbieri
9b983b96b1
Patch by Cedric to really shutdown font system.
...
every thing is not really cleaned on shutdown (It make it crash, if
you shutdown completely the font system and then restart it again).
Author: Cedric BAIL
SVN revision: 33746
2008-02-15 14:43:51 +00:00
doursse
d84ab190e6
disable the creation and installation of the static lib of
...
the modules by passing the disable-static tag to libtool
SVN revision: 33739
2008-02-13 07:55:24 +00:00
Gustavo Sverzut Barbieri
5d571051b9
Add const to Evas api: objects and remaining bits.
...
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri
2756696bbe
Add const to Evas aoi (part 3), still lacks objects.
...
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Gustavo Sverzut Barbieri
bbc9773a26
Add const to Evas api (part 2), still lacks objects.
...
SVN revision: 33713
2008-02-08 20:57:30 +00:00
Gustavo Sverzut Barbieri
1def3acd63
Missing const to callback parameter.
...
SVN revision: 33712
2008-02-08 20:54:18 +00:00
Gustavo Sverzut Barbieri
5233796eb5
Add const to Evas api, still lacks objects.
...
SVN revision: 33711
2008-02-08 20:44:09 +00:00
Gustavo Sverzut Barbieri
2f346db9a9
Partial fix to evas_hash_foreach() const change.
...
This fixes the prototype, however it still issues a warning about a
real bug: calling evas_hash_modify() during evas_hash_foreach()
SVN revision: 33710
2008-02-08 20:42:10 +00:00
Gustavo Sverzut Barbieri
903a4d6e4d
Add const to Evas_Smart_Class pointer.
...
The previous commit just removed the warning, but it was not the ideal
solution. The class is really a constant, nobody should change it
after it's assigned.
SVN revision: 33709
2008-02-08 20:03:48 +00:00
Gustavo Sverzut Barbieri
7cb7216314
Add const: evas_hash.c
...
As agreed on IRC, evas_hash_foreach() now takes const, to make clear
that hash shouldn't be changed. If one wants to change he must do a
cast and return 0. However this will require users to be updated in
applications.
SVN revision: 33708
2008-02-08 19:55:03 +00:00
Gustavo Sverzut Barbieri
72b005350a
Add missing cast.
...
SVN revision: 33707
2008-02-08 19:51:02 +00:00
Gustavo Sverzut Barbieri
1d5d592e14
Add const: evas_list.c
...
SVN revision: 33706
2008-02-08 19:16:13 +00:00
Gustavo Sverzut Barbieri
de12b6d89a
Avoid lots of casts.
...
SVN revision: 33704
2008-02-08 18:42:42 +00:00
Carsten Haitzler
67844ebc4c
1. fix abort in tiff loader
...
2. slidesel theme garbage trailing. nuke
3. icon obj can have pre-scale set not. default is as before.
4. printf-- in slidesel
SVN revision: 33677
2008-02-05 12:00:19 +00:00
Christopher Michael
865f8ada56
Comment out unused variable. Seems the functions that were supposed to use
...
it are commented out, but the variable was left. Fixed.
SVN revision: 33659
2008-02-01 01:50:56 +00:00
Christopher Michael
f665bd40d6
Comment out unused function...was giving a "defined but not used" warning
...
during compile. Left function intact, just commented out, in case it was
meant for use later.
SVN revision: 33658
2008-02-01 01:45:46 +00:00
Mike Frysinger
ada82df743
__USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE
...
SVN revision: 33619
2008-01-26 06:01:00 +00:00
Mike Frysinger
9cda799943
set proper ACLOCAL_AMFLAGS
...
SVN revision: 33605
2008-01-25 04:40:28 +00:00
Carsten Haitzler
92e084f9ca
asparagus! also pass distcheck and have common autofoo init that is
...
consistent for package, version etc.
SVN revision: 33602
2008-01-25 03:35:49 +00:00
Carsten Haitzler
40843fe689
probably long overdue - if stringshare add/del get a null string - safely
...
return null or just return
SVN revision: 33576
2008-01-24 00:57:20 +00:00
Carsten Haitzler
f8a8489e92
and have the event surfivie between object calls - that was an oops!
...
SVN revision: 33563
2008-01-23 09:00:59 +00:00
Carsten Haitzler
a20bf8dc09
and... set event flags to 0 damnit!
...
SVN revision: 33561
2008-01-23 08:27:13 +00:00
Carsten Haitzler
cba063d93b
i've added event flags. this allows objects on top to add flags tyo events
...
(like put an event on hold) while it still passes through. object under it
need to be awar of evewnts being on hold as you may want hypbrid behaviors.
SVN revision: 33560
2008-01-23 04:19:26 +00:00
Carsten Haitzler
d413c7c6b7
hrrm. 0x0 textures - libGL in new nvidia drivers is most unhappy with! fix.
...
SVN revision: 33548
2008-01-22 05:31:25 +00:00
Carsten Haitzler
23416631c1
only 0 on init if image has alpha
...
SVN revision: 33537
2008-01-20 04:15:31 +00:00
Carsten Haitzler
c1441e1c3a
e:
...
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.
ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape
evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).
SVN revision: 33448
2008-01-11 07:33:57 +00:00
Gustavo Sverzut Barbieri
e6db6ad10b
Fix bug with out-of-screen paiting in software_16
...
Things like expedite's "Image Qualit Scale" that blited with x,y
negative were giving incorrect clip rectangle.
SVN revision: 33326
2008-01-02 20:58:29 +00:00
moom
8a05a8d250
* [GL-engine] Do software YUV-conversion if GLSL is not supported. I
...
can't test it on a GLSL card, so I hope it didn't break anything. If
something is broken, feel free to revert! (but it would probably just be
related to the way it detects GLSL support at l.78 of evas_gl_context.c)
SVN revision: 33242
2007-12-25 11:12:39 +00:00
Carsten Haitzler
1c950e9cc6
missing -lXrender
...
where did that go?
SVN revision: 33168
2007-12-17 10:07:48 +00:00
Carsten Haitzler
5e2bbbbfab
simple x11 linking
...
SVN revision: 33160
2007-12-16 03:37:03 +00:00
Carsten Haitzler
0112fdc383
patches, caching fixes, zone dynamic creation/deletion handling, stuff.
...
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Brett Nash
f30bb5ed4a
Make layer get work correctly for smart members.
...
Currently works fine until you change the smart objects layer.
SVN revision: 33117
2007-12-12 23:52:18 +00:00
doursse
b8674c0a38
don't autodetect Glew
...
SVN revision: 33028
2007-12-06 19:59:01 +00:00
Davide Andreoli
c96d7042dd
This fix the main page to be displayed. But it really need a content update.
...
SVN revision: 33027
2007-12-06 19:24:28 +00:00
Davide Andreoli
67d18019fb
Update doxy style
...
SVN revision: 33026
2007-12-06 19:19:07 +00:00
doursse
e1b4b3b9cf
add --enable-strict option to configure:
...
* when it is used and when another --enable-foo is passed, if foo is
not found, configure fails and displays an error message.
* when it is not used, the old behavior (auto-detect) is not changed: if
--enable-foo is passed and foo is not found, configure does not fail.
SVN revision: 33014
2007-12-06 09:36:06 +00:00
Sebastian Dransfeld
631f96bc0e
formatting
...
SVN revision: 32946
2007-12-02 19:44:27 +00:00
Gustavo Sverzut Barbieri
3a64b46646
Fix possible memory leak with software_16.
...
If image data is not loaded at all, engine must free associated 32 bit
structure.
SVN revision: 32781
2007-11-19 22:27:02 +00:00
doursse
5aeba351c0
fix detection of the glew engine. Add some messages during configure
...
SVN revision: 32765
2007-11-18 22:10:50 +00:00
kaethorn
0c97103851
enable fb, disable directx.
...
SVN revision: 32677
2007-11-14 17:03:12 +00:00
Carsten Haitzler
c10ccad763
static func - cedric patch
...
SVN revision: 32649
2007-11-13 05:58:50 +00:00
Carsten Haitzler
c6df44802c
As requested -
...
debian--, gendoc++
SVN revision: 32476
2007-11-07 22:56:05 +00:00
Michael Jennings
d7997fe020
Tue Nov 6 21:42:00 2007 Michael Jennings (mej)
...
Spec and build fixes.
----------------------------------------------------------------------
SVN revision: 32416
2007-11-07 05:42:08 +00:00
ningerso
79acfe35f8
Fix awk portability by removing the space between the -F flag and its arg.
...
SVN revision: 32415
2007-11-07 05:31:17 +00:00
Sebastian Dransfeld
5294951917
Use $enableval directly.
...
AC_HELP_STRING
SVN revision: 32399
2007-11-06 06:44:54 +00:00
Sebastian Dransfeld
bb691aab87
Create macros for converters.
...
AC_CHECK_HEADER -> AC_CHECK_HEADERS when there are several headers to check
Use PKG_CHECK_EXISTS macro.
Add AC_HELP_STRING to AC_ARG_ENABLE, and fix some default enable/disable.
SVN revision: 32370
2007-11-05 07:55:17 +00:00
Sebastian Dransfeld
02d5a68dd1
ed isn't enabled by default.
...
SVN revision: 32369
2007-11-05 06:15:53 +00:00
Sebastian Dransfeld
2449e5ec7b
Use correct value for png libs and cflags
...
SVN revision: 32363
2007-11-04 20:16:07 +00:00
Sebastian Dransfeld
fa55e52a51
Let the value for AC_ARG_ENABLE reflect the default status (enable/disable).
...
SVN revision: 32362
2007-11-04 20:01:33 +00:00
Sebastian Dransfeld
d4073fc07a
Clean up configure.in file
...
SVN revision: 32358
2007-11-04 19:09:19 +00:00
doursse
4111b41055
add mail to AC_INIT
...
SVN revision: 32343
2007-11-04 09:55:39 +00:00
doursse
e21fb0f122
autostuff improvements:
...
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
and check the required minimal versions.
* add bzipped distribution archive
* add AC_LIBTOOL_WIN32_DLL
* forbid libtool to check fortran
* compute libtool versioning from the version of the package
* pass the directories based on ${prefix} to the preoprocessor
with the -D option
* replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
* remove useless -L flags in *_la_LDFLAGS
SVN revision: 32337
2007-11-04 09:21:50 +00:00
Sebastian Dransfeld
b3ee7373a7
ignore
...
SVN revision: 32329
2007-11-03 15:47:07 +00:00
doursse
53fe579d6d
indentation
...
SVN revision: 32291
2007-11-02 07:38:18 +00:00
Gustavo Sverzut Barbieri
46cf9a5921
Be lighter on 'inline'
...
SVN revision: 32219
2007-10-30 21:06:08 +00:00
Gustavo Sverzut Barbieri
a807f3805b
Missing rename.
...
SVN revision: 32213
2007-10-30 13:48:44 +00:00
Gustavo Sverzut Barbieri
cf13e7ffc3
Fix access of unaligned memory.
...
SVN revision: 32211
2007-10-29 22:16:41 +00:00
Gustavo Sverzut Barbieri
56bd752741
Damn typo...
...
SVN revision: 32209
2007-10-29 21:03:08 +00:00
doursse
b8c8b38ccd
evas-sdl.pc -> evas-software-sdl.pc
...
SVN revision: 32189
2007-10-28 14:11:56 +00:00
Carsten Haitzler
aabd72ddbd
oops - wrong order.
...
SVN revision: 32187
2007-10-28 10:35:13 +00:00
Carsten Haitzler
90b9f41ec5
fix unknown buffer content chekc problems
...
SVN revision: 32185
2007-10-28 10:08:32 +00:00
Carsten Haitzler
cd2e7767fd
resolved bug from leonardo.cunha@openbossa.org
...
SVN revision: 32180
2007-10-28 04:01:56 +00:00
Gustavo Sverzut Barbieri
f553a7fab5
Minor cleanup on software_16, evas_soft16_rectangle.c
...
SVN revision: 32175
2007-10-27 21:06:58 +00:00
Gustavo Sverzut Barbieri
55f6c5f046
Add software_16 cache.
...
SVN revision: 32169
2007-10-26 18:53:39 +00:00
Gustavo Sverzut Barbieri
3209b5f4e8
Fix image alpha_set() and fix compiler warning, minor fixes.
...
SVN revision: 32165
2007-10-25 22:09:49 +00:00
Gustavo Sverzut Barbieri
8ee9f51f5b
Revert last patch (Simplify image alpha usage.), it was producing nasty artifacts.
...
SVN revision: 32164
2007-10-25 20:18:02 +00:00
Gustavo Sverzut Barbieri
00cd7a6404
Simplify image alpha usage.
...
Values are now in 0-32 (inclusive), so we must check for 32 as the
opaque value. Now it's more consistent.
SVN revision: 32163
2007-10-25 18:56:23 +00:00
Gustavo Sverzut Barbieri
e12c298619
Line, Polygon and minor fixes for software_16.
...
Line is a complete rewrite based on my university works. It's much
cleaner than the engine/common and works better (the later is
producing weird results, I still have to debug why), but I don't
provide anti-aliased drawings.
Polygon is almost the same code, with minor changes to draw the spans
as soon as possible and then no malloc/free is required for each of
them.
Minor fixes to remove unused variables, gotos...
SVN revision: 32161
2007-10-25 16:17:19 +00:00
Christopher Michael
ddf87ed6ec
More typo/spelling fixes for the README.
...
SVN revision: 32154
2007-10-24 18:21:37 +00:00
Christopher Michael
9237a4588a
Fix typo.
...
SVN revision: 32153
2007-10-24 18:16:13 +00:00
doursse
0503f91921
provide evas-opengl-glew.pc to the open source community
...
SVN revision: 32107
2007-10-17 16:24:15 +00:00
doursse
a7c193bac3
Add EVAS_MODULES_DIR in the list of paths to search
...
for the modules. The order and locations are:
1. ~/.evas/modules/
2. $(EVAS_MODULE_DIR)/evas/modules/
3. dladdr/evas/modules/
4. PREFIX/evas/modules/
SVN revision: 32098
2007-10-17 09:29:18 +00:00
Gustavo Sverzut Barbieri
8108d0e8d6
XSync to avoid flicker
...
SVN revision: 32040
2007-10-11 14:43:05 +00:00
Gustavo Sverzut Barbieri
dfcde9bcaa
Major rework of blit operations to use pre-multiplied colors.
...
I wrote the first version thinking on regular, non-pre multiplied
colors, but raster pointed out that all color data is pre-multiplied
inside Evas. I was blaming 16bpp for low quality graphics, but it
turned out that was an error with my usage.
If you experienced grayish colors when using transparency, or white
turning into black while fading out, then these should be fixed now.
Now everything looks better, brighter! :-) Expedite shows no
performance regressions, but I'd like to see more tests on
that. Please report any issue.
SVN revision: 32037
2007-10-10 19:22:26 +00:00
doursse
4a3ce0ebe0
Formatting
...
SVN revision: 32024
2007-10-09 06:53:45 +00:00
doursse
2898660d8a
16 bits software directdraw engine. Mainly for win ce users, I guess
...
SVN revision: 32020
2007-10-08 19:08:42 +00:00
Carsten Haitzler
f5c14b41ee
actually - 0 by default.
...
SVN revision: 32002
2007-10-07 11:17:09 +00:00
Carsten Haitzler
afdefa4305
4mb imge cache by default - stupid to have it unlimited.
...
SVN revision: 32001
2007-10-07 11:10:19 +00:00
andrunko
4b4d4ca3b9
Updated documentation.
...
Fixed documentation of Evas_Object_Image.
Added some more documentation.
Fixed typo on evas_list_remove_list documentation.
SVN revision: 31982
2007-10-05 19:37:21 +00:00
Gustavo Sverzut Barbieri
ecd108ba49
Revert SDL changes, I was already commited.
...
SVN revision: 31980
2007-10-05 14:35:39 +00:00
tilman
869d6c468b
export evas_common_convert_yuv_420p_601_rgba
...
SVN revision: 31975
2007-10-05 09:44:41 +00:00
Carsten Haitzler
f4df206b35
cedric's sdl patch.
...
SVN revision: 31973
2007-10-05 05:47:58 +00:00
Carsten Haitzler
bb28443e9a
printf--
...
SVN revision: 31971
2007-10-05 04:54:45 +00:00
Carsten Haitzler
a5d3f7ddc0
1. default object size to 0x0
...
2. remove some float numbers (were cast anyway)
3. make smart object mmove/resize only called if the obj changes
SVN revision: 31968
2007-10-05 04:52:10 +00:00
Carsten Haitzler
e6aa181b56
add a DEL callback - called at the very start of object deleteion.
...
SVN revision: 31942
2007-10-03 04:09:36 +00:00
Carsten Haitzler
9432a9ef47
formatting
...
SVN revision: 31929
2007-10-02 03:41:19 +00:00
Carsten Haitzler
2ea744bc1b
working on optimising software-x11 with the one-buffer persistence idea that
...
software-16 uses. it works and in some cases gets massive speedups (70%+) but
in a few its slowdowns (30% down) in expedite tests - why, i don't know. it
should be the same or better in all tests. disabled for now - also not
complete. < 32bpp wont' work and not sure rotation works and masks don't work
either.
SVN revision: 31928
2007-10-02 03:40:14 +00:00
Christopher Michael
7aa0a51a2f
Doxy typo fix.
...
SVN revision: 31897
2007-09-30 19:32:48 +00:00
andrunko
2c2ca77d5f
Make sure image colorspace is properly set.
...
SVN revision: 31889
2007-09-30 15:04:51 +00:00
Gustavo Sverzut Barbieri
64f0ccb945
Oops, re->surface, not re->surface->pixels.
...
SVN revision: 31834
2007-09-28 12:50:52 +00:00
Gustavo Sverzut Barbieri
7468078e12
SDL improvements.
...
Patch by Cedric BAIL (with minor changes).
SVN revision: 31815
2007-09-26 14:00:14 +00:00
Gustavo Sverzut Barbieri
cba48d38b5
Reorder emission of EVAS_CALLBACK_FREE event.
...
Now EVAS_CALLBACK_FREE is emitted after smart object's "del"
implementation, this way bindings/wrappers can observe this event in
order to release its wrappers and be sure that they'll not be used
anymore.
Please check your existing code to see if you don't rely on the old
behavior.
SVN revision: 31800
2007-09-25 13:33:12 +00:00
Carsten Haitzler
eafbf9bd38
removbe by list item not data item - faster.
...
SVN revision: 31799
2007-09-25 13:26:23 +00:00
Gustavo Sverzut Barbieri
c7c3586c9e
Damn, wrong copy&paste fix.
...
SVN revision: 31750
2007-09-17 21:11:43 +00:00
Carsten Haitzler
819e078f4d
fix infinite loop!
...
SVN revision: 31710
2007-09-13 23:16:11 +00:00
Gustavo Sverzut Barbieri
6d63d0ea99
Use correct type size for conversion between integer and pointer.
...
By: Brett Nash (dereference-ints-all-bad.patch)
SVN revision: 31700
2007-09-13 14:35:01 +00:00
Gustavo Sverzut Barbieri
d9392dfa6e
Cosmetic: use correct size for comparison of pointers.
...
By: Brett Nash (mode-mem.patch)
SVN revision: 31699
2007-09-13 14:31:50 +00:00
Gustavo Sverzut Barbieri
03cca32caa
Fix bug of type truncation on 64bits platform.
...
Returning a pointer (possible 64bits) where an integer (possible
32bits) is expected may truncate the type, returning just one part
that may be full "0", leading to incorrect behavior. This fix checks
against NULL and resulting value is either 0 or 1.
By: Brett Nash (kill-a-1-in-4-billion-crash.patch)
SVN revision: 31698
2007-09-13 14:28:32 +00:00
Gustavo Sverzut Barbieri
0c404433e7
Fix typo that leads to incorrect behavior.
...
By: Brett Nash (iindex-to-many-is.patch)
SVN revision: 31697
2007-09-13 14:24:15 +00:00
Gustavo Sverzut Barbieri
b09e8f2f45
Cosmetic: use correct size for comparison of pointers.
...
Due the comparions, the code worked fine, but use the correct type
size so it's cleaner.
By: Brett Nash (compare-whole-pointer.patch)
SVN revision: 31696
2007-09-13 14:19:30 +00:00
Gustavo Sverzut Barbieri
bd66a665b6
Use C89 prototype.
...
By: Brett Nash (c89-is-18-years-old-lets-use-it.patch)
SVN revision: 31695
2007-09-13 14:14:37 +00:00
Gustavo Sverzut Barbieri
e2e7567a78
Do not free NULL graphic context.
...
By: Brett Nash (freegc-crash.patch)
SVN revision: 31692
2007-09-13 13:43:38 +00:00
doursse
59f024a008
resize the directdraw surface when the evas is resized. move directdraw code to its own file
...
SVN revision: 31653
2007-09-08 10:42:30 +00:00
Carsten Haitzler
278279e269
asparagus!
...
SVN revision: 31524
2007-08-26 14:33:41 +00:00
tilman
1bd182b2f1
When we're drawing text objects, don't apply the horizontal bearing ourselves.
...
The font drawing code already takes care of that.
This fixes alignment problems most visible with monospaced fonts.
SVN revision: 31511
2007-08-26 11:06:34 +00:00
tilman
761eed190f
Replace another deprecated macro.
...
SVN revision: 31510
2007-08-26 08:21:57 +00:00
Carsten Haitzler
2a04c23a33
futzing around with tilan's mono font issue - some commented otu debugging -
...
use the all caps enum for bitmap fonts now...
SVN revision: 31496
2007-08-25 11:54:17 +00:00
Carsten Haitzler
c1d4685780
png loading changes to fix greyscale loads apparently on 1.2.19 libpng...
...
SVN revision: 31488
2007-08-25 02:36:18 +00:00
Carsten Haitzler
8ad14fe1ba
extra rgb.txt src
...
SVN revision: 31486
2007-08-25 02:07:16 +00:00
moom
c9264664d9
* Add interceptors for color_set(), clip_set() and clip_unset()
...
SVN revision: 31460
2007-08-22 16:45:37 +00:00
doursse
ffb74463b2
remove c99 structure initialization
...
SVN revision: 31458
2007-08-22 15:06:04 +00:00
Sebastian Dransfeld
89746ec075
typo
...
SVN revision: 31450
2007-08-22 05:10:20 +00:00
Andreas Volz
cace333876
two small typo
...
SVN revision: 31447
2007-08-21 17:56:51 +00:00
Gustavo Sverzut Barbieri
f08a81ea6f
Unix is case sensitive.
...
SVN revision: 31428
2007-08-20 15:48:16 +00:00
Carsten Haitzler
3738c77586
cast yet pointers. bad!
...
SVN revision: 31398
2007-08-19 13:15:45 +00:00
doursse
472401f3ce
ignore that, cvs
...
SVN revision: 31397
2007-08-19 07:53:34 +00:00
doursse
df099a54e3
use standard syntax when initializing structures instead of specific gcc one
...
SVN revision: 31396
2007-08-19 06:21:23 +00:00
doursse
7549957f3e
update todo
...
SVN revision: 31361
2007-08-17 09:53:13 +00:00
doursse
8474937ef3
Direct3D engine. I'm not an expert of that api, so there should room for lots of improvements
...
SVN revision: 31359
2007-08-17 09:16:26 +00:00
Andreas Volz
75df6e4625
please call me stupid! Sorry!
...
SVN revision: 31339
2007-08-15 22:03:17 +00:00
Andreas Volz
9d0bf6f6e2
sorry don't know why I added these files. Was a big mistake!
...
SVN revision: 31338
2007-08-15 21:57:17 +00:00
Andreas Volz
e871b96d3d
removing some files - sorry added by mistake
...
SVN revision: 31337
2007-08-15 21:55:55 +00:00
Andreas Volz
f973a3cef5
- added some API docs
...
- added an initial doxygen documentation
SVN revision: 31336
2007-08-15 21:18:21 +00:00
Gustavo Sverzut Barbieri
094edb610d
software-16-x11 available with pkg-config
...
SVN revision: 31310
2007-08-14 20:21:06 +00:00
doursse
acb11e7c5a
remove 2 consecutive semicolons here and there, ans some trailing spaces
...
SVN revision: 31308
2007-08-14 12:49:10 +00:00
doursse
fd9e6e06bf
WIN32 is not always defined on Windows platform, while _WIN32 is. Remove trailing spaces and replace c++ comments by C ones
...
SVN revision: 31302
2007-08-13 12:13:03 +00:00
Sebastian Dransfeld
8ef049c3da
As cache_key uses evas_stringshare, it should be const.
...
Don't free stringshare'd strings.
Formatting.
SVN revision: 31291
2007-08-13 05:30:17 +00:00
Sebastian Dransfeld
07c37865cf
Remove wrong comma in printf statement.
...
SVN revision: 31290
2007-08-13 05:17:44 +00:00
Sebastian Dransfeld
4d346e4bd8
Remove unnecessary code.
...
SVN revision: 31270
2007-08-12 19:20:16 +00:00
Carsten Haitzler
f23f99bf84
and actively remove images when they are KNOWN to have been removed from disk
...
or the cached copies have 0 refs and are too old (thus wasting cache space).
SVN revision: 31243
2007-08-11 12:22:43 +00:00
Carsten Haitzler
c28878389d
and use timestamp (mtime) for cache
...
SVN revision: 31242
2007-08-11 12:14:17 +00:00
Carsten Haitzler
ee6e3e6a9a
\use direct hash - doesnt strdup the string key. also stringshare the img key
...
- just in case.
SVN revision: 31232
2007-08-09 14:44:36 +00:00
Carsten Haitzler
14024931d1
fix cache accounting
...
SVN revision: 31230
2007-08-09 12:21:21 +00:00
Carsten Haitzler
287d8779fb
fix the cache code - it was basically broken and wouldnt free things from
...
cache. it also didnt account cache USAGE (cache is ref == 0 count images
speculatively hanging around in case theyare needed).
SVN revision: 31227
2007-08-08 23:41:31 +00:00
Gustavo Sverzut Barbieri
4a4a0b0f4c
Software 16 X11 now does rotation.
...
SVN revision: 31215
2007-08-07 19:09:53 +00:00
doursse
e16d7525c9
simplify detection of gl engines
...
SVN revision: 31202
2007-08-07 10:18:51 +00:00
doursse
9c17b01d0b
move Xlib includes from gl_common to gl_x11
...
SVN revision: 31201
2007-08-07 09:03:22 +00:00
doursse
ed716c1888
move windows.h include from gl_common to gl_glew
...
SVN revision: 31200
2007-08-07 05:38:24 +00:00
doursse
2409b26057
fix the case where gl-common is not built if gl_x11 is built and gl_glew is not. gl_common should be check apart those 2 engines, imho
...
SVN revision: 31195
2007-08-06 15:36:59 +00:00
doursse
31c47b3461
Glew OpenGL engine added. Windows can have an opengl engine thgough the Glew library, now. See INSTALL note
...
SVN revision: 31180
2007-08-05 07:22:44 +00:00
Carsten Haitzler
4b435be1ed
move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
...
probably die as it's already got legacy funcion methods for layer etc. stuff.
SVN revision: 31161
2007-08-04 13:12:43 +00:00
Carsten Haitzler
6437f4ed23
grad fixes from jose
...
SVN revision: 31159
2007-08-04 12:33:12 +00:00
Carsten Haitzler
1977933b18
actually - yes - in texture drop not del.
...
SVN revision: 31158
2007-08-04 09:54:35 +00:00
Carsten Haitzler
ebc47059de
gradients dont crash now. draw funny tho :-P
...
SVN revision: 31157
2007-08-04 07:20:17 +00:00
Carsten Haitzler
8433ddf94a
wrong gradient call
...
SVN revision: 31156
2007-08-04 07:04:45 +00:00
Gustavo Sverzut Barbieri
06c6b24a3e
Implement extra operations for image.
...
I tried to get those right, but I'd like someone else to review these.
SVN revision: 31150
2007-08-03 23:11:56 +00:00
Carsten Haitzler
a6d0bff73f
was screwing around hunting down bug in edje...
...
SVN revision: 31106
2007-08-01 14:35:30 +00:00
Gustavo Sverzut Barbieri
eda1f13b33
Support for selectable pointer_mode.
...
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.
SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler
d6f9cc797e
adrunko's precise event patch
...
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler
b8b5b958f2
i spyed me a bug that captin'! aye! comments in the code about it - hack
...
around it for now.
SVN revision: 30933
2007-07-22 16:25:24 +00:00
Carsten Haitzler
be1ba8873b
no need for extra nul byte check - while terminated IF its null. so known
...
condition. formatting too.
SVN revision: 30923
2007-07-21 03:06:08 +00:00
Gustavo Sverzut Barbieri
b4ab277e21
Fix bug introduced with r1.138, removed incorrect offset table.
...
I changed evas_object_textblock_text_markup_get() to just return
previously known contents, not try to recreate them set with other
means, this was not used (at least in our CVS) and was slow and
incorrect.
SVN revision: 30919
2007-07-20 22:30:12 +00:00
Gustavo Sverzut Barbieri
f2c60125f1
Fix CPP warnings about DM_* macros, do loop unrolling for dither mask processing.
...
SVN revision: 30918
2007-07-20 17:29:31 +00:00
Gustavo Sverzut Barbieri
81ebda3087
Use dither mask when importing images.
...
SVN revision: 30913
2007-07-20 00:18:07 +00:00
doursse
9ea393d8a0
add gif explicitely as loader, to avoid iteration over all the availabl loader modules
...
SVN revision: 30892
2007-07-18 09:04:30 +00:00
Carsten Haitzler
694cab4e14
0
...
cedric's patches broke emotion - fix.
SVN revision: 30888
2007-07-18 04:42:23 +00:00
Dan Sinclair
7c624f5787
- don't free the passed in im structure. leave it up to the caller to
...
cleanup as needed on error.
- this should hopefully fix bug 97
SVN revision: 30886
2007-07-18 03:23:35 +00:00
Christopher Michael
bbd439b613
Patch from cedric to fix evas_list_sort issue(s). Keybinding dialog shows
...
all Actions now :)
SVN revision: 30871
2007-07-17 10:12:51 +00:00
codewarrior
ec8ea7c7dd
fix Bug#: 111
...
http://bugzilla.enlightenment.org/show_bug.cgi?id=111
SVN revision: 30870
2007-07-17 10:08:16 +00:00
doursse
0e3414a758
Cedric's fixes
...
SVN revision: 30867
2007-07-17 08:39:51 +00:00
doursse
c933138a78
fix the build. Create the shared lib on Windows(tm)
...
SVN revision: 30866
2007-07-17 07:47:04 +00:00
ningerso
4f152e4efc
Fix SDL engine build for case insensitive filesystems.
...
SVN revision: 30865
2007-07-17 04:34:20 +00:00
doursse
64e4039663
add pc files for ddraw and sdl engines
...
SVN revision: 30852
2007-07-16 08:13:40 +00:00
doursse
2cc91ff331
use image cache
...
SVN revision: 30851
2007-07-16 07:56:41 +00:00
doursse
93482ff8e7
fix alloca include with mingw, remove trailing spaces
...
SVN revision: 30850
2007-07-16 07:38:48 +00:00
Carsten Haitzler
96721e6171
sort speedup patch from cedric
...
SVN revision: 30849
2007-07-16 07:32:44 +00:00
Carsten Haitzler
9e5d2dfdf8
cedric's const patches for evas
...
SVN revision: 30847
2007-07-16 07:29:34 +00:00
Carsten Haitzler
6c167c3a6d
cedric's sdl patch.
...
SVN revision: 30845
2007-07-16 07:25:35 +00:00
doursse
33c1532d5d
missing declaration function
...
SVN revision: 30843
2007-07-16 05:55:27 +00:00
Gustavo Sverzut Barbieri
7643c66325
Fix compile time CPU detection on ARM
...
SVN revision: 30795
2007-07-13 15:19:08 +00:00
Gustavo Sverzut Barbieri
c204c6cad0
Ensure data is loaded when data_get() is called.
...
SVN revision: 30784
2007-07-12 21:51:36 +00:00
Gustavo Sverzut Barbieri
06b389a9e3
fix evas software 16 engine build and to add the missing image_data_get method.
...
By Andre Magalhaes <andrunko/gmail.com>
SVN revision: 30705
2007-07-10 15:01:52 +00:00
Carsten Haitzler
78408fe60a
1. fix a lot of things so they pass make distcheck - so many things have
...
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas
SVN revision: 30696
2007-07-10 00:13:26 +00:00
Carsten Haitzler
da64700f13
fix from brett
...
SVN revision: 30677
2007-07-09 10:39:49 +00:00
kaethorn
0318a035d0
remove evas-config from install files.
...
SVN revision: 30557
2007-07-03 11:02:53 +00:00
Andreas Volz
d4b291c959
removed evas-config.in because replaced with pkg-config
...
SVN revision: 30523
2007-07-01 17:19:25 +00:00
Carsten Haitzler
0c4af24a33
save a few bytes by packing structures better... simple savings :)
...
SVN revision: 30486
2007-06-28 23:22:20 +00:00
ningerso
47b408af54
Initialize the error code before returning.
...
SVN revision: 30483
2007-06-28 14:36:50 +00:00
ningerso
fb53f7e913
Prevent a segv when setting a image path to NULL.
...
SVN revision: 30479
2007-06-28 03:32:58 +00:00
kiwi
2cdf35aad4
revert this, the index pointer can be negative
...
SVN revision: 30476
2007-06-27 14:56:14 +00:00
kiwi
a001af9e23
fix some warnings, mostly missing "void" when a function has no parameters
...
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Gustavo Sverzut Barbieri
ac04de0ffd
Name clip structure, make it simple to save and restore clip info.
...
SVN revision: 30423
2007-06-21 20:10:13 +00:00
Gustavo Sverzut Barbieri
10258eaf02
Clean up structure, split image operations into files.
...
SVN revision: 30420
2007-06-21 19:57:56 +00:00
Gustavo Sverzut Barbieri
807b2d1912
Implement image scale.
...
SVN revision: 30419
2007-06-21 19:56:32 +00:00
Gustavo Sverzut Barbieri
b14f445960
Cleanup, remove macros and replace with static inline functions, this also provides soft16_pt_*() functions to paint individual pixels.
...
SVN revision: 30414
2007-06-20 20:50:34 +00:00
Gustavo Sverzut Barbieri
ca8f71f595
Clean up structure, split into files.
...
SVN revision: 30413
2007-06-20 19:10:15 +00:00
Gustavo Sverzut Barbieri
0cf249a46f
Add font/text support for software_16.
...
SVN revision: 30408
2007-06-19 22:52:12 +00:00
Gustavo Sverzut Barbieri
4f1b4fb1aa
Improve _soft16_scanline_fill_transp_solid(), with bugfix.
...
Author: Gustavo Sverzut Barbieri <barbieri@gmail.com>
SVN revision: 30407
2007-06-19 22:51:39 +00:00
Carsten Haitzler
219b036d37
add some notes
...
SVN revision: 30403
2007-06-18 23:50:46 +00:00
Gustavo Sverzut Barbieri
274206e9fb
idle_flush
...
SVN revision: 30396
2007-06-18 17:48:14 +00:00
Gustavo Sverzut Barbieri
02dbcb720a
More image blend and rectangle.
...
Image blend not supports alpha and colorization.
Rectangle operations are now implemented.
SVN revision: 30394
2007-06-18 16:50:37 +00:00
Gustavo Sverzut Barbieri
f70b4e9dcf
Clean up and optimize, step 1: unscaled operations.
...
SVN revision: 30391
2007-06-18 16:48:34 +00:00
Gustavo Sverzut Barbieri
638a790c63
Use a single XShmImage and XShmPutImage with clip region.
...
By using a single XShmImage we avoid round trips to X and avoid
having kernel to allocate (and zero) memory on every redraw.
This also enable us to issue a single XShmPutImage() with the whole
XShmImage just by using X Region and setting it as clip on Graphics
Context (GC).
On Nokia N800, expedite gains is about 10fps, while my other test
with fewer objects (and thus drawing areas) I could go from 50fps
to 160fps.
Drawback is that we hold XShmImage until evas is resized or destroyed,
we need a new API to flush engine memory so when it is idle for time
we flush this memory, but it is kept alive during animations.
SVN revision: 30390
2007-06-18 16:47:36 +00:00
Sebastian Dransfeld
f2b945b53d
Find chr_x the same way as in the other functions. The main loop is very
...
similar in many functions and should be refactored.
SVN revision: 30389
2007-06-18 16:47:20 +00:00
Carsten Haitzler
a6ad878e08
ASPARAGUS!
...
SVN revision: 30379
2007-06-17 15:25:52 +00:00
Carsten Haitzler
9023997158
remove a flush - should be empty
...
SVN revision: 30368
2007-06-17 08:26:42 +00:00
Carsten Haitzler
0a4199c841
add mroe ifdle flush
...
SVN revision: 30356
2007-06-17 03:02:22 +00:00
Carsten Haitzler
c303f04048
add an engine idle flush
...
SVN revision: 30355
2007-06-17 02:56:59 +00:00
Carsten Haitzler
d9d4d5ee8e
dont overrun mask buffers!
...
SVN revision: 30315
2007-06-12 13:12:17 +00:00
Carsten Haitzler
548d30c675
add AC_PATH_X in as well - seems to remove the NONE's being seen?
...
SVN revision: 30309
2007-06-10 23:30:07 +00:00
Gustavo Sverzut Barbieri
b5c8891349
Restrict rectangles to be inside the screen at evas_tiler
...
SVN revision: 30274
2007-06-08 00:03:56 +00:00
Gustavo Sverzut Barbieri
f685af6573
Be polite and flush cache when tilebuf is free()d.
...
SVN revision: 30249
2007-06-05 03:30:05 +00:00
Gustavo Sverzut Barbieri
294769b086
Use memory pool for rect_node_t
...
SVN revision: 30238
2007-06-04 18:32:57 +00:00
Gustavo Sverzut Barbieri
6398a2c6dc
Add branch prediction fixes
...
SVN revision: 30237
2007-06-04 18:31:30 +00:00
Carsten Haitzler
849e428e7f
documentation from brett... tiler can compiler again.
...
SVN revision: 30221
2007-06-04 09:48:28 +00:00
Carsten Haitzler
c9dd4797f3
patch seems to give a bit of a speedup at fuzz = 32 overall.
...
SVN revision: 30207
2007-06-03 05:28:12 +00:00
Carsten Haitzler
861fde2fd7
splitrectfuzz of 32 seems fine. havent checked other architectures/cpus and
...
engines. this should probably luse the tilebuf size instead of FUZZ anyway so
int is (in theory) settable runtime.
SVN revision: 30198
2007-06-02 17:35:21 +00:00
Carsten Haitzler
73e80593dc
sync xcb
...
SVN revision: 30193
2007-06-02 16:20:32 +00:00
Carsten Haitzler
a730b4be5d
1. gustavo';s fuzzy rect implementation for updates. fixed so del's work,
...
tuned for best performance on my core2 duo desktop - for now. will check
more. also make the yuv colorspace code be a bit more robust and fix leak in
gl engine with shaders.
SVN revision: 30192
2007-06-02 15:30:59 +00:00
David Walter Seikel
e1523b0493
.cvsignore++
...
SVN revision: 30105
2007-05-27 18:14:54 +00:00
doursse
8ba34b767c
add a note for MinGW users
...
SVN revision: 30091
2007-05-27 06:48:25 +00:00
doursse
2bbb2619f9
add the DirectDraw engine. Evas is now available on Windows (tm)
...
SVN revision: 30089
2007-05-27 06:43:23 +00:00
Carsten Haitzler
2818ca982a
fix custom file info to be less delicate - not perfectly correct but it wont
...
lose all your data if e segv's or is kill -9'd anymore. eet handles multiple
writes to the same key now by overwriting the previous data
SVN revision: 30057
2007-05-23 12:07:14 +00:00
tilman
07ff938e34
rework how the html entity escape arrays are stored. this saves a few hundred bytes on the data section of the library, kills off ~300 locations, and makes the so 77K smaller.
...
SVN revision: 30012
2007-05-17 22:48:48 +00:00
tilman
840acd78a4
missing commas in important places ftl
...
SVN revision: 30001
2007-05-15 19:19:00 +00:00
Carsten Haitzler
9605e2fff0
remove cpuid stuff - not used. causes some build issues
...
SVN revision: 29933
2007-05-10 16:15:02 +00:00
Sebastian Dransfeld
7b3c84b267
ignore++
...
SVN revision: 29887
2007-05-06 15:50:31 +00:00
tilman
936b791547
a bunch of constness fixes
...
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Carsten Haitzler
002d09cc7d
asparagus - pass distcheck.
...
SVN revision: 29865
2007-05-05 15:14:17 +00:00
Stafford Mitchell Horne
f0c58de312
Fix problem with fonts that cant load completely
...
* fix reference counting for font_int(s)
* properly backout if face doesnt load correctly, this way we dont end up
using the face again
* put some comments about fudged font cache
SVN revision: 29863
2007-05-05 10:30:11 +00:00
Carsten Haitzler
ecb6a65a69
1. abort on invalid stringshared del's - bad stuff and should be trapped.
...
2. disable module cleaning for now.
SVN revision: 29842
2007-05-04 08:18:07 +00:00
Sebastian Dransfeld
c2ed61c0cf
Write XCB consistently
...
SVN revision: 29787
2007-05-01 13:07:51 +00:00
Sebastian Dransfeld
ec5744a4ee
ok is only needed if we build eet font loader.
...
SVN revision: 29786
2007-05-01 13:05:24 +00:00
Carsten Haitzler
7b392c8ce3
gustavo's patch on free an empty/unused evas.
...
SVN revision: 29777
2007-04-30 04:23:47 +00:00
Carsten Haitzler
5e691081ca
extensive delete me handling for evas free's and list walks
...
SVN revision: 29776
2007-04-30 04:22:42 +00:00
Carsten Haitzler
b0717e8539
use alloca - not malloc :)
...
SVN revision: 29774
2007-04-30 03:28:05 +00:00
Carsten Haitzler
16df9e0047
add in the work I did for a 16bit engine - for now, a dormant project until i
...
can be convinced it provides real and significant speedups that warrant the
significant effort.
SVN revision: 29770
2007-04-29 15:45:40 +00:00
Andreas Volz
d1b66f89e6
added some docs with best of my knowledge. Please check and correct if needed.
...
SVN revision: 29747
2007-04-28 10:21:30 +00:00
Carsten Haitzler
970bc1e2a1
patches into cvs we go.
...
SVN revision: 29708
2007-04-24 11:16:24 +00:00
Carsten Haitzler
ecfa6af1ec
just spotted a bug - i think its efreet related, but this is to make sure it
...
is or isnt as this struct was overwritten or seemingly pointing to an efreet
data struct
SVN revision: 29643
2007-04-22 07:01:44 +00:00
Carsten Haitzler
2d2ad07524
yuv call removed if yuv support not built
...
SVN revision: 29553
2007-04-16 14:30:22 +00:00
Carsten Haitzler
e9a50cf98c
at least use the right fn call names
...
SVN revision: 29549
2007-04-16 02:01:11 +00:00
titan
296b508cdd
Remove the comma, as it isn't consistent with the rest of the output.
...
SVN revision: 29540
2007-04-15 16:47:58 +00:00
doursse
c3cfd9f924
fix trailing spaces and wrong #ifdef
...
SVN revision: 29519
2007-04-14 22:48:21 +00:00
doursse
aa45491556
Fix a leak, a typo and update to the new xcb api
...
SVN revision: 29518
2007-04-14 22:45:39 +00:00
Carsten Haitzler
e73d7fd1bc
fix up #fidef to be consistent
...
SVN revision: 29477
2007-04-12 11:17:51 +00:00
Carsten Haitzler
aa639a5bfc
check if someone was silly enough to try clip themselves
...
SVN revision: 29476
2007-04-12 11:17:40 +00:00
doursse
13608d1d35
install evas-xrender-xcb.pc
...
SVN revision: 29434
2007-04-07 10:20:42 +00:00
Sebastian Dransfeld
d8988d3200
Remove unused variable.
...
SVN revision: 29379
2007-04-05 15:44:28 +00:00
Sebastian Dransfeld
8f7a264131
Remove unused variables.
...
SVN revision: 29378
2007-04-05 15:42:39 +00:00
Sebastian Dransfeld
61e9f0afd6
Remove unused code.
...
SVN revision: 29377
2007-04-05 15:40:51 +00:00
Carsten Haitzler
a9daf7dd89
cedric's patches.
...
SVN revision: 29353
2007-04-04 13:25:55 +00:00
Carsten Haitzler
5ac7b84136
pager urgent popup patch - good
...
evas clipouts less allocs patch - definite spedusp for when it's used heavily!
SVN revision: 29331
2007-04-04 09:55:40 +00:00
tilman
c40b4f8415
oops, forgot them backslashes.
...
SVN revision: 29309
2007-04-02 17:33:13 +00:00
tilman
ccfcb0ceaa
added per-engine pc files
...
SVN revision: 29286
2007-03-31 16:07:43 +00:00
rephorm
9caf34cee9
revert broken fix for polygon geometry
...
SVN revision: 29217
2007-03-28 23:58:49 +00:00
Sebastian Dransfeld
d41f2112ca
Remove unused files.
...
SVN revision: 29093
2007-03-25 09:04:10 +00:00
tilman
e0f1f0459a
beautification
...
SVN revision: 28972
2007-03-23 22:26:26 +00:00
tilman
17ae1472b0
tweaked fontconfig check
...
SVN revision: 28971
2007-03-23 22:25:12 +00:00
tilman
6f5216afe1
ugh, removed pkg.m4
...
SVN revision: 28926
2007-03-22 17:11:30 +00:00
tilman
afd642cc5a
shorten the freetype check a bit
...
SVN revision: 28912
2007-03-22 16:16:30 +00:00
tilman
fe32c911f7
moved stuff to Libs.private
...
SVN revision: 28911
2007-03-22 16:15:19 +00:00
Sebastian Dransfeld
d1c755e13b
Join the pkconfig frenzy!
...
Use pkgconfig for freetype.
SVN revision: 28905
2007-03-22 15:30:55 +00:00
tilman
3b036332c6
evas-config needs to list EDB_LIBS, too
...
SVN revision: 28841
2007-03-21 02:43:24 +00:00
tilman
0faaa1e432
require eet only once
...
SVN revision: 28840
2007-03-21 02:37:10 +00:00
tilman
d627167b31
use pkg-config to locate EDB, too.
...
SVN revision: 28839
2007-03-21 02:28:39 +00:00
tilman
99060c539f
evas now uses pkg-config to detect EET. i also reworked the autoconf code for that, IMO it now is MUCH cleaner and easier to read than before. if this causes any trouble, please contact me rather than putting weird code in again. thanks :)
...
SVN revision: 28838
2007-03-21 02:15:30 +00:00
tilman
4943fbb859
don't list eet_libs separately in evas.pc -- it's in in requirements already
...
SVN revision: 28837
2007-03-21 02:02:07 +00:00
tilman
e9716966a7
move fontconfig libs to requirements
...
SVN revision: 28835
2007-03-21 00:52:53 +00:00
Mike Frysinger
9973e523f0
we dont actually use any PAGE defines, so dont include asm/page.h
...
SVN revision: 28703
2007-03-13 23:10:59 +00:00
Michael Jennings
682d139582
Tue Mar 6 13:55:52 2007 Michael Jennings (mej)
...
Forgot some replacements.
----------------------------------------------------------------------
SVN revision: 28602
2007-03-07 00:55:55 +00:00
Michael Jennings
5612f21c83
Tue Mar 6 13:44:32 2007 Michael Jennings (mej)
...
Add spec-fu for xrender-xcb requested by Vincent Torri.
----------------------------------------------------------------------
SVN revision: 28601
2007-03-07 00:44:35 +00:00
Carsten Haitzler
c972ad1f83
ok- disable the close - seems librsvg in some versions is so buggy you can't
...
close it to prevent leaks!
SVN revision: 28571
2007-03-05 18:19:49 +00:00
Carsten Haitzler
11e483cc0b
hooray! librsvg leak!. if you try and load a file that is NOT an svg with
...
librsvg - and it fails, it does not FREE UP MEMORY - it LEAKS. BAD RSVG. BAd
BAD! ok - a code to explicitly avoid loading anything NOT .svg or .svg.gz!!!!!!
SVN revision: 28557
2007-03-04 21:17:36 +00:00
Carsten Haitzler
9dc3984a39
fix nul update on swap
...
SVN revision: 28556
2007-03-04 17:06:13 +00:00
doursse
1f1337d3a2
Add some missing const
...
SVN revision: 28555
2007-03-04 16:19:32 +00:00
doursse
41247b3fd2
including glx.h is not necessary (and should not be included here). Add some missing const
...
SVN revision: 28554
2007-03-04 16:18:06 +00:00
Carsten Haitzler
188eb8931d
just look at the comments to know what this is about.
...
SVN revision: 28545
2007-03-03 16:05:15 +00:00
Carsten Haitzler
921304555c
now limit stats per any 1 file to STAT_GAP (2 seconds).
...
SVN revision: 28544
2007-03-03 09:04:47 +00:00
Carsten Haitzler
63a4cbb869
chasing somethnig really bizarre... but this works right now.
...
SVN revision: 28533
2007-03-02 23:12:10 +00:00
Carsten Haitzler
e58afbca6e
i've put back timestamp checks - but evas wont stata file more frequently
...
than once per 2 seconds to avoid overhead.
SVN revision: 28532
2007-03-02 22:27:52 +00:00
Carsten Haitzler
635e741438
oh dear - when i added load opts - i broke speculative caching. fixed!
...
SVN revision: 28531
2007-03-02 22:09:18 +00:00
Carsten Haitzler
55c06e75ff
rotation patches for 180 degrees - thankyoooo! :)
...
SVN revision: 28527
2007-03-02 14:51:17 +00:00
doursse
22d230e851
pass the default screen to the info, as it is not stored by XCB itself. Speed up a bit evas_software_xcb_x_can_do_shm
...
SVN revision: 28494
2007-02-27 16:08:41 +00:00
doursse
a8129d063b
update software xcb engine to match xlib engine improvements during startup
...
SVN revision: 28493
2007-02-27 15:17:18 +00:00
doursse
77ebfa2b43
replace the predefined STRING atom by its value. It avoids a non core XCB dependancy
...
SVN revision: 28492
2007-02-27 13:39:44 +00:00
doursse
892e4689d5
XCB ICCCM is only needed for the XCB evas tests
...
SVN revision: 28429
2007-02-22 00:24:32 +00:00
Carsten Haitzler
9ae24eeaeb
ooh - and remove leak from callbacks not being freed! fixed!
...
SVN revision: 28426
2007-02-21 21:43:45 +00:00
Christopher Michael
af9e05f2ef
Fix formatting of a function.
...
SVN revision: 28324
2007-02-12 17:02:15 +00:00
Carsten Haitzler
6e452edfd4
patches applied as per emails :)
...
SVN revision: 28302
2007-02-10 17:23:09 +00:00
ningerso
5bcce9f86b
Patch from Glen Larsen to fix dlopen failure handling in module loader.
...
SVN revision: 28213
2007-02-03 09:33:26 +00:00
Andreas Volz
a001030668
fixed polygon moving
...
SVN revision: 28109
2007-01-22 23:38:39 +00:00
Carsten Haitzler
18b973d1ac
1. fixed some inefficient edje loading - moved checks to the cache code where
...
it sould be
2. fixed edje handling of delete of objects so we don't lose clip info if we
move a swallowed object out
3. fix up norender stuff for evas a bit
4. pants.
5. coogee beach (sydney) in summer right now is beatiful - KICK ASS!
SVN revision: 28102
2007-01-22 12:44:57 +00:00
Carsten Haitzler
5fc48a2b07
actually dont delay so long in deleting objects. make it happen sooner
...
SVN revision: 28014
2007-01-16 10:17:10 +00:00
Carsten Haitzler
28685bd55e
xrender_x11 engine handles yuv colorspace now - software path, but works.
...
SVN revision: 27779
2007-01-04 03:42:14 +00:00
Carsten Haitzler
fc6ccd2192
and use pixelstorei to do the row skips :)
...
SVN revision: 27714
2007-01-02 02:43:11 +00:00
Carsten Haitzler
ccafed752a
well THAT was just silly. fix yuv texture upload bug - row by row get it right.
...
SVN revision: 27691
2006-12-31 07:00:13 +00:00
Carsten Haitzler
b51bdcbc1e
colorspace work mostly. not complete.
...
SVN revision: 27630
2006-12-29 03:32:46 +00:00
Sebastian Dransfeld
4518aa1217
Remove unused variable.
...
SVN revision: 27592
2006-12-28 12:48:20 +00:00
Sebastian Dransfeld
a7b8ca4e85
Fix warning. First compute value, then increment pointer.
...
SVN revision: 27591
2006-12-28 12:47:33 +00:00
Sebastian Dransfeld
edde5b3088
Remove unused variables.
...
SVN revision: 27590
2006-12-28 12:45:32 +00:00
Sebastian Dransfeld
7957735d5b
Remove unused variables.
...
Add */ to comment.
SVN revision: 27589
2006-12-28 12:40:42 +00:00
Sebastian Dransfeld
4b1cf1116c
Fix warning. First compute value then increment pointer.
...
SVN revision: 27588
2006-12-28 12:37:37 +00:00
Sebastian Dransfeld
f3b4ebd01f
Remove unused variables.
...
SVN revision: 27587
2006-12-28 12:36:41 +00:00
Sebastian Dransfeld
81b53cdaa4
Fix warning, first compute value then increment pointer.
...
SVN revision: 27586
2006-12-28 12:35:08 +00:00
Sebastian Dransfeld
f979c8e54d
Fix warnings. First compute value, then increment pointer.
...
SVN revision: 27585
2006-12-28 12:33:29 +00:00
Sebastian Dransfeld
6849defebf
Use cpp to remove code.
...
SVN revision: 27584
2006-12-28 12:23:13 +00:00
rephorm
5f7e0aec95
Patch for line geometry from Cedric BAIL
...
Remove commented out lines
SVN revision: 27577
2006-12-28 02:57:31 +00:00
Christopher Michael
90a63b2699
Be a little more paranoid about freeing image data by adding some missing
...
checks for valid im->cs.data and im->image->data before trying to compare
them.
SVN revision: 27526
2006-12-19 23:51:44 +00:00
Carsten Haitzler
3bb50b9b24
fix buffer canvas resizes :)
...
SVN revision: 27521
2006-12-19 15:06:33 +00:00
Carsten Haitzler
9e27a0d98c
fix color modulation for gl surfaces. also fix segvs tat can happen. xrender
...
engine is behind now though. can't do yuv surfaces (yet)
SVN revision: 27518
2006-12-19 14:12:40 +00:00
Carsten Haitzler
348e7aaee5
and handle updates. next is to fix the row handling.
...
SVN revision: 27510
2006-12-18 14:56:46 +00:00
Carsten Haitzler
eb7759cf39
fragment shader finally actually works. it's unclean and fixme's for seeding
...
the pixel data - but it works!
SVN revision: 27509
2006-12-18 14:55:47 +00:00
Carsten Haitzler
7c357ef3fe
fix segv added in
...
SVN revision: 27499
2006-12-17 16:46:30 +00:00
Carsten Haitzler
f83220c857
not complete yet - actually i need help with the fragment shader.
...
in evas_gl_texture.c i have a frag shader, and it tries to use a set of 3
textures that act as the yuv planes, BUT the u and v textures (Utex and Vtex)
are simply getting values from the Ytex - regardless of what i try. grrr.
what's up with that?
SVN revision: 27495
2006-12-17 15:48:52 +00:00
ningerso
b848372508
Fix the build for the FB engine on non-x86 architectures.
...
SVN revision: 27430
2006-12-13 20:25:04 +00:00
Carsten Haitzler
3e337b0754
and actually call the engine calls!
...
SVN revision: 27390
2006-12-09 09:02:43 +00:00
Carsten Haitzler
2058cfd58b
1. add new api calls to 1. set a "native surface" for image objects. this
...
currently does nothing and i have kept it VEEERY generic it's a pointer to a
native surface which can be just about anything - each engine will probably
define a format of its own you need to use VIA the native surface type.
2. add calls to set/get colorspace - moving this down into the engine level.
so far engines do nothing at all with it - but api is there.
3. clean up gl engine a bit - make it more standard.
SVN revision: 27389
2006-12-09 08:52:08 +00:00
rephorm
5a4cffcf90
add some documentation
...
SVN revision: 27380
2006-12-08 07:51:48 +00:00
Carsten Haitzler
6635bab903
bring gl engine vaguely back up to snuff.
...
SVN revision: 27363
2006-12-06 14:58:00 +00:00
Michael Jennings
ee904fa26a
Mon Dec 4 15:34:28 2006 Michael Jennings (mej)
...
Build fixes. No new deps means exactly that!
----------------------------------------------------------------------
SVN revision: 27349
2006-12-04 20:34:30 +00:00
Carsten Haitzler
38af0c332a
lotys of changes - mayaswell asparagus - and the start of some of my fm
...
properties dialog work... it sucks - i know.
SVN revision: 27348
2006-12-04 12:14:18 +00:00
Carsten Haitzler
0a798ec6a8
add version to smart classes.
...
SVN revision: 27323
2006-12-02 03:20:56 +00:00
ningerso
b8416d9646
Reduce additional layout parsing overhead by using the format string without
...
copying the contents to temporary buffers. This cuts the time spent during
the layout phase in half.
SVN revision: 27270
2006-11-28 20:30:48 +00:00
ningerso
0a734352bd
Improve format parsing performance by using preloaded stringshares to do pointer
...
comparisons rather than strcmp and avoid extra malloc/free overhead. May be a
slight slow down on short simple text, but a significant improvement on longer
and more complex formatting.
SVN revision: 27268
2006-11-28 16:14:11 +00:00
Carsten Haitzler
103458be65
remove thread deadlock! werd!
...
SVN revision: 27164
2006-11-18 03:24:40 +00:00
Carsten Haitzler
99d9b9bc5b
add pthread libs etc. to evas-config and pkgconfig stuff
...
SVN revision: 27163
2006-11-18 02:54:34 +00:00
Carsten Haitzler
f3e4e0d7ed
threads back on - try this.
...
SVN revision: 27162
2006-11-18 02:51:27 +00:00
Carsten Haitzler
df0c6f847c
disable threads for now - seemed ok. this is a weird thread issue - see mail
...
to devel list.
SVN revision: 27161
2006-11-18 01:49:31 +00:00
Carsten Haitzler
0d42fa44c1
check for set affinity in pthread - seems to bemissing from debian
...
testing/etch (but is in ubuntu). weird as its a gnu extension in libc and
been in for a few years.
SVN revision: 27133
2006-11-16 06:31:52 +00:00
Carsten Haitzler
f80a02f999
a few things.
...
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h
SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler
ccc60306a0
sli is possible- but not optimal.
...
SVN revision: 27129
2006-11-15 16:44:34 +00:00
Carsten Haitzler
2ecb8da51f
oops - disable threads by default. still experimental.
...
SVN revision: 27122
2006-11-15 12:04:02 +00:00
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
1a558240a3
and have glitz disabled for now as its pretty much a skeleton engine.
...
SVN revision: 27046
2006-11-11 06:04:55 +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
2b06fffc26
asparagus.
...
SVN revision: 26895
2006-11-01 00:05:06 +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
c7722b50d8
remove more
...
SVN revision: 26826
2006-10-28 07:06:15 +00:00
Carsten Haitzler
b5f613f161
remove test progs and data
...
SVN revision: 26825
2006-10-28 07:04:17 +00:00
quan74
fd40774d78
re-enable svg loader in spec
...
SVN revision: 26819
2006-10-28 06:27:21 +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
cc0282d9dc
debian packagnig mofo
...
SVN revision: 26762
2006-10-23 23:10:05 +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
86352e8677
asparagus - we have fixed a lot of things this week, so before the weekend of
...
hacking... aspara
SVN revision: 26698
2006-10-19 23:44:54 +00:00
Carsten Haitzler
cfa5c0cad4
yamaguchi-san's dfb patch
...
SVN revision: 26672
2006-10-17 10:36:36 +00:00
Carsten Haitzler
dcfe2e5fad
aspara!
...
SVN revision: 26617
2006-10-15 15:41:17 +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
Carsten Haitzler
b24637f442
asparagus! (finally after all the radical changes of late)
...
SVN revision: 26453
2006-10-09 15:47:03 +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
quan74
de694c09bf
bcond without svg
...
SVN revision: 26013
2006-09-22 03:47:58 +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
Viktor Kojouharov
11b20db227
s/LIBCAIRO_SVG/LIBSVG_CAIRO/
...
now, cairo headers will be included
SVN revision: 25909
2006-09-17 12:29:26 +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
Carsten Haitzler
b0b4bae05a
svg fallback fixed
...
SVN revision: 25755
2006-09-11 23:53:27 +00:00