Home | History | Annotate | Download | only in state_tracker

Lines Matching refs:surface

48  * didn't yank out the pipe_resource that we earlier created a surface for.
49 * Check for that here and create a new surface if needed.
61 if (!strb->surface ||
62 strb->surface->format != format ||
63 strb->surface->texture != resource ||
64 strb->surface->width != rtt_width ||
65 strb->surface->height != rtt_height) {
79 pipe_surface_reference(&strb->surface, NULL);
81 strb->surface = pipe->create_surface(pipe,
85 printf("-- alloc new surface %d x %d into tex %p\n",
86 strb->surface->width, strb->surface->height,
123 /*printf("--------- framebuffer surface rtt %p\n", strb->rtt);*/
126 /* rendering to a GL texture, may have to update surface */
130 if (strb->surface) {
132 strb->surface);
143 * Depth/Stencil renderbuffer/surface.
148 /* rendering to a GL texture, may have to update surface */
151 pipe_surface_reference(&framebuffer->zsbuf, strb->surface);
156 assert(strb->surface);
157 pipe_surface_reference(&framebuffer->zsbuf, strb->surface);