Lines Matching refs:gr_surface
38 static gr_surface malloc_surface(size_t data_size) {
41 gr_surface surface = (gr_surface) temp;
138 // Allocate and return a gr_surface sufficient for storing an image of
140 static gr_surface init_display_surface(png_uint_32 width, png_uint_32 height) {
141 gr_surface surface;
199 int res_create_display_surface(const char* name, gr_surface* pSurface) {
200 gr_surface surface = NULL;
234 int res_create_multi_display_surface(const char* name, int* frames, gr_surface** pSurface) {
235 gr_surface* surface = NULL;
268 surface = malloc(*frames * sizeof(gr_surface));
292 *pSurface = (gr_surface*) surface;
308 int res_create_alpha_surface(const char* name, gr_surface* pSurface) {
309 gr_surface surface = NULL;
370 gr_surface* pSurface) {
371 gr_surface surface = NULL;
425 *pSurface = (gr_surface) surface;
441 void res_free_surface(gr_surface surface) {