diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 22:20:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 22:20:00 +0000 |
commit | 555e551c46f5c9dbd74f92239c0078a6feb65568 (patch) | |
tree | a6a8386ea7e9e1095291ef60bbdab7a86058a5de /nuttx/graphics/nxglib/Makefile.sources | |
parent | 2371b78045295bfddaf54c65b579f804ef0b58b0 (diff) | |
download | px4-nuttx-555e551c46f5c9dbd74f92239c0078a6feb65568.tar.gz px4-nuttx-555e551c46f5c9dbd74f92239c0078a6feb65568.tar.bz2 px4-nuttx-555e551c46f5c9dbd74f92239c0078a6feb65568.zip |
Add more rasterizers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1316 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib/Makefile.sources')
-rw-r--r-- | nuttx/graphics/nxglib/Makefile.sources | 51 |
1 files changed, 41 insertions, 10 deletions
diff --git a/nuttx/graphics/nxglib/Makefile.sources b/nuttx/graphics/nxglib/Makefile.sources index a282867a1..4ec65944f 100644 --- a/nuttx/graphics/nxglib/Makefile.sources +++ b/nuttx/graphics/nxglib/Makefile.sources @@ -61,42 +61,73 @@ endif CPPFLAGS += -DNXGLIB_BITSPERPIXEL=$(NXGLIB_BITSPERPIXEL) CPPFLAGS += -DNXGLIB_SUFFIX=$(NXGLIB_SUFFIX) -FILL1_CSRCS = nxglib_fillrectangle_1bpp.c nxglib_fillrectangle_2bpp.c \ +RFILL1_CSRCS = nxglib_fillrectangle_1bpp.c nxglib_fillrectangle_2bpp.c \ nxglib_fillrectangle_4bpp.c -FILL2_CSRCS = nxglib_fillrectangle_8bpp.c nxglib_fillrectangle_16bpp.c \ +RFILL2_CSRCS = nxglib_fillrectangle_8bpp.c nxglib_fillrectangle_16bpp.c \ nxglib_fillrectangle_24bpp.c nxglib_fillrectangle_32bpp.c -MOVE1_CSRCS = nxglib_moverectangle_1bpp.c nxglib_moverectangle_2bpp.c \ +TFILL1_CSRCS = nxglib_filltrapezoid_1bpp.c nxglib_filltrapezoid_2bpp.c \ + nxglib_filltrapezoid_4bpp.c +TFILL2_CSRCS = nxglib_filltrapezoid_8bpp.c nxglib_filltrapezoid_16bpp.c \ + nxglib_filltrapezoid_24bpp.c nxglib_filltrapezoid_32bpp.c +RMOVE1_CSRCS = nxglib_moverectangle_1bpp.c nxglib_moverectangle_2bpp.c \ nxglib_moverectangle_4bpp.c -MOVE2_CSRCS = nxglib_moverectangle_8bpp.c nxglib_moverectangle_16bpp.c \ +RMOVE2_CSRCS = nxglib_moverectangle_8bpp.c nxglib_moverectangle_16bpp.c \ nxglib_moverectangle_24bpp.c nxglib_moverectangle_32bpp.c +RCOPY1_CSRCS = nxglib_copyrectangle_1bpp.c nxglib_copyrectangle_2bpp.c \ + nxglib_copyrectangle_4bpp.c +RCOPY2_CSRCS = nxglib_copyrectangle_8bpp.c nxglib_copyrectangle_16bpp.c \ + nxglib_copyrectangle_24bpp.c nxglib_copyrectangle_32bpp.c -GEN_CSRCS = $(FILL1_CSRCS) $(FILL2_CSRCS) $(MOVE1_CSRCS) $(MOVE2_CSRCS) +GEN_CSRCS = $(RFILL1_CSRCS) $(RFILL2_CSRCS) $(TFILL1_CSRCS) $(TFILL2_CSRCS) \ + $(RMOVE1_CSRCS) $(RMOVE2_CSRCS) $(RCOPY1_CSRCS) $(RCOPY2_CSRCS) all: $(GEN_CSRCS) .PHONY : clean distclean -$(FILL1_CSRCS) : nxglib_fillrectangle.c nxglib_bitblit.h +$(RFILL1_CSRCS) : nxglib_fillrectangle.c nxglib_bitblit.h ifneq ($(NXGLIB_BITSPERPIXEL),) $(call PREPROCESS, nxglib_fillrectangle.c, $@) endif -$(FILL2_CSRCS) : nxglib_fillrectangle.c nxglib_bitblit.h +$(RFILL2_CSRCS) : nxglib_fillrectangle.c nxglib_bitblit.h ifneq ($(NXGLIB_BITSPERPIXEL),) $(call PREPROCESS, nxglib_fillrectangle.c, $@) endif -$(MOVE1_CSRCS) : nxglib_moverectangle.c nxglib_bitblit.h +$(TFILL1_CSRCS) : nxglib_filltrapezoid.c nxglib_bitblit.h +ifneq ($(NXGLIB_BITSPERPIXEL),) + $(call PREPROCESS, nxglib_filltrapezoid.c, $@) +endif + +$(TFILL2_CSRCS) : nxglib_filltrapezoid.c nxglib_bitblit.h +ifneq ($(NXGLIB_BITSPERPIXEL),) + $(call PREPROCESS, nxglib_filltrapezoid.c, $@) +endif + +$(RMOVE1_CSRCS) : nxglib_moverectangle.c nxglib_bitblit.h ifneq ($(NXGLIB_BITSPERPIXEL),) $(call PREPROCESS, nxglib_moverectangle.c, $@) endif -$(MOVE2_CSRCS) : nxglib_moverectangle.c nxglib_bitblit.h +$(RMOVE2_CSRCS) : nxglib_moverectangle.c nxglib_bitblit.h ifneq ($(NXGLIB_BITSPERPIXEL),) $(call PREPROCESS, nxglib_moverectangle.c, $@) endif + +$(RCOPY1_CSRCS) : nxglib_copyrectangle.c nxglib_bitblit.h +ifneq ($(NXGLIB_BITSPERPIXEL),) + $(call PREPROCESS, nxglib_copyrectangle.c, $@) +endif + +$(RCOPY2_CSRCS) : nxglib_copyrectangle.c nxglib_bitblit.h +ifneq ($(NXGLIB_BITSPERPIXEL),) + $(call PREPROCESS, nxglib_copyrectangle.c, $@) +endif + clean: @rm -f *~ .*.swp distclean: clean - @rm -f nxglib_fillrectangle_*bpp.c nxglib_moverectangle_*bpp.c + @rm -f nxglib_fillrectangle_*bpp.c nxglib_filltrapezoid_*bpp.c + @rm -f nxglib_moverectangle_*bpp.c nxglib_copyrectangle_*bpp.c |