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