Lines Matching refs:bufObj

47    struct gl_buffer_object *bufObj;  in buffer_object_purgeable()  local
50 bufObj = _mesa_lookup_bufferobj(ctx, name); in buffer_object_purgeable()
51 if (!bufObj) { in buffer_object_purgeable()
56 if (!_mesa_is_bufferobj(bufObj)) { in buffer_object_purgeable()
61 if (bufObj->Purgeable) { in buffer_object_purgeable()
67 bufObj->Purgeable = GL_TRUE; in buffer_object_purgeable()
71 retval = ctx->Driver.BufferObjectPurgeable(ctx, bufObj, option); in buffer_object_purgeable()
80 struct gl_renderbuffer *bufObj; in renderbuffer_purgeable() local
83 bufObj = _mesa_lookup_renderbuffer(ctx, name); in renderbuffer_purgeable()
84 if (!bufObj) { in renderbuffer_purgeable()
90 if (bufObj->Purgeable) { in renderbuffer_purgeable()
96 bufObj->Purgeable = GL_TRUE; in renderbuffer_purgeable()
100 retval = ctx->Driver.RenderObjectPurgeable(ctx, bufObj, option); in renderbuffer_purgeable()
109 struct gl_texture_object *bufObj; in texture_object_purgeable() local
112 bufObj = _mesa_lookup_texture(ctx, name); in texture_object_purgeable()
113 if (!bufObj) { in texture_object_purgeable()
119 if (bufObj->Purgeable) { in texture_object_purgeable()
125 bufObj->Purgeable = GL_TRUE; in texture_object_purgeable()
129 retval = ctx->Driver.TextureObjectPurgeable(ctx, bufObj, option); in texture_object_purgeable()
190 struct gl_buffer_object *bufObj; in buffer_object_unpurgeable() local
193 bufObj = _mesa_lookup_bufferobj(ctx, name); in buffer_object_unpurgeable()
194 if (!bufObj) { in buffer_object_unpurgeable()
200 if (! bufObj->Purgeable) { in buffer_object_unpurgeable()
207 bufObj->Purgeable = GL_FALSE; in buffer_object_unpurgeable()
211 retval = ctx->Driver.BufferObjectUnpurgeable(ctx, bufObj, option); in buffer_object_unpurgeable()
220 struct gl_renderbuffer *bufObj; in renderbuffer_unpurgeable() local
223 bufObj = _mesa_lookup_renderbuffer(ctx, name); in renderbuffer_unpurgeable()
224 if (!bufObj) { in renderbuffer_unpurgeable()
230 if (! bufObj->Purgeable) { in renderbuffer_unpurgeable()
237 bufObj->Purgeable = GL_FALSE; in renderbuffer_unpurgeable()
241 retval = ctx->Driver.RenderObjectUnpurgeable(ctx, bufObj, option); in renderbuffer_unpurgeable()
250 struct gl_texture_object *bufObj; in texture_object_unpurgeable() local
253 bufObj = _mesa_lookup_texture(ctx, name); in texture_object_unpurgeable()
254 if (!bufObj) { in texture_object_unpurgeable()
260 if (! bufObj->Purgeable) { in texture_object_unpurgeable()
267 bufObj->Purgeable = GL_FALSE; in texture_object_unpurgeable()
271 retval = ctx->Driver.TextureObjectUnpurgeable(ctx, bufObj, option); in texture_object_unpurgeable()
321 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, name); in get_buffer_object_parameteriv() local
322 if (!bufObj) { in get_buffer_object_parameteriv()
330 *params = bufObj->Purgeable; in get_buffer_object_parameteriv()