Go to advanced search

by ZARk
Mon Oct 27, 2014 11:35 pm
Forum: Graphics programming
Topic: SDL2 Alpha Blending
Replies: 1
Views: 2000

Re: SDL2 Alpha Blending

I'm going to answer myself. After testing a SDL2 alpha blending example on the net (which worked) I managed finding the thing that didn't work . Basically you NEED to ClearScreen , draw backgroundTexture, then on top modulate the alpha for the new texture. what i did, was fade in texture 1 fade in t...
by ZARk
Mon Oct 27, 2014 8:30 pm
Forum: Graphics programming
Topic: SDL2 Alpha Blending
Replies: 1
Views: 2000

SDL2 Alpha Blending

Hello Is anyone having issues with alpha blending a texture in SDL2 ? SDL_SetTextureAlphaMod does not return an error. But it simply doesn't work on screen. (trying to crossfade two images for a simple slideshow) HOWEVER, the same code works fine if i force to SOFTWARE renderer. (except it's horribl...
by ZARk
Mon Oct 13, 2014 1:01 pm
Forum: Graphics programming
Topic: How To Install & Use SDL2 on Raspbian PI
Replies: 22
Views: 49219

Re: How To Install & Use SDL2 on Raspbian PI

Hello

Could someone post a simple "hello world" app built in SDL2 that uses HW Acceleration (with or without X11) ?


I can't get SDL2 to create a window without X11
and with X11 it's dead slow, so most probably isn't hw accelerated ...

Go to advanced search