diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 01:11:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 01:11:21 +0000 |
commit | 6f348a7102c32164dd7fcc9008bdbd8a810fc5b7 (patch) | |
tree | b068085af685fc785d46ed381451bf0218b798b6 /nuttx/graphics/nxglib | |
parent | 4f87e3eca12c882f3ff1eb992817729ef134167b (diff) | |
download | px4-nuttx-6f348a7102c32164dd7fcc9008bdbd8a810fc5b7.tar.gz px4-nuttx-6f348a7102c32164dd7fcc9008bdbd8a810fc5b7.tar.bz2 px4-nuttx-6f348a7102c32164dd7fcc9008bdbd8a810fc5b7.zip |
Add logic for font rendering
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1410 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib')
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_bitblit.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_bitblit.h b/nuttx/graphics/nxglib/nxglib_bitblit.h index 0fb463fd6..02baba13a 100644 --- a/nuttx/graphics/nxglib/nxglib_bitblit.h +++ b/nuttx/graphics/nxglib/nxglib_bitblit.h @@ -108,18 +108,6 @@ # define NXGL_ALIGNDOWN(x) ((x) & ~NXGL_PIXELMASK) # define NXGL_ALIGNUP(x) (((x) + NXGL_PIXELMASK) & ~NXGL_PIXELMASK) -# ifdef CONFIG_NXGL_PACKEDMSFIRST -# define NXGL_MASKEDSRC1(s,r) ((s) & (((ubyte)0xff) >> (8 - ((r) << pixelshift)))) -# define NXGL_MASKEDVALUE1(s,r) ((s) & (((ubyte)0xff) << ((r) << NXGL_PIXELSHFIT))) -# define NXGL_MASKEDSRC2(s,r) ((s) & (((ubyte)0xff) >> ((r) << pixelshift))) -# define NXGL_MASKEDVALUE2(s,r) ((s) & (((ubyte)0xff) << (8 - ((r) << NXGL_PIXELSHFIT)))) -# else -# define NXGL_MASKEDSRC1(s,r) ((s) & (((ubyte)0xff) >> ((r) << pixelshift))) -# define NXGL_MASKEDVALUE1(s,r) ((s) & (((ubyte)0xff) << (8 - ((r) << NXGL_PIXELSHFIT)))) -# define NXGL_MASKEDSRC2(s,r) ((s) & (((ubyte)0xff) >> (8 - ((r) << pixelshift)))) -# define NXGL_MASKEDVALUE2(s,r) ((s) & (((ubyte)0xff) << ((r) << NXGL_PIXELSHFIT))) -# endif - # define NXGL_MEMSET(dest,value,width) \ { \ FAR ubyte *_ptr = (FAR ubyte*)dest; \ |