36 SDL_Renderer *SDLImageHelper::mRenderer = 
nullptr;
 
   59     if (!tmpImage || !tmpImage->format)
 
   70     SDL_Texture *
const texture = SDL_CreateTextureFromSurface(
 
   78     SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND);
 
   79     return 
new Image(texture, tmpImage->w, tmpImage->h);
 
   87     SDL_SetSurfaceBlendMode(src, SDL_BLENDMODE_BLEND);
 
   88     SDL_BlitSurface(src, srcrect, dst, dstrect);
 
   93                                         const int x, 
const int y,
 
   94                                         SDL_Surface *
const surface)
 const 
   96     if (!image || !surface)
 
   99     SDL_SetSurfaceAlphaMod(surface, SDL_ALPHA_OPAQUE);
 
  100     SDL_SetSurfaceBlendMode(surface, SDL_BLENDMODE_NONE);
 
  105         surface->w, surface->h
 
  108     SDL_BlitSurface(surface, 
nullptr, image->mSDLSurface, &rect);
 
#define reportAlways(...)
static Image * _SDLload(SDL_Surface *tmpImage)
static int combineSurface(SDL_Surface *const src, SDL_Rect *const srcrect, SDL_Surface *const dst, SDL_Rect *const dstrect)
static SDL_Surface * SDLDuplicateSurface(SDL_Surface *const tmpImage)
void copySurfaceToImage(const Image *const image, const int x, const int y, SDL_Surface *const surface) const
Image * createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha)
static bool mEnableAlphaCache
Image * loadSurface(SDL_Surface *const tmpImage)
#define MSDL_ConvertSurface(src, fmt, flags)