Augment the DDSCAPS2 dumping routine with new caps.
This commit is contained in:
parent
e8d0f97453
commit
f18aec26c4
|
@ -157,41 +157,62 @@ void DDRAW_dump_DDBLT(DWORD flagmask)
|
|||
|
||||
void DDRAW_dump_DDSCAPS(const DDSCAPS2 *in)
|
||||
{
|
||||
static const flag_info flags[] =
|
||||
{
|
||||
FE(DDSCAPS_RESERVED1),
|
||||
FE(DDSCAPS_ALPHA),
|
||||
FE(DDSCAPS_BACKBUFFER),
|
||||
FE(DDSCAPS_COMPLEX),
|
||||
FE(DDSCAPS_FLIP),
|
||||
FE(DDSCAPS_FRONTBUFFER),
|
||||
FE(DDSCAPS_OFFSCREENPLAIN),
|
||||
FE(DDSCAPS_OVERLAY),
|
||||
FE(DDSCAPS_PALETTE),
|
||||
FE(DDSCAPS_PRIMARYSURFACE),
|
||||
FE(DDSCAPS_PRIMARYSURFACELEFT),
|
||||
FE(DDSCAPS_SYSTEMMEMORY),
|
||||
FE(DDSCAPS_TEXTURE),
|
||||
FE(DDSCAPS_3DDEVICE),
|
||||
FE(DDSCAPS_VIDEOMEMORY),
|
||||
FE(DDSCAPS_VISIBLE),
|
||||
FE(DDSCAPS_WRITEONLY),
|
||||
FE(DDSCAPS_ZBUFFER),
|
||||
FE(DDSCAPS_OWNDC),
|
||||
FE(DDSCAPS_LIVEVIDEO),
|
||||
FE(DDSCAPS_HWCODEC),
|
||||
FE(DDSCAPS_MODEX),
|
||||
FE(DDSCAPS_MIPMAP),
|
||||
FE(DDSCAPS_RESERVED2),
|
||||
FE(DDSCAPS_ALLOCONLOAD),
|
||||
FE(DDSCAPS_VIDEOPORT),
|
||||
FE(DDSCAPS_LOCALVIDMEM),
|
||||
FE(DDSCAPS_NONLOCALVIDMEM),
|
||||
FE(DDSCAPS_STANDARDVGAMODE),
|
||||
FE(DDSCAPS_OPTIMIZED)
|
||||
static const flag_info flags[] = {
|
||||
FE(DDSCAPS_RESERVED1),
|
||||
FE(DDSCAPS_ALPHA),
|
||||
FE(DDSCAPS_BACKBUFFER),
|
||||
FE(DDSCAPS_COMPLEX),
|
||||
FE(DDSCAPS_FLIP),
|
||||
FE(DDSCAPS_FRONTBUFFER),
|
||||
FE(DDSCAPS_OFFSCREENPLAIN),
|
||||
FE(DDSCAPS_OVERLAY),
|
||||
FE(DDSCAPS_PALETTE),
|
||||
FE(DDSCAPS_PRIMARYSURFACE),
|
||||
FE(DDSCAPS_PRIMARYSURFACELEFT),
|
||||
FE(DDSCAPS_SYSTEMMEMORY),
|
||||
FE(DDSCAPS_TEXTURE),
|
||||
FE(DDSCAPS_3DDEVICE),
|
||||
FE(DDSCAPS_VIDEOMEMORY),
|
||||
FE(DDSCAPS_VISIBLE),
|
||||
FE(DDSCAPS_WRITEONLY),
|
||||
FE(DDSCAPS_ZBUFFER),
|
||||
FE(DDSCAPS_OWNDC),
|
||||
FE(DDSCAPS_LIVEVIDEO),
|
||||
FE(DDSCAPS_HWCODEC),
|
||||
FE(DDSCAPS_MODEX),
|
||||
FE(DDSCAPS_MIPMAP),
|
||||
FE(DDSCAPS_RESERVED2),
|
||||
FE(DDSCAPS_ALLOCONLOAD),
|
||||
FE(DDSCAPS_VIDEOPORT),
|
||||
FE(DDSCAPS_LOCALVIDMEM),
|
||||
FE(DDSCAPS_NONLOCALVIDMEM),
|
||||
FE(DDSCAPS_STANDARDVGAMODE),
|
||||
FE(DDSCAPS_OPTIMIZED)
|
||||
};
|
||||
static const flag_info flags2[] = {
|
||||
FE(DDSCAPS2_HARDWAREDEINTERLACE),
|
||||
FE(DDSCAPS2_HINTDYNAMIC),
|
||||
FE(DDSCAPS2_HINTSTATIC),
|
||||
FE(DDSCAPS2_TEXTUREMANAGE),
|
||||
FE(DDSCAPS2_RESERVED1),
|
||||
FE(DDSCAPS2_RESERVED2),
|
||||
FE(DDSCAPS2_OPAQUE),
|
||||
FE(DDSCAPS2_HINTANTIALIASING),
|
||||
FE(DDSCAPS2_CUBEMAP),
|
||||
FE(DDSCAPS2_CUBEMAP_POSITIVEX),
|
||||
FE(DDSCAPS2_CUBEMAP_NEGATIVEX),
|
||||
FE(DDSCAPS2_CUBEMAP_POSITIVEY),
|
||||
FE(DDSCAPS2_CUBEMAP_NEGATIVEY),
|
||||
FE(DDSCAPS2_CUBEMAP_POSITIVEZ),
|
||||
FE(DDSCAPS2_CUBEMAP_NEGATIVEZ),
|
||||
FE(DDSCAPS2_MIPMAPSUBLEVEL),
|
||||
FE(DDSCAPS2_D3DTEXTUREMANAGE),
|
||||
FE(DDSCAPS2_DONOTPERSIST),
|
||||
FE(DDSCAPS2_STEREOSURFACELEFT)
|
||||
};
|
||||
|
||||
DDRAW_dump_flags_(in->dwCaps, flags, sizeof(flags)/sizeof(flags[0]), 0);
|
||||
DDRAW_dump_flags_(in->dwCaps2, flags2, sizeof(flags2)/sizeof(flags2[0]), 0);
|
||||
}
|
||||
|
||||
void DDRAW_dump_pixelformat_flag(DWORD flagmask)
|
||||
|
|
Loading…
Reference in New Issue