2016-06-16 14:08:09 +02:00
|
|
|
#include <cstdio>
|
2016-06-17 00:06:37 +02:00
|
|
|
#include <cstdlib>
|
|
|
|
#include <cassert>
|
2016-06-16 14:08:09 +02:00
|
|
|
|
|
|
|
#include "rwbase.h"
|
|
|
|
#include "rwplg.h"
|
|
|
|
#include "rwpipeline.h"
|
|
|
|
#include "rwobjects.h"
|
|
|
|
#include "rwengine.h"
|
|
|
|
|
|
|
|
namespace rw {
|
|
|
|
|
2016-06-21 23:16:09 +02:00
|
|
|
Engine engine;
|
|
|
|
|
|
|
|
Driver driver[NUM_PLATFORMS];
|
2016-06-16 14:08:09 +02:00
|
|
|
|
|
|
|
namespace null {
|
|
|
|
|
2016-06-21 23:16:09 +02:00
|
|
|
void beginUpdate(Camera*) { }
|
|
|
|
|
|
|
|
void endUpdate(Camera*) { }
|
|
|
|
|
|
|
|
|
2016-06-16 14:08:09 +02:00
|
|
|
void
|
|
|
|
rasterCreate(Raster*)
|
|
|
|
{
|
|
|
|
assert(0 && "rasterCreate not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
uint8*
|
|
|
|
rasterLock(Raster*, int32)
|
|
|
|
{
|
|
|
|
assert(0 && "lockRaster not implemented");
|
2016-06-21 23:16:09 +02:00
|
|
|
return nil;
|
2016-06-16 14:08:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
rasterUnlock(Raster*, int32)
|
|
|
|
{
|
|
|
|
assert(0 && "unlockRaster not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
int32
|
2016-06-16 15:35:45 +02:00
|
|
|
rasterNumLevels(Raster*)
|
2016-06-16 14:08:09 +02:00
|
|
|
{
|
|
|
|
assert(0 && "rasterNumLevels not implemented");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
rasterFromImage(Raster*, Image*)
|
|
|
|
{
|
|
|
|
assert(0 && "rasterFromImage not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|