Ignore:
Timestamp:
May 23, 2000, 10:41:28 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/GL/osmesa.h

    r2938 r3598  
    1 /* $Id: osmesa.h,v 1.1 2000-02-29 00:43:33 sandervl Exp $ */
     1/* $Id: osmesa.h,v 1.2 2000-05-23 20:41:28 jeroen Exp $ */
    22
    33/*
    44 * Mesa 3-D graphics library
    5  * Version:  3.1
    6  * 
     5 * Version:  3.3
     6 *
    77 * Copyright (C) 1999  Brian Paul   All Rights Reserved.
    8  * 
     8 *
    99 * Permission is hereby granted, free of charge, to any person obtaining a
    1010 * copy of this software and associated documentation files (the "Software"),
     
    1313 * and/or sell copies of the Software, and to permit persons to whom the
    1414 * Software is furnished to do so, subject to the following conditions:
    15  * 
     15 *
    1616 * The above copyright notice and this permission notice shall be included
    1717 * in all copies or substantial portions of the Software.
    18  * 
     18 *
    1919 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    2020 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     
    2828/*
    2929 * $Log: osmesa.h,v $
    30  * Revision 1.1  2000-02-29 00:43:33  sandervl
     30 * Revision 1.2  2000-05-23 20:41:28  jeroen
     31 * *** empty log message ***
     32 *
     33 * Revision 1.1  2000/02/29 00:43:33  sandervl
    3134 * created
    3235 *
     
    9396
    9497#define OSMESA_MAJOR_VERSION 3
    95 #define OSMESA_MINOR_VERSION 1
     98#define OSMESA_MINOR_VERSION 3
    9699
    97100
     
    101104 * New in version 2.0.
    102105 */
    103 #define OSMESA_COLOR_INDEX      GL_COLOR_INDEX
    104 #define OSMESA_RGBA             GL_RGBA
    105 #define OSMESA_BGRA             0x1
    106 #define OSMESA_ARGB             0x2
    107 #define OSMESA_RGB              GL_RGB
    108 #define OSMESA_BGR              0x4
     106#define OSMESA_COLOR_INDEX      GL_COLOR_INDEX
     107#define OSMESA_RGBA             GL_RGBA
     108#define OSMESA_BGRA             0x1
     109#define OSMESA_ARGB             0x2
     110#define OSMESA_RGB              GL_RGB
     111#define OSMESA_BGR              0x4
    109112
    110113
     
    113116 * New in version 2.0.
    114117 */
    115 #define OSMESA_ROW_LENGTH       0x10
    116 #define OSMESA_Y_UP             0x11
     118#define OSMESA_ROW_LENGTH       0x10
     119#define OSMESA_Y_UP             0x11
    117120
    118121
     
    120123 * Accepted by OSMesaGetIntegerv:
    121124 */
    122 #define OSMESA_WIDTH            0x20
    123 #define OSMESA_HEIGHT           0x21
    124 #define OSMESA_FORMAT           0x22
    125 #define OSMESA_TYPE             0x23
     125#define OSMESA_WIDTH            0x20
     126#define OSMESA_HEIGHT           0x21
     127#define OSMESA_FORMAT           0x22
     128#define OSMESA_TYPE             0x23
     129
     130
     131
     132/*
     133 * Accepted by OSMesaGetBooleanv:
     134 * New in version 3.3
     135 */
     136/* This is based on the HP proposed extension */
     137#define OSMESA_OCCLUSION_TEST_RESULT_HP 0x30
    126138
    127139
     
    234246
    235247/*
     248 * Return a boolean value like glGetBooleanv.
     249 * Input:  pname -
     250 *                 OSMESA_OCCLUSION_TEST_RESULT_HP  return current test result
     251 *         value - pointer to boolean in which to return result.
     252 */
     253GLAPI void GLAPIENTRY OSMesaGetBooleanv( GLint pname, GLboolean *value );
     254
     255
     256
     257/*
    236258 * Return the depth buffer associated with an OSMesa context.
    237259 * Input:  c - the OSMesa context
Note: See TracChangeset for help on using the changeset viewer.