Lines Matching refs:newObj
344 struct gl_array_object *newObj = NULL; in bind_vertex_array() local
359 newObj = ctx->Array.DefaultArrayObj; in bind_vertex_array()
363 newObj = lookup_arrayobj(ctx, id); in bind_vertex_array()
364 if (!newObj) { in bind_vertex_array()
371 newObj = (*ctx->Driver.NewArrayObject)(ctx, id); in bind_vertex_array()
372 if (!newObj) { in bind_vertex_array()
377 save_array_object(ctx, newObj); in bind_vertex_array()
380 if (!newObj->_Used) { in bind_vertex_array()
387 newObj->ARBsemantics = genRequired; in bind_vertex_array()
388 newObj->_Used = GL_TRUE; in bind_vertex_array()
393 _mesa_reference_array_object(ctx, &ctx->Array.ArrayObj, newObj); in bind_vertex_array()
396 if (ctx->Driver.BindArrayObject && newObj) in bind_vertex_array()
397 ctx->Driver.BindArrayObject(ctx, newObj); in bind_vertex_array()