summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-19Remove tests for no-accessorsaccess-deniedSøren Sandmann Pedersen1-1/+0
2009-06-19Remove noop access macrosSøren Sandmann Pedersen2-15/+6
2009-06-19Remove accessor declarationsSøren Sandmann Pedersen1-13/+0
2009-06-19Fix prepare_access() and finish_access() for yv12 images.Søren Sandmann Pedersen1-4/+25
The yv12 format consists of height lines of Y data followed by height more lines of U and V data.
2009-06-19Remove uses of ACCESS; delete all the accessor macros from pixman-private.hSøren Sandmann Pedersen2-25/+10
2009-06-19Remove READ and WRITE from pixman-edge-imp.hSøren Sandmann Pedersen1-6/+4
2009-06-19Remove READ/WRITE macros from pixman-private.hSøren Sandmann Pedersen1-20/+30
2009-06-19Delete access macros from pixman-edge.cSøren Sandmann Pedersen1-18/+18
2009-06-19Remove MEMCPY_WRAPPED macro from pixman-access.cSøren Sandmann Pedersen1-5/+5
2009-06-19Remove WRITE macro from pixman-access.cSøren Sandmann Pedersen1-59/+60
2009-06-19Remove READ macro from pixman-access.cSøren Sandmann Pedersen1-75/+76
2009-06-19When images have read/write accessors, simply make a copy upfront.Søren Sandmann Pedersen11-81/+131
Previously we would call the accessors per pixel, which required compiling pixman-access.c twice.
2009-06-19Get rid of pixman_region_internal_set_static_pointers()Søren Sandmann Pedersen3-29/+18
Instead just define the function in pixman-region16.c
2009-06-19Rename PixmanTimer to pixman_timer_tSøren Sandmann Pedersen2-8/+8
2009-06-19Rename GradientWalker to pixman_gradient_walker_tSøren Sandmann Pedersen5-10/+10
2009-06-19Delete unused IS_SOURCE_IMAGE() macroSøren Sandmann Pedersen1-2/+0
2009-06-19Remove commented-out fbAddTrianglesSøren Sandmann Pedersen1-94/+0
2009-06-19Remove useless FbBits typedefSøren Sandmann Pedersen1-2/+0
2009-06-19Delete unused CombineFunc{32,64} typesSøren Sandmann Pedersen1-2/+0
2009-06-19Rename bits_image.fetch_pixels_{32,64} to fetch_pixels_raw_{32,64}Søren Sandmann Pedersen2-11/+24
Also add a couple of comments about what these functions do.
2009-06-19Delete empty FASTCALL macroSøren Sandmann Pedersen6-277/+276
2009-06-19Delete FbComposeData typeSøren Sandmann Pedersen1-22/+0
2009-06-19Remove unused pixmanFetchGradient() declarationSøren Sandmann Pedersen1-2/+0
2009-06-19Remove dstMask from pixman-fast-path.cSøren Sandmann Pedersen1-18/+11
These were used to zero the x8 channel of PIXMAN_x8r8g8b8 destinations. However, we treat this channel as undefined, so there is no need to zero it.
2009-06-19Eliminate trivial READ and WRITE macros in pixman-fast-path.cSøren Sandmann Pedersen1-51/+47
2009-06-19Fix build on Sun Studio.William Bonnet1-1/+1
Don't use return in a void function.
2009-06-16[NEON] Add ARGB8-over-RGB565 compositing blitter.Jonathan Morton1-0/+151
2009-06-16[NEON] Add transparent rect blitter.Jonathan Morton1-0/+140
2009-06-16[NEON] Replace Ian's glyph-blitter with a better one.Jonathan Morton1-337/+178
Each scanline of the destination is bulk-loaded into a cached buffer on the stack (using the QuadWordCopy routine) before being processed. This is the primary benefit on uncached framebuffers, since it is necessary to minimise the number of accesses to such things and avoid write-to-read turnarounds. This also simplifies edge handling, since QuadWordCopy() can do a precise writeback efficiently via the write-combiner, allowing the main routine to "over-read" the scanline edge safely when required. This is why the glyph's mask data is also copied into a temporary buffer of known size. Each group of 8 pixels is then processed using fewer instructions, taking advantage of the lower precision requirements of the 6-bit destination (so a simpler pixel multiply can be used) and using a more efficient bit-repacking method. (As an aside, this patch removes nearly twice as much code as it introduces. Most of this is due to duplication of Ian's inner loop, since he has to handle narrow cases separately. RVCT support is of course preserved.) We measured the doubling of performance by rendering 96-pixel height glyph strings, which are fillrate limited rather than latency/overhead limited. The performance is also improved, albeit by a smaller amount, on the more usual smaller text, demonstrating that internal overhead is not a problem.
2009-06-16Post-release version bumpSøren Sandmann Pedersen1-1/+1
2009-06-16Pre-release version bumpSøren Sandmann Pedersen1-1/+1
2009-06-15Add RVCT support for straight blitter.Jonathan Morton1-21/+50
2009-06-15Better CFLAGS handling for recent ARM platforms.Jonathan Morton1-4/+2
2009-06-15Misc warning fixes.Jonathan Morton1-10/+13
2009-06-13Add API to set a function to be called when the image is destroyed.Søren Sandmann Pedersen3-0/+23
2009-06-13Work around X server bug.Søren Sandmann Pedersen2-2/+13
X servers prior to ebfd6688d1927288155221e7a78fbca9f9293952 relied on pixman not clipping to destination geometry whenever an explicit clip region was set. Since only X servers set source_clipping, we can just trigger off of that.
2009-06-13Move region computation closer to the region walking.Søren Sandmann Pedersen1-37/+26
Computing the composite is region is a bit expensive, so only compute it if we are likely to actually walk it.
2009-06-13Simplify clipping ruleSøren Sandmann Pedersen7-115/+82
The new rule is: - Output is clipped to the destination clip region. - If a source image has the clip_sources property set, then there is an additional step, after repeating and transforming, but before compositing, where pixels that are not in the source clip are rejected. Rejected means no compositing takes place (not that the pixel is treated as 0). By default source clipping is turned off; when they are turned on, only client-set clips are honored. The old rules were unclear and inconsistently implemented.
2009-06-13Fix pixman_image_is_opaque()Søren Sandmann Pedersen1-29/+23
- Don't claim that non-repeating bits images are opaque. - Don't claim that conical gradients are opaque ever.
2009-06-13Only call fast paths when the images cover the composite regionSøren Sandmann Pedersen1-32/+67
2009-06-13Pass the region to walk_region_internal()Søren Sandmann Pedersen1-29/+41
2009-06-13Remove srcRepeat and maskRepeat arguments from _pixman_walk_composite_region()Søren Sandmann Pedersen4-27/+21
2009-06-13Remove all the srcRepeat/srcTransform stuff from the general implementation.Søren Sandmann Pedersen1-49/+1
2009-06-13Make _pixman_walk_composite_region() a wrapper around an internal functionSøren Sandmann Pedersen1-19/+46
2009-06-13Handle repeat_none/normal for 64 bit fetchersSøren Sandmann Pedersen1-55/+76
2009-06-13Make the untransformed path handle REPEAT_NONE and REPEAT_NORMALSøren Sandmann Pedersen1-3/+61
2009-06-05Post-release version bumpSøren Sandmann Pedersen1-1/+1
2009-06-05Pre-release version bumpSøren Sandmann Pedersen3-4/+9
Also squash some warnings and correct the variable name in RELEASING.
2009-06-04[NEON] Really fix filler bug.Jonathan Morton1-3/+3
Advance the destination pointer (r4 register) properly. Found by Siarhei Siamashka.
2009-06-04[NEON] Fix filler bug.Jonathan Morton1-1/+1
r5 is being sourced explicitly instead of the %[width] reference. It's probably a copy-paste bug, not spotted because I didn't originally write it.