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