#include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "gpu/command_buffer/client/context_support.h"
#include "gpu/command_buffer/client/gles2_interface.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
GLES2Interface;
ContextSupport;
namespace {
class ScopedCallingGLFromSkia { … };
template <typename R, typename... Args>
GrGLFunction<R GR_GL_FUNCTION_TYPE(Args...)> gles_bind(
R (GLES2Interface::*func)(Args...),
GLES2Interface* gles2_interface,
ContextSupport* context_support) { … }
}
namespace skia_bindings {
sk_sp<GrGLInterface> CreateGLES2InterfaceBindings(
GLES2Interface* impl,
ContextSupport* context_support) { … }
}