michael@0: // michael@0: // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: // michael@0: michael@0: // Contants.h: Defines some implementation specific and gl constants michael@0: michael@0: #ifndef LIBGLESV2_CONSTANTS_H_ michael@0: #define LIBGLESV2_CONSTANTS_H_ michael@0: michael@0: namespace gl michael@0: { michael@0: michael@0: enum michael@0: { michael@0: MAX_VERTEX_ATTRIBS = 16, michael@0: MAX_TEXTURE_IMAGE_UNITS = 16, michael@0: michael@0: // Implementation upper limits, real maximums depend on the hardware michael@0: IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16, michael@0: IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS + IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS, michael@0: michael@0: IMPLEMENTATION_MAX_VARYING_VECTORS = 32, michael@0: IMPLEMENTATION_MAX_DRAW_BUFFERS = 8 michael@0: }; michael@0: michael@0: const float ALIASED_LINE_WIDTH_RANGE_MIN = 1.0f; michael@0: const float ALIASED_LINE_WIDTH_RANGE_MAX = 1.0f; michael@0: const float ALIASED_POINT_SIZE_RANGE_MIN = 1.0f; michael@0: michael@0: } michael@0: michael@0: #endif // LIBGLESV2_CONSTANTS_H_