Searched refs:tempsurf (Results 1 – 7 of 7) sorted by relevance
/dports/games/frogatto/frogatto-1.3.1/src/ |
H A D | IMG_savepng.cpp | 107 SDL_Surface *tempsurf=NULL; local 279 if(!tempsurf){ 294 if(SDL_BlitSurface(surf,NULL,tempsurf,NULL)!=0){ 296 SDL_FreeSurface(tempsurf); 302 for(i=0;i<tempsurf->h;i++){ 303 row_pointers[i]= ((png_byte*)tempsurf->pixels) + i*tempsurf->pitch; 305 if(SDL_MUSTLOCK(tempsurf)){ 306 SDL_LockSurface(tempsurf); 309 if(SDL_MUSTLOCK(tempsurf)){ 310 SDL_UnlockSurface(tempsurf); [all …]
|
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/ |
H A D | s1382.c | 165 SISLSurf *tempsurf = SISL_NULL; /* only used for rational surfaces */ local 198 tempsurf = newSurf (kn1, kn2, kk1, kk2, st1, st2, psurf->rcoef, 200 if (tempsurf == SISL_NULL) 202 tempsurf->cuopen_1 = psurf->cuopen_1; 203 tempsurf->cuopen_2 = psurf->cuopen_2; 210 tempsurf = psurf; 271 s1421 (tempsurf, 1, spar, &klfs, &klft, sder, snorm, &kstat); 378 if ((ikind == 2 || ikind == 4) && (tempsurf != SISL_NULL)) 379 freeSurf (tempsurf);
|
H A D | s1513.c | 175 SISLSurf *tempsurf = SISL_NULL; /* only used for rational surfaces */ local 210 tempsurf = newSurf (kn1, kn2, kk1, kk2, st1, st2, psurf->rcoef, ikind - 1, kdim + 1, 0); 211 if (tempsurf == SISL_NULL) goto err171; 213 tempsurf->cuopen_1 = psurf->cuopen_1; 214 tempsurf->cuopen_2 = psurf->cuopen_2; 220 tempsurf = psurf; 276 s1421 (tempsurf, 1, spar, &klfs, &klft, sder, snorm, &kstat); 390 if ((ikind == 2 || ikind == 4) && (tempsurf != SISL_NULL)) 391 freeSurf (tempsurf);
|
H A D | s1512.c | 170 SISLSurf *tempsurf = SISL_NULL; /* only used for rational surfaces */ local 199 tempsurf = newSurf (kn1, kn2, kk1, kk2, st1, st2, psurf->rcoef, ikind - 1, kdim + 1, 0); 200 if (tempsurf == SISL_NULL) goto err171; 202 tempsurf->cuopen_1 = psurf->cuopen_1; 203 tempsurf->cuopen_2 = psurf->cuopen_2; 210 tempsurf = psurf; 271 s1421 (tempsurf, 1, spar, &klfs, &klft, sder, snorm, &kstat); 383 if ((ikind == 2 || ikind == 4) && (tempsurf != SISL_NULL)) 384 freeSurf (tempsurf);
|
H A D | s1378.c | 146 SISLSurf *tempsurf = SISL_NULL; /* only used for rational surfaces */ local 172 tempsurf = newSurf (kn1, kn2, kk1, kk2, st1, st2, 174 if (tempsurf == SISL_NULL) 176 tempsurf->cuopen_1 = psurf->cuopen_1; 177 tempsurf->cuopen_2 = psurf->cuopen_2; 181 tempsurf = psurf; 244 s1424 (tempsurf, 0, 0, spar, &klfs, &klft, sder, &kstat); 405 if ((ikind == 2 || ikind == 4) && (tempsurf != SISL_NULL)) 406 freeSurf (tempsurf);
|
/dports/games/renpy/renpy-7.4.11-sdk/module/ |
H A D | IMG_savepng.c | 61 SDL_Surface *tempsurf=NULL; in renpy_IMG_SavePNG_RW() local 143 tempsurf = SDL_ConvertSurfaceFormat(surf, target_format, 0); in renpy_IMG_SavePNG_RW() 144 surf = tempsurf; in renpy_IMG_SavePNG_RW() 146 if (!tempsurf){ in renpy_IMG_SavePNG_RW() 158 if (tempsurf) { in renpy_IMG_SavePNG_RW() 159 SDL_FreeSurface(tempsurf); in renpy_IMG_SavePNG_RW()
|
/dports/devel/py-game_sdl2/pygame_sdl2-2.1.0-for-renpy-7.4.11/src/ |
H A D | write_png.c | 60 SDL_Surface *tempsurf=NULL; in Pygame_SDL2_SavePNG_RW() local 142 tempsurf = SDL_ConvertSurfaceFormat(surf, target_format, 0); in Pygame_SDL2_SavePNG_RW() 143 surf = tempsurf; in Pygame_SDL2_SavePNG_RW() 145 if (!tempsurf){ in Pygame_SDL2_SavePNG_RW() 157 if (tempsurf) { in Pygame_SDL2_SavePNG_RW() 158 SDL_FreeSurface(tempsurf); in Pygame_SDL2_SavePNG_RW()
|