#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_CONTEXT_ATTRIBUTE_HELPERS_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_CONTEXT_ATTRIBUTE_HELPERS_H_
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_webgl_context_attributes.h"
#include "third_party/blink/renderer/core/html/canvas/canvas_context_creation_attributes_core.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace gl {
enum class GpuPreference;
}
namespace blink {
WebGLContextAttributes* ToWebGLContextAttributes(
const CanvasContextCreationAttributesCore&);
Platform::ContextAttributes ToPlatformContextAttributes(
const CanvasContextCreationAttributesCore&,
Platform::ContextType context_type);
gl::GpuPreference PowerPreferenceToGpuPreference(String power_preference);
}
#endif