+
+ struct CPURenderTarget
+ {
+ uint8_t * pixels;
+ int w;
+ int h;
+ };
+ struct CPURenderBounds
+ {
+ int x; int y; int w; int h;
+ CPURenderBounds(const Rect & bounds, const View & view, const CPURenderTarget & target);
+ };
+
+ static void SaveBMP(const CPURenderTarget & target, const char * filename);
+
+
+ virtual void RenderUsingCPU(const Objects & objects, const View & view, const CPURenderTarget & target) = 0;