mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
added device driver ReadPixels and CopyPixels functions
This commit is contained in:
parent
54ec0cbfa9
commit
c232ecbfdf
1 changed files with 20 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: dd.h,v 1.12 2000/02/27 20:38:15 keithw Exp $ */
|
||||
/* $Id: dd.h,v 1.13 2000/03/03 15:38:57 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -478,6 +478,25 @@ struct dd_function_table {
|
|||
* must do the job.
|
||||
*/
|
||||
|
||||
GLboolean (*ReadPixels)( GLcontext *ctx,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
GLenum format, GLenum type,
|
||||
const struct gl_pixelstore_attrib *unpack,
|
||||
GLvoid *dest );
|
||||
/* Called by glReadPixels.
|
||||
* Return GL_TRUE if operation completed, else return GL_FALSE.
|
||||
* This function must respect all glPixelTransfer settings.
|
||||
*/
|
||||
|
||||
GLboolean (*CopyPixels)( GLcontext *ctx,
|
||||
GLint srcx, GLint srcy,
|
||||
GLsizei width, GLsizei height,
|
||||
GLint dstx, GLint dsty, GLenum type );
|
||||
/* Do a glCopyPixels. Return GL_TRUE if operation completed, else
|
||||
* return GL_FALSE. This function must respect all rasterization
|
||||
* state, glPixelTransfer, glPixelZoom, etc.
|
||||
*/
|
||||
|
||||
GLboolean (*Bitmap)( GLcontext *ctx,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
const struct gl_pixelstore_attrib *unpack,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue