brender-1997/pentprim/SBUFFER.H

66 lines
922 B
C++
Raw Permalink Normal View History

2022-05-03 16:30:35 -05:00
/*
* Copyright (c) 1993-1995 Argonaut Technologies Limited. All rights reserved.
*
* $Id: SBUFFER.H 1.1 1996/09/26 19:04:00 JOHNG Exp $
* $Locker: $
*
* Stored buffer structure
*/
#ifndef _SBUFFER_H_
#define _SBUFFER_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Flags
*/
enum {
SBUFF_SHARED = 0x0001, /* Data is shared with user */
};
typedef struct br_buffer_stored {
/*
* Dispatch table
*/
struct br_buffer_stored_dispatch *dispatch;
/*
* Standard object identifier
*/
char *identifier;
/*
* Pointer to owning device
*/
struct br_device *device;
/*
* Primitive library
*/
struct br_primitive_library *plib;
/*
* Flags
*/
br_uint_32 flags;
/*
* Reduced info about buffer
*/
struct render_buffer buffer;
/*
* Duplicated pixelmap (or NULL if none)
*/
struct br_device_pixelmap *local_pm;
} br_buffer_stored;
#ifdef __cplusplus
};
#endif
#endif