#include "gpu/skia_bindings/grcontext_for_gles2_interface.h"
#include <stddef.h>
#include <string.h>
#include <utility>
#include "base/lazy_instance.h"
#include "base/system/sys_info.h"
#include "base/trace_event/trace_event.h"
#include "gpu/command_buffer/client/gles2_interface.h"
#include "gpu/command_buffer/common/capabilities.h"
#include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
#include "gpu/skia_bindings/gles2_implementation_with_grcontext_support.h"
#include "third_party/skia/include/gpu/GrContextOptions.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLDirectContext.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
namespace skia_bindings {
GrContextForGLES2Interface::GrContextForGLES2Interface(
gpu::gles2::GLES2Interface* gl,
gpu::ContextSupport* context_support,
const gpu::Capabilities& capabilities,
size_t max_resource_cache_bytes,
size_t max_glyph_cache_texture_bytes,
bool support_bilerp_from_flyph_atlas)
: … { … }
GrContextForGLES2Interface::~GrContextForGLES2Interface() { … }
void GrContextForGLES2Interface::compileError(const char* shader,
const char* errors) { … }
void GrContextForGLES2Interface::OnLostContext() { … }
void GrContextForGLES2Interface::FreeGpuResources() { … }
GrDirectContext* GrContextForGLES2Interface::get() { … }
}