Searched refs:UniqueShader (Results 1 – 3 of 3) sorted by relevance
52 using UniqueShader = std_experimental::unique_resource<ShaderID, detail::ShaderDeleter>; typedef
50 UniqueShader createShader(ShaderType type, const std::string& source);
170 UniqueShader Context::createShader(ShaderType type, const std::string& source) { in createShader()171 UniqueShader result { MBGL_CHECK_ERROR(glCreateShader(static_cast<GLenum>(type))), { this } }; in createShader()