Home
last modified time | relevance | path

Searched refs:SDL_CreateRGBSurface (Results 1 – 25 of 1131) sorted by relevance

12345678910>>...46

/dports/graphics/sdl_gfx/SDL_gfx-2.0.26/Test/
H A DTestABGR.c116 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
121 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
126 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
131 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
136 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask4, mask3, mask2, mask1); in main()
141 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask4, mask3, mask2, mask1); in main()
146 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask4, mask3, mask2, mask1); in main()
151 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask4, mask3, mask2, mask1); in main()
158 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
163 s = SDL_CreateRGBSurface(0, 200, 200, 32, mask1, mask2, mask3, mask4); in main()
[all …]
/dports/games/pushover/pushover-0.0.5/src/
H A Dgraphicsn.cpp105 …SDL_Surface * v = SDL_CreateRGBSurface(0, png->getWidth(), 75, 32, 0xff, 0xff00, 0xff0000, 0xff000… in getAnimation()
143 …SDL_Surface * v = SDL_CreateRGBSurface(0, png.getWidth(), 58, 32, 0xff, 0xff00, 0xff0000, 0xff0000… in loadGraphics()
192 …SDL_Surface * v = SDL_CreateRGBSurface(0, png.getWidth(), 55, 32, 0xff, 0xff00, 0xff0000, 0xff0000… in loadGraphics()
217 …SDL_Surface * v = SDL_CreateRGBSurface(0, png.getWidth(), 55, 32, 0xff, 0xff00, 0xff0000, 0xff0000… in loadGraphics()
236 …SDL_Surface * v = SDL_CreateRGBSurface(0, png.getWidth(), 48, 32, 0xff, 0xff00, 0xff0000, 0xff0000… in loadGraphics()
245 SDL_Surface * w = SDL_CreateRGBSurface(0, 40, 48, 32, 0xff, 0xff00, 0xff0000, 0xff000000); in loadGraphics()
270 …SDL_Surface * v = SDL_CreateRGBSurface(0, png.getWidth(), 48, 32, 0xff, 0xff00, 0xff0000, 0xff0000… in loadTheme()
303 SDL_Surface * w = SDL_CreateRGBSurface(0, 40, 48, 32, 0xff, 0xff00, 0xff0000, 0xff000000); in loadTheme()
323 SDL_Surface * w = SDL_CreateRGBSurface(0, 40, 48, 32, 0xff, 0xff00, 0xff0000, 0xff000000); in loadTheme()
/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/test/
H A Dsurface_test.py190 sf = surface.SDL_CreateRGBSurface(0, 10, 20, bpp, rmask,
283 sf = surface.SDL_CreateRGBSurface(0, w, h, bpp, rmask,
313 sf = surface.SDL_CreateRGBSurface(0, w, h, bpp, rmask,
341 sf = surface.SDL_CreateRGBSurface(0, 5, 5, bpp, rmask, gmask,
359 sf = surface.SDL_CreateRGBSurface(0, 15, 15, 32, 0, 0, 0, 0)
374 sf = surface.SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
401 sf = surface.SDL_CreateRGBSurface(0, 10, 10, bpp, rmask, gmask,
425 sf = surface.SDL_CreateRGBSurface(0, 10, 10, bpp, rmask, gmask,
668 sf = surface.SDL_CreateRGBSurface(0, 10, 10, 16, 0, 0, 0, 0)
683 tst = surface.SDL_CreateRGBSurface(
[all …]
H A Dsdl2ext_sprite_test.py219 sf = SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
321 sf1 = SDL_CreateRGBSurface(0, 12, 7, 32, 0, 0, 0, 0)
325 sf2 = SDL_CreateRGBSurface(0, 3, 9, 32, 0, 0, 0, 0)
362 sf1 = SDL_CreateRGBSurface(0, 5, 10, 32, 0, 0, 0, 0)
367 sf2 = SDL_CreateRGBSurface(0, 5, 10, 32, 0, 0, 0, 0)
423 sf = SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
439 sf = SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
444 sf = SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
465 sf = SDL_CreateRGBSurface(0, 10, 10, 32, 0, 0, 0, 0)
603 sf = SDL_CreateRGBSurface(0, 10, 10, 32,
[all …]
/dports/games/openbor4432/openbor-ba1eb4f/engine/sdl/
H A Dvideocommon.c41 bscreen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 8, 0,0,0,0); in setupPreBlitProcessing()
42 …screen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 32, masks[3][0], masks[3][1], m… in setupPreBlitProcessing()
52 …screen = SDL_CreateRGBSurface(0, videomodes.hRes*2, videomodes.vRes*2, 16, masks[1][0], masks[1][1… in setupPreBlitProcessing()
53 …if (!bscreen) bscreen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 8*bytes_per_pixe… in setupPreBlitProcessing()
54 …bscreen2 = SDL_CreateRGBSurface(0, videomodes.hRes+4, videomodes.vRes+8, 16, masks[1][0], masks[1]… in setupPreBlitProcessing()
/dports/games/openbor/openbor-3caaddd5/engine/sdl/
H A Dvideocommon.c41 bscreen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 8, 0,0,0,0); in setupPreBlitProcessing()
42 …screen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 32, masks[3][0], masks[3][1], m… in setupPreBlitProcessing()
52 …screen = SDL_CreateRGBSurface(0, videomodes.hRes*2, videomodes.vRes*2, 16, masks[1][0], masks[1][1… in setupPreBlitProcessing()
53 …if (!bscreen) bscreen = SDL_CreateRGBSurface(0, videomodes.hRes, videomodes.vRes, 8*bytes_per_pixe… in setupPreBlitProcessing()
54 …bscreen2 = SDL_CreateRGBSurface(0, videomodes.hRes+4, videomodes.vRes+8, 16, masks[1][0], masks[1]… in setupPreBlitProcessing()
/dports/games/dunelegacy/dunelegacy-0.96.4/src/GUI/dune/
H A DDuneStyle.cpp40 …if((surface = SDL_CreateRGBSurface(0, text.length()*10, 12, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK… in createSurfaceWithText()
75 …if((surface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == n… in createLabelSurface()
153 …if((surface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == n… in createCheckboxSurface()
217 …if((surface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == n… in createRadioButtonSurface()
285 …if((surface = SDL_CreateRGBSurface(0, size, size, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == null… in createDropDownBoxButton()
334 …if((surface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == n… in createButtonSurface()
391 …if((surface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == n… in createTextBoxSurface()
480 …if((surface = SDL_CreateRGBSurface(0, 17, 17, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == nullptr)… in createScrollBarArrowButton()
564 …if((pSurface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == … in createProgressBarOverlay()
630 …if((pSurface = SDL_CreateRGBSurface(0, width, height, SCREEN_BPP, RMASK, GMASK, BMASK, AMASK)) == … in createBackground()
[all …]
/dports/games/7kaa/7kaa-2.15.4p1/tools/
H A Dgenfont.c456 g = SDL_CreateRGBSurface(0, g_font->w, g_font->h, 8, 0, 0, 0, 0); in render_glyph()
470 g8 = SDL_CreateRGBSurface(0, clip.w, clip.h, 8, 0, 0, 0, 0); in render_glyph()
500 g = SDL_CreateRGBSurface(0, g_font->w, g_font->h, 8, 0, 0, 0, 0); in render_glyph_blend()
514 g8 = SDL_CreateRGBSurface(0, clip.w, clip.h, 8, 0, 0, 0, 0); in render_glyph_blend()
546 g = SDL_CreateRGBSurface(0, g_font->w+style->shift.w, g_font->h+style->shift.h, 8, 0, 0, 0, 0); in render_glyph_blend_shadow()
571 g8 = SDL_CreateRGBSurface(0, clip.w, clip.h, 8, 0, 0, 0, 0); in render_glyph_blend_shadow()
598 g = SDL_CreateRGBSurface(0, g_font->w+style->shift.w, g_font->h+style->shift.h, 8, 0, 0, 0, 0); in render_glyph_outline()
627 g8 = SDL_CreateRGBSurface(0, clip.w, clip.h, 8, 0, 0, 0, 0); in render_glyph_outline()
655 g = SDL_CreateRGBSurface(0, g_font->w+style->shift.w, g_font->h+style->shift.h, 8, 0, 0, 0, 0); in render_glyph_shadow()
680 g8 = SDL_CreateRGBSurface(0, clip.w, clip.h, 8, 0, 0, 0, 0); in render_glyph_shadow()
[all …]
/dports/games/widelands/widelands-build21/src/graphic/
H A Dsdl_utils.cc27 SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000); in empty_sdl_surface()
29 SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 32, 0xff000000, 0x00ff0000, 0x0000ff00, 0x000000ff); in empty_sdl_surface()
/dports/games/tuxpaint/tuxpaint-0.9.26/magic/src/
H A Dfisheye.c144 oryg = SDL_CreateRGBSurface(SDL_ANYFORMAT, 80, 80, canvas->format->BitsPerPixel, in fisheye_draw()
148 output = SDL_CreateRGBSurface(SDL_ANYFORMAT, 80, 80, canvas->format->BitsPerPixel, in fisheye_draw()
161 temp_src = SDL_CreateRGBSurface(SDL_ANYFORMAT, 1, 80, canvas->format->BitsPerPixel, in fisheye_draw()
173 temp_dest = SDL_CreateRGBSurface(SDL_ANYFORMAT, 1, 80 + 2 * i, canvas->format->BitsPerPixel, in fisheye_draw()
200 temp_src = SDL_CreateRGBSurface(SDL_ANYFORMAT, 80, 1, canvas->format->BitsPerPixel, in fisheye_draw()
204 temp_dest = SDL_CreateRGBSurface(SDL_ANYFORMAT, 80 + 2 * i, 1, canvas->format->BitsPerPixel, in fisheye_draw()
/dports/games/maxr/maxr-0.2.9/
H A DSDL2c.patch372 + surface = SDL_CreateRGBSurface (0, width, height, 32,
386 + surface = SDL_CreateRGBSurface (0, width, height, 32,
1288 + sf = SDL_CreateRGBSurface (0, size, size, Video.getColDepth(), 0, 0, 0, 0);
1372 + AutoSurface surface (SDL_CreateRGBSurface (0, 64, 64, 8, 0, 0, 0, 0));
1395 + terrains[iNum].sf_org = SDL_CreateRGBSurface (0, 64, 64, 8, 0, 0, 0, 0);
1401 + terrains[iNum].sf = SDL_CreateRGBSurface (0, 64, 64, 8, 0, 0, 0, 0);
1407 + terrains[iNum].shw_org = SDL_CreateRGBSurface (0, 64, 64, 8, 0, 0, 0, 0);
1412 + terrains[iNum].shw = SDL_CreateRGBSurface (0, 64, 64, 8, 0, 0, 0, 0);
3612 + SDL_Surface* const s = SDL_CreateRGBSurface (0, x, y, 32, 0, 0, 0, 0);
4230 + screen = SDL_CreateRGBSurface(0, getSplashW(), getSplashH(), getColDepth(),
[all …]
/dports/games/dunelegacy/dunelegacy-0.96.4/src/misc/
H A Ddraw_util.cpp183 …SDL_Surface* pScreen = SDL_CreateRGBSurface(0, rendererSize.w, rendererSize.h, SCREEN_BPP, RMASK, … in renderReadSurface()
304 …SDL_Surface *scaled = SDL_CreateRGBSurface(0, (int) (surf->w * ratio),(int) (surf->h * ratio),8,0,… in scaleSurface()
352 if((returnPic = SDL_CreateRGBSurface(0, width, height, 8, 0, 0, 0, 0))== nullptr) { in getSubPicture()
365 …if((returnPic = SDL_CreateRGBSurface(0, width, height, 32, RMASK, GMASK, BMASK, AMASK))== nullptr)… in getSubPicture()
420 if((returnPic = SDL_CreateRGBSurface(0,inputPic->h,inputPic->w,8,0,0,0,0))== nullptr) { in rotateSurfaceLeft()
463 if((returnPic = SDL_CreateRGBSurface(0,inputPic->h,inputPic->w,8,0,0,0,0))== nullptr) { in rotateSurfaceRight()
507 … if((returnPic = SDL_CreateRGBSurface(0, inputPic->w, inputPic->h, 8, 0, 0, 0, 0))== nullptr) { in flipHSurface()
520 …if((returnPic = SDL_CreateRGBSurface(0, inputPic->w, inputPic->h, 32, RMASK, GMASK, BMASK, AMASK))… in flipHSurface()
553 … if((returnPic = SDL_CreateRGBSurface(0, inputPic->w, inputPic->h, 8, 0, 0, 0, 0))== nullptr) { in flipVSurface()
566 …if((returnPic = SDL_CreateRGBSurface(0, inputPic->w, inputPic->h, 32, RMASK, GMASK, BMASK, AMASK))… in flipVSurface()
/dports/games/frogatto/frogatto-1.3.1/src/
H A Dsurface.cpp27 surface surf(SDL_CreateRGBSurface(SDL_SWSURFACE,1,1,32,SURFACE_MASK)); in get_neutral_pixel_format()
50 return surface(SDL_CreateRGBSurface(SDL_SWSURFACE,w,h,32,0xFF0000,0xFF00,0xFF,0xFF000000)); in create()
H A DIMG_savepng.cpp53 graphics::surface s(SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 24, SURFACE_MASK_RGB)); in IMG_SaveFrameBuffer()
264 tempsurf = SDL_CreateRGBSurface(SDL_SWSURFACE, surf->w, surf->h, 24,
267 tempsurf = SDL_CreateRGBSurface(SDL_SWSURFACE, surf->w, surf->h, 24,
272 tempsurf = SDL_CreateRGBSurface(SDL_SWSURFACE, surf->w, surf->h, 24,
275 tempsurf = SDL_CreateRGBSurface(SDL_SWSURFACE, surf->w, surf->h, 24,
/dports/games/manaplus/manaplus-2.1.3.17/src/unittests/
H A Dsdl.cc115 SDL_Surface *const surface = SDL_CreateRGBSurface(SDL_HWSURFACE, in PRAGMA48()
156 SDL_Surface *const surface = SDL_CreateRGBSurface(SDL_HWSURFACE, in PRAGMA48()
197 SDL_Surface *const surface = SDL_CreateRGBSurface(SDL_HWSURFACE, in PRAGMA48()
275 SDL_Surface *const surface = SDL_CreateRGBSurface(SDL_HWSURFACE, in PRAGMA48()
345 SDL_Surface *const surface = SDL_CreateRGBSurface(SDL_HWSURFACE, in PRAGMA48()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/MacSrc/
H A DShockBitmap.c69 drawSurface = SDL_CreateRGBSurface(0, width, height, 8, 0, 0, 0, 0); in SetupOffscreenBitmaps()
75 offscreenDrawSurface = SDL_CreateRGBSurface(0, width, height, 8, 0, 0, 0, 0); in SetupOffscreenBitmaps()
/dports/games/maxr/maxr-0.2.9/src/
H A Dpcx.cpp115 return AutoSurface (SDL_CreateRGBSurface (0, 100, 20, Video.getColDepth(), 0, 0, 0, 0)); in LoadPCX()
122 return AutoSurface (SDL_CreateRGBSurface (0, 100, 20, Video.getColDepth(), 0, 0, 0, 0)); in LoadPCX()
128 AutoSurface s (SDL_CreateRGBSurface (0, x, y, 32, 0, 0, 0, 0)); in LoadPCX()
/dports/games/barony/Barony-3.3.7/src/interface/
H A Dscreenshot.cpp42 temp = SDL_CreateRGBSurface(0, xres, yres, 32, 0, 0, 0, 0); in takeScreenshot()
48 temp = SDL_CreateRGBSurface(0, xres, yres, 24, 0, 0, 0, 0); in takeScreenshot()
/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/
H A Dvideo.c49 …VGAScreen = VGAScreenSeg = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, … in init_video()
50 VGAScreen2 = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, 0); in init_video()
51 game_screen = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, 0); in init_video()
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/
H A Dbsscreen.cpp57 …SDL_Surface *temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, am… in BS_SetRealResolution()
196 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, depth, rmask, gmask, bmask, amask); in BS_SetVideoMode()
207 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, amask); in BS_SetVideoMode()
214 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, amask); in BS_SetVideoMode()
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/BlinkenPlayer/
H A Dbsscreen.cpp57 …SDL_Surface *temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, am… in BS_SetRealResolution()
196 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, depth, rmask, gmask, bmask, amask); in BS_SetVideoMode()
207 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, amask); in BS_SetVideoMode()
214 temp = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, rmask, gmask, bmask, amask); in BS_SetVideoMode()
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/widgets/
H A Dcolorpicker.cpp88 AutoSurface surface (SDL_CreateRGBSurface (0, size.x(), size.y(), 32, 0, 0, 0, 0)); in createColorsSurface()
110 AutoSurface surface (SDL_CreateRGBSurface (0, size.x(), size.y(), 32, 0, 0, 0, 0)); in createColorBarSurface()
129 AutoSurface surface (SDL_CreateRGBSurface (0, 3, 3, 32, 0, 0, 0, 0)); in createColorMarkerSurface()
140 AutoSurface surface (SDL_CreateRGBSurface (0, 15 + 2, 3, 32, 0, 0, 0, 0)); in createColorHueMarkerSurface()
/dports/games/rezerwar/rezerwar-0.4.2/src/
H A Dgfx.c136 org = SDL_CreateRGBSurface(0, screen->w, screen->h, in gfx_shutter()
205 surface = SDL_CreateRGBSurface(0, width, height, in gfx_new()
219 org = SDL_CreateRGBSurface(0, s->w, s->h, s->format->BitsPerPixel, in gfx_new_samesize()
318 m = SDL_CreateRGBSurface(0, screen->w, screen->h, in gfx_modal()
/dports/emulators/aranym/aranym-1.1.0/src/
H A Dhost_surface.cpp37 surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, bpp, in HostSurface()
50 surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, in HostSurface()
76 return SDL_CreateRGBSurface(SDL_SWSURFACE, in createSdlSurface()
/dports/games/vvvvvv/VVVVVV-cb3640e5/desktop_version/src/
H A DGraphicsUtil.cpp55 SDL_Surface* preSurface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, r, g, b, a); in GetSubSurface()
144 _ret = SDL_CreateRGBSurface(_surface->flags, Width, Height, _surface->format->BitsPerPixel, in ScaleSurface()
181 _ret = SDL_CreateRGBSurface(_surface->flags, Width, Height, _surface->format->BitsPerPixel, in ScaleSurfaceSlow()
208 SDL_Surface * ret = SDL_CreateRGBSurface(_src->flags, _src->w, _src->h, _src->format->BitsPerPixel, in FlipSurfaceHorizontal()
230 SDL_Surface * ret = SDL_CreateRGBSurface(_src->flags, _src->w, _src->h, _src->format->BitsPerPixel, in FlipSurfaceVerticle()
285 SDL_Surface* tempsurface = SDL_CreateRGBSurface( in BlitSurfaceColoured()
316 SDL_Surface* _ret = SDL_CreateRGBSurface(_src->flags, _src->w, _src->h, 32, in ApplyFilter()

12345678910>>...46