Lines Matching defs:first
878 /* check first face */
885 /* check remaining faces vs. first face */
1334 * is first detached from all attachment points in the currently bound
1437 * texture unit, unbind the texture first. Decrement the reference
1872 bind_textures(struct gl_context *ctx, GLuint first, GLsizei count,
1886 * a first pass to scan the entire list of bound objects for
1901 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[first + i];
1911 bind_texture_object(ctx, first + i, texObj);
1925 unbind_textures_from_unit(ctx, first + i);
1931 /* Unbind all textures in the range <first> through <first>+<count>-1 */
1933 unbind_textures_from_unit(ctx, first + i);
1939 _mesa_BindTextures_no_error(GLuint first, GLsizei count, const GLuint *textures)
1942 bind_textures(ctx, first, count, textures, true);
1947 _mesa_BindTextures(GLuint first, GLsizei count, const GLuint *textures)
1953 * "An INVALID_OPERATION error is generated if <first> + <count>
1957 if (first + count > ctx->Const.MaxCombinedTextureImageUnits) {
1959 "glBindTextures(first=%u + count=%d > the value of "
1961 first, count, ctx->Const.MaxCombinedTextureImageUnits);
1965 bind_textures(ctx, first, count, textures, false);