Gustavo Sverzut Barbieri
56bd752741
Damn typo...
...
SVN revision: 32209
2007-10-29 21:03:08 +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
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
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
2898660d8a
16 bits software directdraw engine. Mainly for win ce users, I guess
...
SVN revision: 32020
2007-10-08 19:08:42 +00:00
Gustavo Sverzut Barbieri
ecd108ba49
Revert SDL changes, I was already commited.
...
SVN revision: 31980
2007-10-05 14:35:39 +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
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
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
c7c3586c9e
Damn, wrong copy&paste fix.
...
SVN revision: 31750
2007-09-17 21:11:43 +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
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
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
Gustavo Sverzut Barbieri
f08a81ea6f
Unix is case sensitive.
...
SVN revision: 31428
2007-08-20 15:48:16 +00:00
doursse
472401f3ce
ignore that, cvs
...
SVN revision: 31397
2007-08-19 07:53:34 +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
doursse
acb11e7c5a
remove 2 consecutive semicolons here and there, ans some trailing spaces
...
SVN revision: 31308
2007-08-14 12:49:10 +00:00
Gustavo Sverzut Barbieri
4a4a0b0f4c
Software 16 X11 now does rotation.
...
SVN revision: 31215
2007-08-07 19:09:53 +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
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
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
d6f9cc797e
adrunko's precise event patch
...
SVN revision: 30939
2007-07-23 14:22:57 +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
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
2cc91ff331
use image cache
...
SVN revision: 30851
2007-07-16 07:56:41 +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
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
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
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
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
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
2bbb2619f9
add the DirectDraw engine. Evas is now available on Windows (tm)
...
SVN revision: 30089
2007-05-27 06:43:23 +00:00
Sebastian Dransfeld
7b3c84b267
ignore++
...
SVN revision: 29887
2007-05-06 15:50:31 +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
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
Carsten Haitzler
e9a50cf98c
at least use the right fn call names
...
SVN revision: 29549
2007-04-16 02:01:11 +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
Sebastian Dransfeld
d8988d3200
Remove unused variable.
...
SVN revision: 29379
2007-04-05 15:44:28 +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
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
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
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
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
Carsten Haitzler
6e452edfd4
patches applied as per emails :)
...
SVN revision: 28302
2007-02-10 17:23:09 +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