Lines Matching refs:target
51 GLenum target;
118 const GLvoid *vdpSurface, GLenum target,
129 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_RECTANGLE) {
134 if (target == GL_TEXTURE_RECTANGLE && !ctx->Extensions.NV_texture_rectangle) {
146 surf->target = target;
171 tex->Target = target;
172 tex->TargetIndex = _mesa_tex_target_to_index(ctx, target);
173 } else if (tex->Target != target) {
177 "VDPAURegisterSurfaceNV(target mismatch)");
194 _mesa_VDPAURegisterVideoSurfaceNV(const GLvoid *vdpSurface, GLenum target,
205 return register_surface(ctx, false, vdpSurface, target,
210 _mesa_VDPAURegisterOutputSurfaceNV(const GLvoid *vdpSurface, GLenum target,
221 return register_surface(ctx, true, vdpSurface, target,
376 image = _mesa_get_tex_image(ctx, tex, surf->target, 0);
385 st_vdpau_map_surface(ctx, surf->target, surf->access,
431 image = _mesa_select_tex_image(tex, surf->target, 0);
433 st_vdpau_unmap_surface(ctx, surf->target, surf->access,