X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fmultisample.h;h=49683cacdc9e741f6c0b39794d8fcb8365d46a2a;hb=2734baa9e24fc9401fab2a116fcfb18c56538175;hp=e86d4092bc965c0018ec690b96ce6655c5b37376;hpb=195bbe8ce218533569dde1368d04da0fd229913d;p=mesa.git diff --git a/src/mesa/main/multisample.h b/src/mesa/main/multisample.h index e86d4092bc9..49683cacdc9 100644 --- a/src/mesa/main/multisample.h +++ b/src/mesa/main/multisample.h @@ -1,6 +1,5 @@ /* * Mesa 3-D graphics library - * Version: 7.1 * * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * @@ -17,9 +16,10 @@ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. */ @@ -31,11 +31,31 @@ struct gl_context; extern void GLAPIENTRY -_mesa_SampleCoverageARB(GLclampf value, GLboolean invert); +_mesa_SampleCoverage(GLclampf value, GLboolean invert); extern void _mesa_init_multisample(struct gl_context *ctx); +extern void GLAPIENTRY +_mesa_GetMultisamplefv(GLenum pname, GLuint index, GLfloat* val); + +void GLAPIENTRY +_mesa_SampleMaski_no_error(GLuint index, GLbitfield mask); + +extern void GLAPIENTRY +_mesa_SampleMaski(GLuint index, GLbitfield mask); + +void GLAPIENTRY +_mesa_MinSampleShading_no_error(GLclampf value); + +extern void GLAPIENTRY +_mesa_MinSampleShading(GLclampf value); + +extern GLenum +_mesa_check_sample_count(struct gl_context *ctx, GLenum target, + GLenum internalFormat, GLsizei samples, + GLsizei storageSamples); + #endif