display: modified SDL_SetVideoMode flag 66/10766/1
authorGiWoong Kim <giwoong.kim@samsung.com>
Fri, 11 Oct 2013 05:55:12 +0000 (14:55 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Fri, 11 Oct 2013 05:57:17 +0000 (14:57 +0900)
commit22fd4e15afb30930120b4766eaba697eb21dd5cf
treeca77996c06c50c60cf88f43508b83fb4277f0638
parente638fc0bfece1da57df3fdedafd52bb884d2b80d
display: modified SDL_SetVideoMode flag

Use SDL_SWSURFACE if you plan on doing per-pixel manipulations,
or blit surfaces with alpha channels, and require a high framerate.
When you use hardware surfaces, SDL copies the surfaces from video
memory to system memory when you lock them, and back when you unlock
them. This can cause a major performance hit.
 Be aware that you may request a hardware surface, but receive a
software surface because the video driver doesn't support hardware
surface. Many platforms can only provide a hardware surface when
using SDL_FULLSCREEN. The SDL_HWSURFACE flag is best used when
the surfaces you'll be blitting can also be stored in video memory.

Change-Id: I07484f931ac2956bb386234a0524066ee70cce1f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/maru_sdl.c