Home
last modified time | relevance | path

Searched refs:SDL_SRCALPHA (Results 1 – 21 of 21) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_surface.c60 if ( (flags&(SDL_SRCCOLORKEY|SDL_SRCALPHA)) != 0 ) { in SDL_CreateRGBSurface()
68 if ( (flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in SDL_CreateRGBSurface()
108 surface->flags |= SDL_SRCALPHA; in SDL_CreateRGBSurface()
231 if ( flag & SDL_SRCALPHA ) { in SDL_SetAlpha()
233 flag = (SDL_SRCALPHA | SDL_RLEACCELOK); in SDL_SetAlpha()
235 flag = SDL_SRCALPHA; in SDL_SetAlpha()
242 if ( (flag == (surface->flags & (SDL_SRCALPHA|SDL_RLEACCELOK))) && in SDL_SetAlpha()
254 surface->flags |= SDL_SRCALPHA; in SDL_SetAlpha()
268 surface->flags &= ~SDL_SRCALPHA; in SDL_SetAlpha()
851 if ( (surface_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in SDL_ConvertSurface()
[all …]
DSDL_blit.c258 if ( hw_blit_ok && (surface->flags & SDL_SRCALPHA) ) { in SDL_CalculateBlit()
271 if ( hw_blit_ok && (surface->flags & SDL_SRCALPHA) ) { in SDL_CalculateBlit()
285 if ( (surface->flags & SDL_SRCALPHA) ) in SDL_CalculateBlit()
297 if ( surface->flags & SDL_SRCALPHA in SDL_CalculateBlit()
DSDL_RLEaccel.c899 alpha = (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA in SDL_RLEBlit()
1796 if((surface->flags & SDL_SRCALPHA) == SDL_SRCALPHA in SDL_RLESurface()
1921 alpha_flag = surface->flags & SDL_SRCALPHA; in SDL_UnRLESurface()
1922 surface->flags &= ~SDL_SRCALPHA; /* opaque blit */ in SDL_UnRLESurface()
DSDL_video.c941 flags |= (surface->flags & (SDL_SRCCOLORKEY|SDL_SRCALPHA)); in SDL_DisplayFormat()
944 flags |= surface->flags & (SDL_SRCCOLORKEY|SDL_SRCALPHA|SDL_RLEACCELOK); in SDL_DisplayFormat()
1005 flags |= surface->flags & (SDL_SRCALPHA | SDL_RLEACCELOK); in SDL_DisplayFormatAlpha()
1818 if ( icon->flags & SDL_SRCALPHA ) flags |= 2; in SDL_WM_SetIcon()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestblitspeed.c126 append_sdl_surface_flag(surface, f, sizeof (f), SDL_SRCALPHA); in output_surface_details()
308 srcalphaflags = (src->flags&SDL_SRCALPHA) | (src->flags&SDL_RLEACCEL); in setup_test()
309 dstalphaflags = (dest->flags&SDL_SRCALPHA) | (dest->flags&SDL_RLEACCEL); in setup_test()
323 srcalphaflags |= SDL_SRCALPHA; in setup_test()
325 srcalphaflags &= ~SDL_SRCALPHA; in setup_test()
331 dstalphaflags |= SDL_SRCALPHA; in setup_test()
333 dstalphaflags &= ~SDL_SRCALPHA; in setup_test()
Dtestvidinfo.c15 SDL_SRCCOLORKEY | SDL_SRCALPHA | SDL_RLEACCEL | \
35 if ( flags & SDL_SRCALPHA ) { in PrintFlags()
264 SDL_SetAlpha(bmp, SDL_SRCALPHA, 85); /* 85 - 33% alpha */ in RunModeTests()
301 SDL_SetAlpha(bmpcc, SDL_SRCALPHA, 85); /* 85 - 33% alpha */ in RunModeTests()
Dtestgl.c209 saved_flags = surface->flags&(SDL_SRCALPHA|SDL_RLEACCELOK); in SDL_GL_LoadTexture()
211 if ( (saved_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in SDL_GL_LoadTexture()
223 if ( (saved_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in SDL_GL_LoadTexture()
Dtestalpha.c144 SDL_SetAlpha(light, SDL_SRCALPHA|SDL_RLEACCEL, 0); in CreateLight()
292 SDL_SetAlpha(sprite, SDL_SRCALPHA, (Uint8)(alpha+alpha_vel)); in MoveSprite()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbriva.c167 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in CheckHWBlit()
DSDL_fb3dfx.c177 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in CheckHWBlit()
DSDL_fbmatrox.c231 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in CheckHWBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_image.c640 if ((src->flags & SDL_SRCALPHA) == SDL_SRCALPHA) in ph_CheckHWBlit()
867 if ((src->flags & SDL_SRCALPHA) == SDL_SRCALPHA) in ph_HWAccelBlit()
904 if ((src->flags & SDL_SRCALPHA) == SDL_SRCALPHA) in ph_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
DSDL_ndsvideo.c92 if (src->flags & SDL_SRCALPHA) return false; in CheckHWBlit()
95 if (dst->flags & SDL_SRCALPHA) return false; in CheckHWBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
DSDL_dspvideo.c1024 surface->flags |= SDL_SRCALPHA; in DSp_SetHWAlpha()
1045 if ( surface->flags & SDL_SRCALPHA ) { in DSp_SetHWColorKey()
1125 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in DSp_CheckHWBlit()
1169 (src->flags & SDL_SRCALPHA) ) { in DSp_HWAccelBlit()
1186 else if (src->flags & SDL_SRCALPHA) { in DSp_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/
DWhatsNew171 SDL_SetAlpha(surface, SDL_SRCALPHA, 0);
186 SDL_SRCALPHA set:
189 SDL_SRCALPHA not set:
196 SDL_SRCALPHA set:
199 SDL_SRCALPHA not set:
206 SDL_SRCALPHA set:
210 SDL_SRCALPHA not set:
217 SDL_SRCALPHA set:
219 SDL_SRCALPHA not set:
676 SDL_SRCALPHA means that the surface will be used for alpha blits and
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h154 #define SDL_SRCALPHA 0x00010000 /**< Blit uses source alpha blending */ macro
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzWM.m439 iconSrcAlpha = ((icon->flags & SDL_SRCALPHA) != 0);
443 if (iconSrcAlpha) SDL_SetAlpha(icon, SDL_SRCALPHA, iconAlphaValue);
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c915 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { in DGA_CheckHWBlit()
/external/qemu/android/skin/
Dimage.c697 SDL_SetAlpha( clone->surface, SDL_SRCALPHA, 255 ); in skin_image_blend_clone()
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_video.c887 if (src->flags & SDL_SRCALPHA) in DirectFB_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5video.c1979 if ( (src->flags & SDL_SRCALPHA) == SDL_SRCALPHA ) {