#pragma once #include #include #include namespace mbgl { namespace gfx { class ContextObserver { public: virtual void onPreCompileShader(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {} virtual void onPostCompileShader(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {} virtual void onShaderCompileFailed(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {} }; } // namespace gfx } // namespace mbgl