drawpix.h revision 7117f1b4
1706f2543Smrg 2706f2543Smrg/* 3706f2543Smrg * Mesa 3-D graphics library 4706f2543Smrg * Version: 3.5 5706f2543Smrg * 6706f2543Smrg * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 7706f2543Smrg * 8706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining a 9706f2543Smrg * copy of this software and associated documentation files (the "Software"), 10706f2543Smrg * to deal in the Software without restriction, including without limitation 11706f2543Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 12706f2543Smrg * and/or sell copies of the Software, and to permit persons to whom the 13706f2543Smrg * Software is furnished to do so, subject to the following conditions: 14706f2543Smrg * 15706f2543Smrg * The above copyright notice and this permission notice shall be included 16706f2543Smrg * in all copies or substantial portions of the Software. 17706f2543Smrg * 18706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 19706f2543Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20706f2543Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 21706f2543Smrg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 22706f2543Smrg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 23706f2543Smrg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24706f2543Smrg */ 25706f2543Smrg 26706f2543Smrg 27706f2543Smrg#ifndef DRAWPIXELS_H 28706f2543Smrg#define DRAWPIXELS_H 29706f2543Smrg 30706f2543Smrg 31706f2543Smrg#include "mtypes.h" 32706f2543Smrg 33706f2543Smrg 34706f2543Smrgextern void GLAPIENTRY 35706f2543Smrg_mesa_DrawPixels( GLsizei width, GLsizei height, 36706f2543Smrg GLenum format, GLenum type, const GLvoid *pixels ); 37706f2543Smrg 38706f2543Smrg 39706f2543Smrgextern void GLAPIENTRY 40706f2543Smrg_mesa_ReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, 41706f2543Smrg GLenum format, GLenum type, GLvoid *pixels ); 42706f2543Smrg 43706f2543Smrg 44706f2543Smrgextern void GLAPIENTRY 45706f2543Smrg_mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, 46706f2543Smrg GLenum type ); 47706f2543Smrg 48706f2543Smrg 49706f2543Smrgextern void GLAPIENTRY 50706f2543Smrg_mesa_Bitmap( GLsizei width, GLsizei height, 51706f2543Smrg GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, 52706f2543Smrg const GLubyte *bitmap ); 53706f2543Smrg 54706f2543Smrg 55706f2543Smrg#endif 56706f2543Smrg