SDL 硬件渲染探索

參考    http://blog.chinaunix.net/uid-8210028-id-338206.htmlhtml

 


硬件加速的條件ide

1)必須使用全屏模式(SDL_FULLSCREEN)函數

2)  打開雙緩衝(SDL_DOUBLEBUF)ui


是否真的如此,還沒有深刻研究.net

1)搜索不到SDL_putenv函數定義unix


硬件渲染的代碼htm

SDL_CreateRenderer(SDL_RENDERER_ACCELERATED);//指定硬件加速blog

SDL_CreateTextureit

SDL_UpdateYUVTextureclass

相關文章
相關標籤/搜索