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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user