multisample.h revision 7ec681f3
11.25Slukem/*
21.1Slukem * Mesa 3-D graphics library
31.1Slukem *
41.1Slukem * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
51.1Slukem *
61.1Slukem * Permission is hereby granted, free of charge, to any person obtaining a
71.9Slukem * copy of this software and associated documentation files (the "Software"),
81.1Slukem * to deal in the Software without restriction, including without limitation
91.1Slukem * the rights to use, copy, modify, merge, publish, distribute, sublicense,
101.1Slukem * and/or sell copies of the Software, and to permit persons to whom the
111.1Slukem * Software is furnished to do so, subject to the following conditions:
121.1Slukem *
131.2Slukem * The above copyright notice and this permission notice shall be included
141.1Slukem * in all copies or substantial portions of the Software.
151.1Slukem *
161.10Slukem * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
171.11Slukem * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
181.11Slukem * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
191.5Slukem * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
201.25Slukem * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
211.6Slukem * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
221.1Slukem * OTHER DEALINGS IN THE SOFTWARE.
231.8Slukem */
241.1Slukem
251.11Slukem
261.11Slukem#ifndef MULTISAMPLE_H
271.11Slukem#define MULTISAMPLE_H
281.1Slukem
291.20Slukem#include "glheader.h"
301.20Slukem
311.20Slukemstruct gl_context;
321.20Slukem
331.1Slukemextern void GLAPIENTRY
341.1Slukem_mesa_SampleCoverage(GLclampf value, GLboolean invert);
351.1Slukem
361.1Slukem
371.7Slukemextern void
381.1Slukem_mesa_init_multisample(struct gl_context *ctx);
391.7Slukem
401.2Slukem
411.1Slukemextern void GLAPIENTRY
421.17Slukem_mesa_GetMultisamplefv(GLenum pname, GLuint index, GLfloat* val);
431.7Slukem
441.24Sdslvoid GLAPIENTRY
451.24Sdsl_mesa_SampleMaski_no_error(GLuint index, GLbitfield mask);
461.24Sdsl
471.24Sdslextern void GLAPIENTRY
481.24Sdsl_mesa_SampleMaski(GLuint index, GLbitfield mask);
491.25Slukem
501.21Simpvoid GLAPIENTRY
511.22Slukem_mesa_MinSampleShading_no_error(GLclampf value);
521.24Sdsl
531.24Sdslextern void GLAPIENTRY
541.1Slukem_mesa_MinSampleShading(GLclampf value);
551.17Slukem
561.17Slukemextern GLenum
571.17Slukem_mesa_check_sample_count(struct gl_context *ctx, GLenum target,
581.17Slukem                         GLenum internalFormat, GLsizei samples,
591.17Slukem                         GLsizei storageSamples);
601.17Slukem
611.17Slukemextern void GLAPIENTRY
621.17Slukem_mesa_AlphaToCoverageDitherControlNV_no_error(GLenum mode);
631.17Slukem
641.17Slukemextern void GLAPIENTRY
651.17Slukem_mesa_AlphaToCoverageDitherControlNV(GLenum mode);
661.17Slukem
671.7Slukem#endif
681.1Slukem