a little clean up, usage of unpacked scanline container gives a small speedup

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11248 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-02-04 15:45:12 +00:00
parent 033e1e690c
commit 2902c1573a

View File

@ -11,16 +11,17 @@
#include <agg_renderer_primitives.h> #include <agg_renderer_primitives.h>
#include <agg_renderer_scanline.h> #include <agg_renderer_scanline.h>
#include <agg_scanline_bin.h> #include <agg_scanline_bin.h>
#include <agg_scanline_p.h> //#include <agg_scanline_p.h>
//#include <agg_scanline_u.h> #include <agg_scanline_u.h>
#include <agg_rendering_buffer.h> #include <agg_rendering_buffer.h>
//#include "_for_reference_.h"
#include "forwarding_pixfmt.h" #include "forwarding_pixfmt.h"
#define ALIASED_DRAWING 0 #define ALIASED_DRAWING 0
// typedef agg::pixfmt_bgra32 pixfmt; // typedef agg::pixfmt_bgra32 pixfmt;
typedef agg::forwarding_pixel_format<agg::order_bgra32> pixfmt; typedef forwarding_pixel_format<agg::order_bgra32> pixfmt;
typedef agg::renderer_mclip<pixfmt> renderer_base; typedef agg::renderer_mclip<pixfmt> renderer_base;
#if ALIASED_DRAWING #if ALIASED_DRAWING
@ -34,7 +35,7 @@
typedef agg::renderer_outline_aa<renderer_base> outline_renderer_type; typedef agg::renderer_outline_aa<renderer_base> outline_renderer_type;
typedef agg::rasterizer_outline_aa<outline_renderer_type> outline_rasterizer_type; typedef agg::rasterizer_outline_aa<outline_renderer_type> outline_rasterizer_type;
typedef agg::scanline_p8 scanline_type; typedef agg::scanline_u8 scanline_type;
typedef agg::rasterizer_scanline_aa<> rasterizer_type; typedef agg::rasterizer_scanline_aa<> rasterizer_type;
typedef agg::renderer_scanline_aa_solid<renderer_base> renderer_type; typedef agg::renderer_scanline_aa_solid<renderer_base> renderer_type;
#endif #endif