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.
This commit is contained in:
Ian Romanick
2004-06-03 18:57:18 +00:00
parent 173bc32195
commit 7439605697
2 changed files with 244 additions and 2 deletions

View File

@@ -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 */