Commit Graph

1068 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld edde5b3088 Remove unused variables.
SVN revision: 27590
2006-12-28 12:45:32 +00:00
Sebastian Dransfeld 7957735d5b Remove unused variables.
Add */ to comment.


SVN revision: 27589
2006-12-28 12:40:42 +00:00
Sebastian Dransfeld 4b1cf1116c Fix warning. First compute value then increment pointer.
SVN revision: 27588
2006-12-28 12:37:37 +00:00
Sebastian Dransfeld f3b4ebd01f Remove unused variables.
SVN revision: 27587
2006-12-28 12:36:41 +00:00
Sebastian Dransfeld 81b53cdaa4 Fix warning, first compute value then increment pointer.
SVN revision: 27586
2006-12-28 12:35:08 +00:00
Sebastian Dransfeld f979c8e54d Fix warnings. First compute value, then increment pointer.
SVN revision: 27585
2006-12-28 12:33:29 +00:00
Sebastian Dransfeld 6849defebf Use cpp to remove code.
SVN revision: 27584
2006-12-28 12:23:13 +00:00
rephorm 5f7e0aec95 Patch for line geometry from Cedric BAIL
Remove commented out lines


SVN revision: 27577
2006-12-28 02:57:31 +00:00
Christopher Michael 90a63b2699 Be a little more paranoid about freeing image data by adding some missing
checks for valid im->cs.data and im->image->data before trying to compare
them.


SVN revision: 27526
2006-12-19 23:51:44 +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 3e337b0754 and actually call the engine calls!
SVN revision: 27390
2006-12-09 09:02:43 +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
rephorm 5a4cffcf90 add some documentation
SVN revision: 27380
2006-12-08 07:51:48 +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 0a798ec6a8 add version to smart classes.
SVN revision: 27323
2006-12-02 03:20:56 +00:00
ningerso b8416d9646 Reduce additional layout parsing overhead by using the format string without
copying the contents to temporary buffers. This cuts the time spent during
the layout phase in half.


SVN revision: 27270
2006-11-28 20:30:48 +00:00
ningerso 0a734352bd Improve format parsing performance by using preloaded stringshares to do pointer
comparisons rather than strcmp and avoid extra malloc/free overhead. May be a
slight slow down on short simple text, but a significant improvement on longer
and more complex formatting.


SVN revision: 27268
2006-11-28 16:14:11 +00:00
Carsten Haitzler 103458be65 remove thread deadlock! werd!
SVN revision: 27164
2006-11-18 03:24:40 +00:00
Carsten Haitzler f3e4e0d7ed threads back on - try this.
SVN revision: 27162
2006-11-18 02:51:27 +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 ccc60306a0 sli is possible- but not optimal.
SVN revision: 27129
2006-11-15 16:44:34 +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 4021776111 nash patch
SVN revision: 27100
2006-11-14 02:00:23 +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 c3674c8595 check dimensions for safety
SVN revision: 26954
2006-11-05 05:07:53 +00:00
Carsten Haitzler 1c6ed968fd simon's patch is back - fixed. :) still just makes parsing of tuf8 string
more forgiving. it doesn't "fix" the real problem.


SVN revision: 26901
2006-11-01 23:00:42 +00:00
Carsten Haitzler 2742499473 evas utf8 patch broke e17's about box. revert
SVN revision: 26897
2006-11-01 12:56:12 +00:00
Carsten Haitzler b964c06760 fair enough to be more forgiving of malformed utf8 strings - but the problem
just changes from being cut off to garbage in the middle of the string.


SVN revision: 26893
2006-10-31 23:43:06 +00:00
Carsten Haitzler b5f613f161 remove test progs and data
SVN revision: 26825
2006-10-28 07:04:17 +00:00
Carsten Haitzler fd60c655b0 i was just playing with adding thread supprot to INTERNALS of evas (ie the
renderer gets threaded). if i thread at the simplest levels (low down in for
example the image scaler code - one of the most expensvie gfx routnes) on an
actual dual core system - performance drops by 40%. this just doesn't work
well at that level. thread creates and joins per render op are just a bad
thing (tm) :) so this really needs to go in much higher up and that presents
problems. :( i will need to clearly define entry and exit points to and from
threaded space (and thus all the locks) - remove all nested calls (where
internal code goes thru the same entry/exit points traditionally so it
deadlocks itself).. anyway - this here has all that code stripepd out i
played with - it is just the autofoo and build stuff so we can turn on/off
thread support at will in the build.


SVN revision: 26817
2006-10-28 03:02:23 +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
Carsten Haitzler 9604530f2f slight cleanups
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler 21e9758f0b ooh - freeing a smart multiple times - bad bad bad.
SVN revision: 26611
2006-10-15 12:15: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