Searched refs:drawpix (Results 1 – 7 of 7) sorted by relevance
112 struct drawpix_state *drawpix);1894 meta_drawpix_cleanup(struct gl_context *ctx, struct drawpix_state *drawpix) in meta_drawpix_cleanup() argument1896 if (drawpix->VAO != 0) { in meta_drawpix_cleanup()1897 _mesa_DeleteVertexArrays(1, &drawpix->VAO); in meta_drawpix_cleanup()1898 drawpix->VAO = 0; in meta_drawpix_cleanup()1900 _mesa_reference_buffer_object(ctx, &drawpix->buf_obj, NULL); in meta_drawpix_cleanup()1903 if (drawpix->StencilFP != 0) { in meta_drawpix_cleanup()1904 _mesa_DeleteProgramsARB(1, &drawpix->StencilFP); in meta_drawpix_cleanup()1905 drawpix->StencilFP = 0; in meta_drawpix_cleanup()1908 if (drawpix->DepthFP != 0) { in meta_drawpix_cleanup()[all …]
277 assert(shaderIndex < ARRAY_SIZE(st->drawpix.zs_shaders)); in get_drawpix_z_stencil_program()279 if (st->drawpix.zs_shaders[shaderIndex]) { in get_drawpix_z_stencil_program()281 return st->drawpix.zs_shaders[shaderIndex]; in get_drawpix_z_stencil_program()287 st->drawpix.zs_shaders[shaderIndex] = cso; in get_drawpix_z_stencil_program()310 assert(shaderIndex < ARRAY_SIZE(st->drawpix.zs_shaders)); in get_drawpix_zs_to_color_program()312 if (st->drawpix.zs_shaders[shaderIndex]) { in get_drawpix_zs_to_color_program()314 return st->drawpix.zs_shaders[shaderIndex]; in get_drawpix_zs_to_color_program()320 st->drawpix.zs_shaders[shaderIndex] = cso; in get_drawpix_zs_to_color_program()1986 for (i = 0; i < ARRAY_SIZE(st->drawpix.zs_shaders); i++) { in st_destroy_drawpix()1987 if (st->drawpix.zs_shaders[i]) in st_destroy_drawpix()[all …]
286 } drawpix; member
68 main/drawpix.c \69 main/drawpix.h \
117 'main/drawpix.c',118 'main/drawpix.h',
491 - fixed memory leaks in context.c and drawpix.c
2763 - mesa: Clean up header file inclusion in drawpix.h.