more d3d caching, better d3d raster locking

This commit is contained in:
aap
2020-08-10 17:02:13 +02:00
parent e21cf250a2
commit 113d76cfaa
12 changed files with 185 additions and 124 deletions

View File

@@ -303,6 +303,15 @@ struct Raster
LOCKNOFETCH = 4, // don't fetch pixel data
LOCKRAW = 8,
};
enum
{
// from RW
PRIVATELOCK_READ = 0x02,
PRIVATELOCK_WRITE = 0x04,
PRIVATELOCK_READ_PALETTE = 0x08,
PRIVATELOCK_WRITE_PALETTE = 0x10,
};
};
void conv_RGBA8888_from_RGBA8888(uint8 *out, uint8 *in);