pb_manager Struct Reference

Abstract base class for all buffer managers. More...

Collaboration diagram for pb_manager:

Collaboration graph
[legend]

Data Fields

void(* destroy )(struct pb_manager *mgr)
struct pb_buffer *(* create_buffer )(struct pb_manager *mgr, size_t size, const struct pb_desc *desc)
void(* flush )(struct pb_manager *mgr)
 Flush all temporary-held buffers.

Detailed Description

Abstract base class for all buffer managers.

Definition at line 70 of file pb_bufmgr.h.


Field Documentation

void(* pb_manager::destroy)(struct pb_manager *mgr)

struct pb_buffer*(* pb_manager::create_buffer)(struct pb_manager *mgr, size_t size, const struct pb_desc *desc) [read]

void(* pb_manager::flush)(struct pb_manager *mgr)

Flush all temporary-held buffers.

Used mostly to aid debugging memory issues or to clean up resources when the drivers are long lived.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:03 2009 for Gallium3D by  doxygen 1.5.4