83 lines
1.4 KiB
C
83 lines
1.4 KiB
C
/*
|
|
* Copyright (c) 1993-1995 Argonaut Technologies Limited. All rights reserved.
|
|
*
|
|
* $Id: OUTFCTY.H 2.1 1996/01/29 10:50:21 sam Exp $
|
|
* $Locker: $
|
|
*
|
|
* Private output facility structure
|
|
*/
|
|
#ifndef _OUTFCTY_H_
|
|
#define _OUTFCTY_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Private state of output type
|
|
*/
|
|
|
|
typedef struct br_output_facility {
|
|
/*
|
|
* Dispatch table
|
|
*/
|
|
struct br_output_facility_dispatch *dispatch;
|
|
|
|
/*
|
|
* Standard object identifier
|
|
*/
|
|
char *identifier;
|
|
|
|
/*
|
|
* List of instances associated with type
|
|
*/
|
|
void *object_list;
|
|
|
|
/* Size of mode in pixels
|
|
*/
|
|
br_int_32 width;
|
|
br_int_32 height;
|
|
|
|
/* Bit depth
|
|
*/
|
|
br_int_32 colour_bits;
|
|
br_int_32 depth_bits;
|
|
|
|
/* Pixelmap types
|
|
*/
|
|
br_int_32 colour_type;
|
|
br_int_32 depth_type;
|
|
|
|
/* Is there a CLUT?
|
|
*/
|
|
br_boolean indexed;
|
|
|
|
/* Fullscreen mode: always TRUE in this driver */
|
|
br_boolean fullscreen;
|
|
|
|
/* Video memory size
|
|
*/
|
|
br_int_32 video_memory;
|
|
br_int_32 host_memory;
|
|
|
|
/*
|
|
* Number of instances
|
|
*/
|
|
br_int_32 num_instances;
|
|
|
|
/* Primitive library to use
|
|
*/
|
|
struct br_primitive_library *prim_lib;
|
|
|
|
} br_output_facility;
|
|
|
|
#define OutputFacilityMystType(c) (((br_output_facility *)c)->colour_type)
|
|
|
|
#define STATIC_OUTPUT_FACILITY_MYSTIQUE(id,w,h,cb,ct, vm, hm)\
|
|
{NULL, id, NULL, w, h, cb, 16, ct, BR_PMT_DEPTH_16, BR_FALSE, BR_TRUE, vm, hm, }
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
#endif
|
|
|