Lines Matching defs:target
53 * \param target One of GL_TEXTURE_x target or GL_RENDERBUFFER
62 prepare_target_err(struct gl_context *ctx, GLuint name, GLenum target,
85 * - is not RENDERBUFFER or a valid non-proxy texture target
89 switch (target) {
91 /* Not a texture target, but valid */
110 _mesa_enum_to_string(target));
114 if (target == GL_RENDERBUFFER) {
150 * to the corresponding target parameter."
220 /* Note that target will not be a cube face name */
221 if (texObj->Target != target) {
224 * "INVALID_ENUM is generated if the target does not match the type
229 _mesa_enum_to_string(target));
239 if (target == GL_TEXTURE_CUBE_MAP) {
257 *tex_image = _mesa_select_tex_image(texObj, target, level);
278 prepare_target(struct gl_context *ctx, GLuint name, GLenum target,
283 if (target == GL_RENDERBUFFER) {
291 if (target == GL_TEXTURE_CUBE_MAP) {
295 *texImage = _mesa_select_tex_image(texObj, target, level);
309 GLenum target,
334 if (target == GL_RENDERBUFFER) {
349 switch (target) {
369 switch (target) {