1af69d88dSmrg/* 2af69d88dSmrg * Mesa 3-D graphics library 3af69d88dSmrg * 4af69d88dSmrg * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. 5af69d88dSmrg * 6af69d88dSmrg * Permission is hereby granted, free of charge, to any person obtaining a 7af69d88dSmrg * copy of this software and associated documentation files (the "Software"), 8af69d88dSmrg * to deal in the Software without restriction, including without limitation 9af69d88dSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10af69d88dSmrg * and/or sell copies of the Software, and to permit persons to whom the 11af69d88dSmrg * Software is furnished to do so, subject to the following conditions: 12af69d88dSmrg * 13af69d88dSmrg * The above copyright notice and this permission notice shall be included 14af69d88dSmrg * in all copies or substantial portions of the Software. 15af69d88dSmrg * 16af69d88dSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 17af69d88dSmrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18af69d88dSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE. 23af69d88dSmrg */ 24af69d88dSmrg 25af69d88dSmrg 26af69d88dSmrg#ifndef BLIT_H 27af69d88dSmrg#define BLIT_H 28af69d88dSmrg 29af69d88dSmrg#include "glheader.h" 30af69d88dSmrg 3101e04c3fSmrgextern bool 3201e04c3fSmrg_mesa_regions_overlap(int srcX0, int srcY0, 3301e04c3fSmrg int srcX1, int srcY1, 3401e04c3fSmrg int dstX0, int dstY0, 3501e04c3fSmrg int dstX1, int dstY1); 3601e04c3fSmrg 3701e04c3fSmrgvoid GLAPIENTRY 3801e04c3fSmrg_mesa_BlitFramebuffer_no_error(GLint srcX0, GLint srcY0, GLint srcX1, 3901e04c3fSmrg GLint srcY1, GLint dstX0, GLint dstY0, 4001e04c3fSmrg GLint dstX1, GLint dstY1, 4101e04c3fSmrg GLbitfield mask, GLenum filter); 42af69d88dSmrg 43af69d88dSmrgextern void GLAPIENTRY 44af69d88dSmrg_mesa_BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, 45af69d88dSmrg GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, 46af69d88dSmrg GLbitfield mask, GLenum filter); 47af69d88dSmrg 4801e04c3fSmrgvoid GLAPIENTRY 4901e04c3fSmrg_mesa_BlitNamedFramebuffer_no_error(GLuint readFramebuffer, 5001e04c3fSmrg GLuint drawFramebuffer, 5101e04c3fSmrg GLint srcX0, GLint srcY0, 5201e04c3fSmrg GLint srcX1, GLint srcY1, 5301e04c3fSmrg GLint dstX0, GLint dstY0, 5401e04c3fSmrg GLint dstX1, GLint dstY1, 5501e04c3fSmrg GLbitfield mask, GLenum filter); 5601e04c3fSmrg 5701e04c3fSmrgextern void GLAPIENTRY 5801e04c3fSmrg_mesa_BlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, 5901e04c3fSmrg GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, 6001e04c3fSmrg GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, 6101e04c3fSmrg GLbitfield mask, GLenum filter); 6201e04c3fSmrg 63af69d88dSmrg 64af69d88dSmrg#endif /* BLIT_H */ 65