diff options
author | Ian Romanick <[email protected]> | 2004-06-03 18:57:18 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-06-03 18:57:18 +0000 |
commit | 74396056977776919aaa7c22be1a3d17774ae321 (patch) | |
tree | 025de75fd9bd7a042ab0cfcfd1b240f6e71ba280 /src/mesa/drivers/dri/common/utils.h | |
parent | 173bc32195f2dbce8d148d0efec3a5b3f6e5c2a2 (diff) |
Add a new function, driFillInModes, that is to be used by drivers to
create the set of support __GLcontextModes. This should replace the
current driver-specific fill_in_modes functions.
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.h')
-rw-r--r-- | src/mesa/drivers/dri/common/utils.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/utils.h b/src/mesa/drivers/dri/common/utils.h index 3f24ef73db9..3eaf13f4cab 100644 --- a/src/mesa/drivers/dri/common/utils.h +++ b/src/mesa/drivers/dri/common/utils.h @@ -1,5 +1,5 @@ /* - * (c) Copyright IBM Corporation 2002 + * (C) Copyright IBM Corporation 2002, 2004 * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -62,4 +62,10 @@ extern GLboolean driClipRectToFramebuffer( const GLframebuffer *buffer, GLint *x, GLint *y, GLsizei *width, GLsizei *height ); +extern GLboolean driFillInModes( __GLcontextModes ** modes, + GLenum fb_format, GLenum fb_type, + const uint8_t * depth_bits, const uint8_t * stencil_bits, + unsigned num_depth_stencil_bits, + const GLenum * db_modes, unsigned num_db_modes, int visType ); + #endif /* DRI_DEBUG_H */ |