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