[SDL] SDL internal: blit from 24-bit RGB source never optimized

sdl at zevv.nl sdl at zevv.nl
Mon Sep 26 12:23:05 PDT 2005


> Sorry to ask so many questions, but I'm a little nervous about this 
> patch...I'm wondering if it might be better to just create a mutex in 
> TTF_Init() and serialize access where appropriate...

I agree here.  Font code is not (shouldn't be) loop critical, so a mutex
is probably a much better way to make this thread-safe.

Note that you still can't generally make graphics calls from multiple threads,
so I'm curious why this even came up...

	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list