[SDL] Optimal mode from SDL_GetVideoMode

benang at cs.its.ac.id benang at cs.its.ac.id
Thu Oct 5 19:17:06 PDT 2006


> The best mode really depends on the driver you are using. Under X11
> for example you only have software surface.
>
> On 10/5/06, Peter Mulholland <darkmatter at freeuk.com> wrote:
>> Hello benang,
>>
>> Thursday, October 5, 2006, 5:16:57 AM, you wrote:
>>
>> > Hi, I've recently tried to find the optimal mode from
>> SDL_GetVideoMode.
>> > The result is all the accelerations(hw_available, blit_hw, blit_hw_CC,
>> > blit_hw_A, blit_sw, blit_sw_CC, blit_sw_A, blit_fill) are valued 0.
>> So, is
>> > it better to use the flag SDL_HWSURFACE or SDL_SWSURFACE? What is the
>> > optimal flag if I wanted to use either colorkey or alpha blending? And
>> why
>> > is the video_mem value always returned zero?
>>
>> On what platform?
>>
>>
>> --
>> Best regards,
>>  Peter                            mailto:darkmatter at freeuk.com
>>
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at libsdl.org
>> http://www.libsdl.org/mailman/listinfo/sdl
>>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>


Thanks. Maybe that's why my app runs slowly (I used hardware surface all
along).





More information about the SDL mailing list