gfx/angle/src/libGLESv2/Constants.h

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 //
     2 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
     3 // Use of this source code is governed by a BSD-style license that can be
     4 // found in the LICENSE file.
     5 //
     7 // Contants.h: Defines some implementation specific and gl constants
     9 #ifndef LIBGLESV2_CONSTANTS_H_
    10 #define LIBGLESV2_CONSTANTS_H_
    12 namespace gl
    13 {
    15 enum
    16 {
    17     MAX_VERTEX_ATTRIBS = 16,
    18     MAX_TEXTURE_IMAGE_UNITS = 16,
    20     // Implementation upper limits, real maximums depend on the hardware
    21     IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16,
    22     IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS + IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS,    
    24     IMPLEMENTATION_MAX_VARYING_VECTORS = 32,
    25     IMPLEMENTATION_MAX_DRAW_BUFFERS = 8
    26 };
    28 const float ALIASED_LINE_WIDTH_RANGE_MIN = 1.0f;
    29 const float ALIASED_LINE_WIDTH_RANGE_MAX = 1.0f;
    30 const float ALIASED_POINT_SIZE_RANGE_MIN = 1.0f;
    32 }
    34 #endif // LIBGLESV2_CONSTANTS_H_

mercurial