增加完整的dsa扩展检测

This commit is contained in:
2018-12-08 19:32:22 +08:00
parent dda548dc6f
commit bb3009c5fb
5 changed files with 69 additions and 23 deletions

View File

@@ -6,25 +6,9 @@ namespace hgl
{
namespace graph
{
/**
* 渲染驱动
* 用于对真实渲染API的交接管理
*/
class RenderDriver
{
private:
RenderStatus current_status;
public:
virtual void SetCurStatus(const RenderStatus &)=0;
virtual void ClearColorBuffer()=0;
virtual void ClearDepthBuffer()=0;
};//class RenderDriver
void InitOpenGLDebug();
bool IsSupportDSA();
}//namespace graph
}//namespace hgl
#endif//HGL_RENDER_DRIVER_INCLUDE