• Home
  • Raw
  • Download

Lines Matching refs:strb

178 st_set_ws_renderbuffer_surface(struct st_renderbuffer *strb,  in st_set_ws_renderbuffer_surface()  argument
181 pipe_surface_reference(&strb->surface_srgb, NULL); in st_set_ws_renderbuffer_surface()
182 pipe_surface_reference(&strb->surface_linear, NULL); in st_set_ws_renderbuffer_surface()
185 pipe_surface_reference(&strb->surface_srgb, surf); in st_set_ws_renderbuffer_surface()
187 pipe_surface_reference(&strb->surface_linear, surf); in st_set_ws_renderbuffer_surface()
189 strb->surface = surf; /* just assign, don't ref */ in st_set_ws_renderbuffer_surface()
190 pipe_resource_reference(&strb->texture, surf->texture); in st_set_ws_renderbuffer_surface()
192 strb->Base.Width = surf->width; in st_set_ws_renderbuffer_surface()
193 strb->Base.Height = surf->height; in st_set_ws_renderbuffer_surface()
235 struct st_renderbuffer *strb; in st_framebuffer_validate() local
248 strb = st_renderbuffer(stfb->Base.Attachment[idx].Renderbuffer); in st_framebuffer_validate()
249 assert(strb); in st_framebuffer_validate()
250 if (strb->texture == textures[i]) { in st_framebuffer_validate()
258 st_set_ws_renderbuffer_surface(strb, ps); in st_framebuffer_validate()
263 width = strb->Base.Width; in st_framebuffer_validate()
264 height = strb->Base.Height; in st_framebuffer_validate()
287 struct st_renderbuffer *strb; in st_framebuffer_update_attachments() local
290 strb = st_renderbuffer(stfb->Base.Attachment[idx].Renderbuffer); in st_framebuffer_update_attachments()
291 if (!strb || strb->software) in st_framebuffer_update_attachments()
1134 struct st_renderbuffer *strb = NULL; in st_manager_flush_frontbuffer() local
1147 strb = st_renderbuffer(stfb->Base.Attachment[BUFFER_FRONT_LEFT]. in st_manager_flush_frontbuffer()
1153 if (strb && strb->defined) { in st_manager_flush_frontbuffer()
1156 strb->defined = GL_FALSE; in st_manager_flush_frontbuffer()