#include "third_party/blink/renderer/platform/graphics/gpu/extensions_3d_util.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/client/gles2_interface.h"
#include "gpu/command_buffer/common/gles2_cmd_copy_texture_chromium_utils.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
namespace blink {
namespace {
void SplitStringHelper(const String& str, HashSet<String>& set) { … }
}
std::unique_ptr<Extensions3DUtil> Extensions3DUtil::Create(
gpu::gles2::GLES2Interface* gl) { … }
Extensions3DUtil::Extensions3DUtil(gpu::gles2::GLES2Interface* gl)
: … { … }
Extensions3DUtil::~Extensions3DUtil() = default;
void Extensions3DUtil::InitializeExtensions() { … }
bool Extensions3DUtil::SupportsExtension(const String& name) { … }
bool Extensions3DUtil::EnsureExtensionEnabled(const String& name) { … }
bool Extensions3DUtil::IsExtensionEnabled(const String& name) { … }
bool Extensions3DUtil::CopyTextureCHROMIUMNeedsESSL3(GLenum dest_format) { … }
bool Extensions3DUtil::CanUseCopyTextureCHROMIUM(GLenum dest_target) { … }
}