Commit Graph

644 Commits

Author SHA1 Message Date
doursse 4d7eac659d fix keys on Ipaq H38xx and H39xx
SVN revision: 34641
2008-05-22 10:40:40 +00:00
Peter Wehrfritz bb1f257f5f build again
SVN revision: 34565
2008-05-14 11:26:29 +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
doursse 340d0ed554 remove a possible seg fault when DestroyWindow() is called
SVN revision: 34507
2008-05-08 06:46:26 +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 a6a3a2a9db the address returned by draw_begin can be NULL
SVN revision: 34373
2008-04-26 12:32:29 +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
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 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
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
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
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
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
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 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
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
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
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
Sebastian Dransfeld d4073fc07a Clean up configure.in file
SVN revision: 32358
2007-11-04 19:09:19 +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
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
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
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 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 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
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 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
Carsten Haitzler 6635bab903 bring gl engine vaguely back up to snuff.
SVN revision: 27363
2006-12-06 14:58:00 +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 e99a611e98 fix --enable-ptrhead and poly render symbol - oops
SVN revision: 27121
2006-11-15 11:57:42 +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 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 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 cfa5c0cad4 yamaguchi-san's dfb patch
SVN revision: 26672
2006-10-17 10:36: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 801bdf34d8 joses fixes for grads with premul
SVN revision: 26348
2006-10-05 05:28:35 +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 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
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
Carsten Haitzler bce5edacbd #ifdef the 1 bit transform stuff.
SVN revision: 25756
2006-09-12 00:03:53 +00:00
tilman 19ea4966bb missed another case of identiy-transform setting
SVN revision: 25734
2006-09-11 15:24:54 +00:00
tilman 84baf60045 don't set the picture transform to the identity - that's a no-op
SVN revision: 25731
2006-09-11 15:19:02 +00:00
tilman 1cb97ea4b8 um, raster, you cannot chain == like that. gcc even told you ;)
SVN revision: 25728
2006-09-11 14:53:19 +00:00
tilman 89ce1b8367 cleaned up the transformation matrix code. use the proper x macro to convert a double into a matrix component instead of hardcoding the bitshift. added init_transform() which will initialize a matrix to the identity transform.
SVN revision: 25726
2006-09-11 14:42:39 +00:00
Carsten Haitzler d87d871417 add system icons dir for e, patches for evas.
SVN revision: 25715
2006-09-11 09:36:32 +00:00
doursse a5c5e9699a do not free buf if no available buf
SVN revision: 25694
2006-09-10 16:06:51 +00:00
doursse 1f19215c72 missing reply frees
SVN revision: 25685
2006-09-10 09:35:24 +00:00
doursse e96c6828d0 fix xrender xcb engine, add old stuff committed to the Xlib engines and not to the XCB ones, replace deprecated XCBSync call by a call of GetInputFocus, fix some round trips but a complete review of the engines must be done to fix them all, first part of a cleanup, first part of XCB error management
SVN revision: 25657
2006-09-09 08:10:24 +00:00
sebastid ec72116e3c Exported module functions must be EAPI
SVN revision: 25524
2006-09-06 07:28:46 +00:00
sebastid 4f202372c2 Use standard list
SVN revision: 25523
2006-09-06 07:23:37 +00:00
Carsten Haitzler f631394f18 gl engine build
SVN revision: 24905
2006-08-19 11:59:55 +00:00
Carsten Haitzler f407013a5f include evas private header
SVN revision: 24904
2006-08-19 11:58:07 +00:00
Carsten Haitzler 0889c589f2 added the ability to set load scaledown, dpi or load size - the svg loader
uses these to know what to render and how (or has defaults if these are not
set)


SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler 8b1f602f38 being an anally retentive bastard.. i checked if e worked in 8bpp under vnc.
GASP! it didn't. evas's color allocator was screwed. fixed! :)


SVN revision: 24686
2006-08-14 13:50:07 +00:00
doursse aec7e96054 ignore++
SVN revision: 23585
2006-06-25 13:43:22 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


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


SVN revision: 23027
2006-05-31 18:33:46 +00:00
Carsten Haitzler 4e97e2bf2c fix polygons too. always over op.
SVN revision: 22641
2006-05-16 07:53:47 +00:00
Carsten Haitzler 5d996305e1 fix xrender lines :)
SVN revision: 22640
2006-05-16 07:52:35 +00:00
Carsten Haitzler 3b0d15d0d3 usless call- comment ou
SVN revision: 22608
2006-05-14 07:14:31 +00:00
Carsten Haitzler 8e91bb918d weird - identity matrix with 16.16 fixed point DOESNt work for bitmap mask
render picutres. need to make an exception. also we still need the extra
pixle to interpolate to. it screws up some example sin e17 (configuration
panel will show it).


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


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


SVN revision: 22440
2006-05-02 07:28:49 +00:00
Carsten Haitzler 21e63c83b9 move engine headers into engine dirs - and removes lots of useless old headers.
SVN revision: 22344
2006-04-25 04:00:21 +00:00
Carsten Haitzler bd5274b1f7 cosmetic - really no diff
SVN revision: 22330
2006-04-24 01:10:50 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +00:00
Carsten Haitzler 3b3b836125 fix edge interpolation for images with xrender and a segv for font rendering
if multiple engines dont agree on ext data for fonts


SVN revision: 22173
2006-04-17 01:57:11 +00:00
Carsten Haitzler a75ccf9e64 fix color multiply whiel blend (ergh! need temporary image! yuk!)
SVN revision: 22163
2006-04-16 17:04:36 +00:00
Carsten Haitzler 79ea843774 fix resize of shaped xrender canvas
SVN revision: 22162
2006-04-16 15:51:26 +00:00
Carsten Haitzler 28dc440e17 ok- actually handle dest buf if there is no back buf
SVN revision: 21756
2006-04-03 03:29:10 +00:00
Carsten Haitzler 82f8e24b2c bleh--
SVN revision: 21754
2006-04-02 23:52:26 +00:00
Carsten Haitzler d6690d7514 support all advertised formats
SVN revision: 21713
2006-04-02 07:47:31 +00:00
Carsten Haitzler 866b591619 cvlear ALL dst buffers for buffer engine
SVN revision: 21710
2006-04-02 07:25:03 +00:00
Carsten Haitzler d7c7836097 zero out alpha only if we have it - and add an initial memset to 0.
SVN revision: 21695
2006-04-02 01:33:00 +00:00
David Walter Seikel 9d26059150 .cvsignore++
SVN revision: 21356
2006-03-17 23:19:49 +00:00
Carsten Haitzler 8edc435a2b tmp size was not fetched
SVN revision: 21333
2006-03-16 08:16:16 +00:00
doursse 79460141a5 update to the new xcb api
SVN revision: 21328
2006-03-15 21:14:34 +00:00
doursse 2bd060ad29 update to the new xcb api, and a fix
SVN revision: 21326
2006-03-15 20:58:35 +00:00
doursse a2d6156402 missing file
SVN revision: 21176
2006-03-11 01:55:17 +00:00
doursse c4dff4d193 i've forgotten to remove that :)
SVN revision: 21173
2006-03-10 19:12:57 +00:00
doursse 1f3549a60b xrender xcb engine
SVN revision: 21172
2006-03-10 19:10:07 +00:00
doursse 6e63a2d07b argb target for software xcb engine supported
SVN revision: 21164
2006-03-10 07:44:23 +00:00
Carsten Haitzler 7e5f9cf26e ARGB targets for sw engine supported
SVN revision: 21119
2006-03-09 03:51:27 +00:00
Carsten Haitzler c7fc7cd9c8 add a dst alpha flag
SVN revision: 21104
2006-03-08 15:35:05 +00:00
Carsten Haitzler f88167ff79 check ptrs - no segv
SVN revision: 21100
2006-03-08 13:43:46 +00:00
Carsten Haitzler f8a6f603f5 umm... handle rgba dest properly...
SVN revision: 21090
2006-03-08 08:02:34 +00:00
Carsten Haitzler cbdc20a142 oops - soemoen changed the other symbols around while i changed the first set
SVN revision: 21063
2006-03-07 02:44:16 +00:00
quan74 2c18f833e9 make dist pkgs build again
SVN revision: 21057
2006-03-07 01:07:20 +00:00
stffrdhrn 9e57a967df Match up function names so gl_xll can work
SVN revision: 21056
2006-03-07 00:24:37 +00:00
Carsten Haitzler 1dcdaeec81 fix symbols
SVN revision: 21055
2006-03-07 00:02:16 +00:00
David Walter Seikel 2a63d6db9c .cvsignore++
SVN revision: 21006
2006-03-04 14:25:29 +00:00
Carsten Haitzler 0dfec152af and build
SVN revision: 20945
2006-03-03 07:36:46 +00:00
Carsten Haitzler c044dca01c keep the function call naming consistent with other engines of the same type.
SVN revision: 20944
2006-03-03 07:28:26 +00:00
doursse 699a1a4fea bad names
SVN revision: 20943
2006-03-03 06:51:25 +00:00
Carsten Haitzler 0f9bb4b705 oops - nuke a \
SVN revision: 20910
2006-03-02 09:21:04 +00:00
Carsten Haitzler 0a1b835592 software engines all now totally inherit from software_generic and
xrender_x11 now partially inherits.


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


SVN revision: 20908
2006-03-02 08:06:10 +00:00
Carsten Haitzler e8bf4cdcbb make hinting an engine api thnig - engine apis need to be mroe easily updated
SVN revision: 20850
2006-02-28 04:07:49 +00:00
Carsten Haitzler 07e7927004 1. buffer test really wqasnt being very fair - time to be fair.
2. be able to skip a copy in certain cases when scaling - should improve
speed in several situations - evas is defintiely not optimal :)


SVN revision: 19983
2006-01-23 07:57:30 +00:00
Carsten Haitzler 836e5963c5 add cpp
SVN revision: 19914
2006-01-20 04:31:43 +00:00
Carsten Haitzler d2bcbb192b fix stray ~
SVN revision: 19887
2006-01-18 07:57:46 +00:00
Carsten Haitzler 82742c35f2 clean up new modular build to link to the right things, in the right way,
remove usleess extra linkage etc.


SVN revision: 19865
2006-01-17 03:47:40 +00:00
David Walter Seikel 0e3bbc475d Presenting the Indian Rope Trick. Watch in awe as these young files climb
up the rope and disappear into thin air!


SVN revision: 19847
2006-01-16 03:57:33 +00:00
Carsten Haitzler 76f7428de7 fix dfb engine - correctness changes for hash
SVN revision: 19845
2006-01-16 03:37:34 +00:00
Carsten Haitzler d410036b81 removes some unused struct members (should remove more though) and fixes up
modular loaders


SVN revision: 19814
2006-01-15 06:21:05 +00:00
doursse ff8397da6c fix includes
SVN revision: 19807
2006-01-14 20:28:37 +00:00
doursse 0daf7300a6 fix includes
SVN revision: 19806
2006-01-14 20:25:48 +00:00
Carsten Haitzler f3ff4e9ffe oops - forgot about engine headers. moved headers. fixed. install again
SVN revision: 19804
2006-01-14 18:24:41 +00:00
Carsten Haitzler fa0f4317f2 oops - a little too much copy & paste :)
SVN revision: 19781
2006-01-14 13:42:35 +00:00
doursse f64f64f08f xcb engine does not depend on cairo
SVN revision: 19779
2006-01-14 12:48:47 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00