summaryrefslogtreecommitdiff
path: root/pixman/pixman-edge-imp.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-24Merge branch 'trap-fixes'Søren Sandmann Pedersen1-4/+8
2010-02-19Move SCREEN_SHIFT_LEFT/RIGHT to pixman-private.hAlexander Larsson1-8/+0
This is needed for later use in other code.
2009-11-17Round horizontal sampling points towards northwest.Søren Sandmann Pedersen1-4/+8
This is a similar change as the top/bottom one, but in this case the rounding is simpler because it's just always rounding down. Based on a patch by M Joonas Pihlaja.
2009-07-08Convert CamelCase names to underscore_names.Søren Sandmann Pedersen1-7/+7
s/sizeRI/size_ri/g; s/numRI/num_ri/g; s/RepeatNone/REPEAT_NONE/g; s/fbOver/over/g; s/fbIn/in/g; s/iSrc/src_image/g; s/iMask/mask_image/g; s/iDst/dest_image/g; s/SaDa/Sa.Da/g; s/FbMaskBits/MASK_BITS/g; s/RenderSamplesX/RENDER_SAMPLES_X/g; s/MMXData/mmx_data_t/g; s/RegionInfo/region_info_t/g; s/([^0x])([a-z])([A-Z])/$1$2_\l$3/g; s/([^0x])([A-Z])([A-Z])([a-z])/$1$2_\l$3$4/g; s/([^0x])([A-Z])([a-z]+)_([a-z])/$1\l$2$3_$4/g; s/([a-z])_([A-Z])/$1_\l$2/g; s/su_sE/SuSE/g; s/X_Free86/XFree86/g; s/X_free86/XFree86/g; s/_ULL/ULL/g; s/_uLL/ULL/g; s/U_nc/UNc/g; s/combine ##/combine_ ##/g; s/## U/## _u/g; s/## C/## _c/g; s/UNc_aDD/UNc_ADD/g; s/BLEND_MODE \((.+)\)/BLEND_MODE (\l$1)/g; s/blend_(.+)/blend_\l$1/g; s/AN_ds/ANDs/g; s/O_rs/ORs/g; s/over565/over_565/g; s/8pix/8_pix/g; s/Over565/over_565/g; s/inU/in_u/g; s/inPart/in_part/g; s/inC/in_c/g; s/inreverse/in_reverse/g; s/get_exception_code/GetExceptionCode/g; # GetExceptionCode is WinCE API s/CP_us/CPUs/g; s/authentic_aMD/AuthenticAMD/g; s/op_sR_cx_mAS_kx_dST/op_src_mask_dest/g; s/no_VERBOSE/noVERBOSE/g; s/mc_cormack/McCormack/g; s/r1band/r1_band/g; s/r2band/r2_band/g; s/as GOOD things/as good things/g; s/brokendata/broken_data/g; s/X_render/XRender/g; s/__open_bSD__/__OpenBSD__/g; s/^Quick/quick/g; s/NextRect/next_rect/g; s/RectIn/rect_in/g; s/pboxout/pbox_out/g; s/F_sorted/FSorted/g; s/usse2/u_sse2/g; s/csse2/c_sse2/g; s/cPixelsse2/c_pixel_sse2/g; s/Mask565/mask_565/g; s/565fix_rB/565_fix_rb/g; s/565fix_g/565_fix_g/g; s/565r/565_r/g; s/565g/565_g/g; s/565b/565_b/g; s/uPixelsse2/u_pixel_sse2/g; s/Mask00ff/mask_00ff/g; s/Mask0080/mask_0080/g; s/Mask0101/mask_0101/g; s/Maskffff/mask_ffff/g; s/Maskff000000/mask_ff000000/g; s/load128Aligned/load_128_aligned/g; s/load128Unaligned/load_128_unaligned/g; s/save128Aligned/save_128_aligned/g; s/save128Unaligned/save_128_unaligned/g; s/fillsse2/fill_sse2/g; s/unpack565/unpack_565/g; s/pack565/pack_565/g; s/bltsse2/blt_sse2/g; s/x565Unpack/x565_unpack/g; s/r1End/r1_end/g; s/r2End/r2_end/g; s/argb8Pixels/argb8_pixels/g;
2009-07-08s/FbScrRight/SCREEN_SHIFT_RIGHT/gSøren Sandmann Pedersen1-3/+3
2009-07-08Fix names in the trap rasterizer.Søren Sandmann Pedersen1-12/+12
s/Shift4/SHIFT_4/g; s/Get4/GET_4/g; s/Put4/PUT_4/g; s/DefineAlpha/DEFINE_ALPHA/g; s/AddAlpha/ADD_ALPHA/g; s/StepAlpha/STEP_ALPHA/g; s/add_saturate_8/ADD_SATURATE_8/g; s/RenderEdgeStepSmall/RENDER_EDGE_STEP_SMALL/g; s/RenderEdgeStepBig/RENDER_EDGE_STEP_BIG/g; s/fbRasterizeEdges/b00_re/g; s/rasterizeEdges/RASTERIZE_EDGES/g; s/b00_re/rasterize_edges_/g;
2009-07-08Various simple renamingsSøren Sandmann Pedersen1-7/+7
s/CvtR8G8B8toY15/CONVERT_RGB24_TO_Y15/g; s/cvt8888to0565/CONVERT_8888_TO_0565/g; s/cvt0565to0888/CONVERT_0565_TO_0888/g; s/miIndexToEnt15/RGB16_TO_ENTRY/g; s/miIndexToEnt24/RGB24_TO_ENTRY/g; s/miIndexToEntY24/RGB24_TO_ENTRY_Y/g; s/miCvtR8G8B8to15/CONVERT_RGB24_TO_RGB15/g; s/is_same/IS_SAME/g; s/is_zero/IS_ZERO/g; s/is_int([ (])/IS_INT$1/g; s/is_one/IS_ONE/g; s/is_unit/IS_UNIT/g; s/Fetch4/FETCH_4/g; s/Store4/STORE_4/g; s/Fetch8/FETCH_8/g; s/Store8/STORE_8/g; s/Fetch24/fetch_24/g; s/Store24/store_24/g; s/_64_generic/64_generic/g; s/64_generic/_generic_64/g; s/32_generic_lossy/_generic_lossy_32/g; s/PdfSeparableBlendMode/PDF_SEPARABLE_BLEND_MODE/g; s/PdfNonSeparableBlendMode/PDF_NON_SEPARABLE_BLEND_MODE/g; s/([^_])HSL/$1Hsl/g; s/Blend/blend_/g; s/FbScrLeft/SCREEN_SHIFT_LEFT/g; s/FbScrRigth/SCREEN_SHIFT_RIGHT/g; s/FbLeftMask/LEFT_MASK/g; s/FbRightMask/RIGHT_MASK/g; s/Splita/SPLIT_A/g; s/Split/SPLIT/g; s/MMX_Extensions/MMX_EXTENSIONS/g;
2009-06-21Delete FB_MASK and FB_ALLONES macrosSøren Sandmann Pedersen1-1/+1
2009-06-21Eliminate bit fiddling macros from pixman-private.h.Søren Sandmann Pedersen1-12/+44
There was one remaining use of FbMaskBits in the a1 trap rasterizer; just move that macro there.
2008-01-22A tiny amount of ifdef reduction.Carl Worth1-5/+4
Just moving two common assignments outside the condition to drop the #else part.
2008-01-22eliminate a special case in fbRasterizeEdges{4,8}.Bertram Felgenhauer1-6/+9
2008-01-22fix cairo's a1-traps-sample testBertram Felgenhauer1-2/+10
For 1 bit alpha targets, the left and right boundaries of edges were not rounded correctly.
2008-01-15Remove last CVS $Id$ tagsVladimir Vukicevic1-2/+0
2007-09-17Use a consistent type for stride and more importantly, use always a signed type.José Fonseca1-2/+2
2007-09-14Remove the macro magic from READ/WRITE macros.José Fonseca1-16/+16
2007-08-25rasterize traps that extend outside of the image bounds correctlyVladimir Vukicevic1-2/+2
Traps that extend outside of the image bounds are rasterized incorrectly currently; the problem is a signed vs. unsigned comparison that got introduced when a width parameter went from int -> uint. This patch puts it back to int (since it's stored as an int in the bits structure to begin with), and also fixes a similar warning in the memset wrapper
2007-06-16Remove ACCESS_MEM macro; define READ and WRITE to directly use the wrapper ↵Søren Sandmann1-23/+20
functions
2007-05-23Fix bug in rasterizeEdges() where the stride was treated as if inSøren Sandmann1-98/+95
bytes, when it was in uint32_t's. Formatting fixes. Delete misleading comment from pixman-private.h
2007-05-22Add implementation of edge rasterizationSoren Sandmann Pedersen1-0/+152