mirror of
https://github.com/aap/librw.git
synced 2025-01-23 17:22:23 +00:00
26 lines
556 B
C++
26 lines
556 B
C++
namespace rw {
|
|
|
|
struct Engine
|
|
{
|
|
ObjPipeline *defaultPipeline;
|
|
int32 rasterNativeOffset;
|
|
|
|
void (*rasterCreate)(Raster*);
|
|
uint8 *(*rasterLock)(Raster*, int32 level);
|
|
void (*rasterUnlock)(Raster*, int32 level);
|
|
int32 (*rasterNumLevels)(Raster*);
|
|
void (*rasterFromImage)(Raster*, Image*);
|
|
};
|
|
|
|
extern Engine engine[NUM_PLATFORMS];
|
|
|
|
namespace null {
|
|
void rasterCreate(Raster*);
|
|
uint8 *rasterLock(Raster*, int32 level);
|
|
void rasterUnlock(Raster*, int32 level);
|
|
int32 rasterNumLevels(Raster*);
|
|
void rasterFromImage(Raster*, Image*);
|
|
}
|
|
|
|
}
|