• Home
  • Raw
  • Download

Lines Matching refs:srb

61    struct swrast_renderbuffer *srb = swrast_renderbuffer(rb);  in soft_renderbuffer_storage()  local
122 free(srb->Buffer); in soft_renderbuffer_storage()
123 srb->Buffer = NULL; in soft_renderbuffer_storage()
125 srb->RowStride = width * bpp; in soft_renderbuffer_storage()
129 srb->Buffer = malloc(srb->RowStride * height); in soft_renderbuffer_storage()
131 if (srb->Buffer == NULL) { in soft_renderbuffer_storage()
169 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in soft_renderbuffer_delete() local
171 free(srb->Buffer); in soft_renderbuffer_delete()
172 srb->Buffer = NULL; in soft_renderbuffer_delete()
186 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in _swrast_map_soft_renderbuffer() local
187 GLubyte *map = srb->Buffer; in _swrast_map_soft_renderbuffer()
221 struct swrast_renderbuffer *srb = CALLOC_STRUCT(swrast_renderbuffer); in _swrast_new_soft_renderbuffer() local
222 if (srb) { in _swrast_new_soft_renderbuffer()
223 _mesa_init_renderbuffer(&srb->Base, name); in _swrast_new_soft_renderbuffer()
224 srb->Base.AllocStorage = soft_renderbuffer_storage; in _swrast_new_soft_renderbuffer()
225 srb->Base.Delete = soft_renderbuffer_delete; in _swrast_new_soft_renderbuffer()
227 return &srb->Base; in _swrast_new_soft_renderbuffer()
562 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in map_attachment() local
574 &srb->Map, &srb->RowStride); in map_attachment()
582 &srb->Map, &srb->RowStride, in map_attachment()
586 assert(srb->Map); in map_attachment()
597 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in unmap_attachment() local
614 srb->Map = NULL; in unmap_attachment()
626 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in find_renderbuffer_colortype() local
632 srb->ColorType = GL_UNSIGNED_BYTE; in find_renderbuffer_colortype()
636 srb->ColorType = GL_FLOAT; in find_renderbuffer_colortype()