Searched refs:dsrb (Results 1 – 4 of 4) sorted by relevance
364 struct st_renderbuffer *dsrb = ctx->draw_buffer->dsrb; in vg_context_update_depth_stencil_rb() local368 if ((dsrb->width == width && dsrb->height == height) && dsrb->texture) in vg_context_update_depth_stencil_rb()372 pipe_surface_reference(&dsrb->surface, NULL); in vg_context_update_depth_stencil_rb()373 pipe_resource_reference(&dsrb->texture, NULL); in vg_context_update_depth_stencil_rb()374 dsrb->width = dsrb->height = 0; in vg_context_update_depth_stencil_rb()376 dsrb->texture = create_texture(pipe, dsrb->format, width, height); in vg_context_update_depth_stencil_rb()377 if (!dsrb->texture) in vg_context_update_depth_stencil_rb()381 u_surface_default_template(&surf_tmpl, dsrb->texture, in vg_context_update_depth_stencil_rb()383 dsrb->surface = pipe->create_surface(pipe, in vg_context_update_depth_stencil_rb()384 dsrb->texture, in vg_context_update_depth_stencil_rb()[all …]
288 destroy_renderbuffer(stfb->dsrb); in vg_context_bind_framebuffers()313 stfb->dsrb = create_renderbuffer(ctx->ds_format); in vg_context_bind_framebuffers()314 if (!stfb->dsrb) { in vg_context_bind_framebuffers()
57 struct st_renderbuffer *dsrb; member
1346 fb->zsbuf = stfb->dsrb->surface; in renderer_validate()