summaryrefslogtreecommitdiff
path: root/fb/fbcompose.c
AgeCommit message (Collapse)AuthorFilesLines
2007-05-18Move fbCompositeGeneral() to fbpict.c and remove fbcompose.cSoren Sandmann Pedersen1-4318/+0
2007-05-18Make the general compositing code create a pixman image and callSoren Sandmann Pedersen1-1/+2
pixman_image_composite(). Leave the general code commented out for now.
2007-05-16Make fbFetch_b8g8r8() actually write the read value to the bufferSoren Sandmann Pedersen1-0/+1
2007-05-03New fbWalkCompositeRegion() functionSoren Sandmann Pedersen1-101/+3
This new function walks the composite region and calls a rectangle compositing function on each compositing rectangle. Previously there were buggy duplicates of this code in fbcompose.c and miext/rootles/safealpha/safeAlphaPicture.c.
2007-05-03Add fbCompositeRect() as another special case in the switch of doom in fbpict.cSoren Sandmann Pedersen1-1/+1
This is phase one of getting the two region walkers in fbcompose.c and fbpict.c merged together.
2007-04-23Gradient fixesSoren Sandmann Pedersen1-30/+173
* Port fix for bug 7685 from pixman. Patch by Carl Worth * Add projective version of radial gradient code. * Make sure that all Pict*Gradient types have PictGradient as prefix, since code in various places relies on that.
2007-04-22Fix unbalanced fbGetDrawable added in commit 0a9239ec.Aaron Plattner1-0/+3
2007-04-21Remove #if 0'ed leftovers from mergeSoren Sandmann Pedersen1-4/+0
2007-04-21 Fix gradient walker to not reset needlesslySoren Sandmann Pedersen1-7/+11
Previously the gradient walker was doing excessive resets, (such as on every pixel in constant-colored regions or outside the gradient with CAIRO_EXTEND_NONE). Don't do that. Carl Worth, from pixman
2007-04-21Fixing gradient repeat mode computations in previous patch. From DavidSoren Sandmann Pedersen1-19/+18
Turner.
2007-04-21Remove a few memory references in fbFetchTransformedSoren Sandmann Pedersen1-2/+2
2007-04-21Integrate David Turner's gradient optimizations from pixmanSoren Sandmann Pedersen1-79/+259
2007-04-20Fix pixman bug 5777, patch by David RevemanSoren Sandmann Pedersen1-99/+156
2007-04-19Merge David Reveman's gradient optimization patch from pixmanSoren Sandmann Pedersen1-573/+918
2006-08-01Wrap libwfb memory access.Aaron Plattner1-325/+326
Use the READ and WRITE macros to wrap memory accesses that could be in video memory. Add MEMCPY_WRAPPED and MEMSET_WRAPPED macros to wrap memcpy and memset, respectively.
2006-07-26Add framebuffer access wrapper infrastructure.Aaron Plattner1-1/+11
Create fbPrepareAccess macros to call into the driver to set up the wfbReadMemory and wfbWriteWemory pointers. Call these from fbGetDrawable and fbGetStipDrawable. Add the READ and WRITE macros, which expand to simple memory accesses for fb, and calls through the function pointers for wfb. Add fbFinishAccess macro to give the driver an opportunity to clean up. Add calls to this in the appropriate places.
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-2/+0
2006-07-03Revert "Optimize out computing a gradient pixel if the mask value is 0."Eric Anholt1-131/+76
This reverts cf46242e337481cd3b9b39d77dd621d2a63b11f9 commit. It wasn't meant to be pushed to master yet, and doesn't work.
2006-07-03Optimize out computing a gradient pixel if the mask value is 0.Eric Anholt1-76/+131
Obtained from: kdrive CVS (DavidR XGL fb/ megapatch)
2006-06-23Remove the default case from fbcompose.c switches which should cover all cases.Eric Anholt1-4/+4
Instead, stick the NULL return default case afterwards, so that the compiler can warn us when we've got unimplemented cases. Removes some unimplemented and unused 8bpp, depth 4 picture format names.
2006-06-21Fix #2488 for fb too: sample pixel center when transforming.Kristian Høgsberg1-6/+15
2006-06-19Pull over convolution filter fixes from xgl-0-0-1 branch.Kristan Høgsberg1-2/+7
Cherry-picking patches: 8a5ea68800b9d7dca90ff4e573ad8533852f1ea3 and 4d755fe14274a7293748ce9aa666ab85df6297c5
2006-06-19Fix crash when using PICT_x4a4 by supplying an appropriate fbFetchPixel_x4a4.Eric Anholt1-0/+9
2006-06-19Correct component ordering when fetching [ax]4b4g4r4 pixels.Eric Anholt1-10/+10
Noticed by: rendercheck
2006-05-18Bug #6827: Fix texel fetch in fbFetchTransformed to avoid crashes. StillAdam Jackson1-44/+45
not 100% correct, but better than 7.0. (Radek Doulik, Matthias Hopf)
2006-04-19Add support for x4a4 format (depth 4 at 8bpp). Bug #6325.Keith Packard1-2/+25
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt1-2/+6
of (marginal) use in the drivers, and that usage remains.
2005-12-09Bug #5258: Restore binary compatibility with 6.8.2's PictureRec. (AaronAdam Jackson1-14/+14
Plattner)
2005-12-08Bug #3944: Fix 24bpp packed pixel. (Søren Sandmann Pedersen)Adam Jackson1-2/+2
2005-10-04Correct the test for whether projective transform is necessary. Also, useEric Anholt1-16/+16
"affine" to describe the variable (universally) on suggestion from vektor. Corrects a rendercheck failure.
2005-10-03Merge r1.36 of fbcompose.c from xserver CVS: Special case projectiveEric Anholt1-78/+158
transforms so we can avoid doing the expensive 64-bit math. Unroll the bilinear interpolation loops for an extra boost. I tested this with the up/downscaling cairo-benchmarks with Xvfb and saw a 12% +/- 4% decrease in time taken to run them.
2005-09-07Fix typo resulting in failure to swap between RGB/BGR properly. (Stephen P.Daniel Stone1-2/+2
Becker)
2005-08-30More 0 -> NULL for pointers missed in previous commit to this file.Eric Anholt1-10/+10
2005-08-30Apply the xserver patch from vektor for bug #4208: Use NULL for pointersEric Anholt1-19/+19
instead of 0.
2005-08-12Fri Aug 12 14:49:24 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-24/+40
Apply another patch from Billy Biggs to fix precision issues.
2005-08-12Fri Aug 12 14:29:09 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-8/+10
Apply patch from Billy Biggs that fixes rounding problems with division. Part of bug 3945.
2005-07-13Fix potential buffer overflow and a smaller bug in the convolution filterLars Knoll1-4/+10
2005-07-12Add MMX Code paths for the basic composition operations inLars Knoll1-21/+22
fbComposeGeneral.
2005-07-04don't be too smart and try to replace PictOpOver by PictOpSrc when we haveLars Knoll1-4/+1
an external alpha map. Make fbmmx.c compile on gcc 4.0.1.
2005-07-04Fix handling of "super luminescent" colors Fix off by one error in theLars Knoll1-250/+244
transformation handling.
2005-07-03Fix more include paths; add dix-config.h to XKB code.Daniel Stone1-3/+1
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-1/+1
2005-07-01Add support for gradients and solid fills to Render.Lars Knoll1-25/+242
Changed the semantics of the Convolution filter a bit. It now doesn't try to normalize the filter values but leaves this to the client. This gives more reasonable behaviour in the limit where the filter parameters sum up to 0.
2005-06-15Fix projective transformations in fbcompose.c Bugfix for convolutionLars Knoll1-133/+283
filters
2005-06-13add the convolution filter from xserver to xorgLars Knoll1-71/+125
2005-05-14Change return statements to fix compiler errors: "fbcompose.c", line 2815:XORG-6_8_99_7Alan Coopersmith1-4/+8
void function cannot return value "fbcompose.c", line 2861: void function cannot return value
2005-05-08Render performance improvements. (Lars Knoll, Zack Rusin)Adam Jackson1-2272/+2506
2005-01-13Thu Jan 13 15:40:29 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-2/+15
Add MMX implementation of non-repeating source IN repeating mask, aka "translucent window". Add MMX implementation of CopyArea. Use MMX implementation of CopyArea. Use the new implementations.
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn1-2/+2