chromium/third_party/blink/renderer/platform/graphics/canvas_color_params.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/graphics/canvas_color_params.h"

#include "cc/paint/skia_paint_canvas.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "third_party/khronos/GLES2/gl2ext.h"
#include "third_party/khronos/GLES3/gl3.h"
#include "third_party/skia/include/core/SkSurfaceProps.h"
#include "ui/gfx/color_space.h"

namespace blink {

// The PredefinedColorSpace value definitions are specified in the CSS Color
// Level 4 specification.
gfx::ColorSpace PredefinedColorSpaceToGfxColorSpace(
    PredefinedColorSpace color_space) {}

sk_sp<SkColorSpace> PredefinedColorSpaceToSkColorSpace(
    PredefinedColorSpace color_space) {}

PredefinedColorSpace PredefinedColorSpaceFromSkColorSpace(
    const SkColorSpace* sk_color_space) {}

SkColorType CanvasPixelFormatToSkColorType(CanvasPixelFormat pixel_format) {}

CanvasColorParams::CanvasColorParams() = default;

CanvasColorParams::CanvasColorParams(PredefinedColorSpace color_space,
                                     CanvasPixelFormat pixel_format,
                                     OpacityMode opacity_mode)
    :{}

CanvasColorParams::CanvasColorParams(PredefinedColorSpace color_space,
                                     CanvasPixelFormat pixel_format,
                                     bool has_alpha)
    :{}

SkColorInfo CanvasColorParams::GetSkColorInfo() const {}

String CanvasColorParams::GetColorSpaceAsString() const {}

String CanvasColorParams::GetPixelFormatAsString() const {}

SkColorType CanvasColorParams::GetSkColorType() const {}


uint8_t CanvasColorParams::BytesPerPixel() const {}

gfx::ColorSpace CanvasColorParams::GetStorageGfxColorSpace() const {}

sk_sp<SkColorSpace> CanvasColorParams::GetSkColorSpace() const {}

}  // namespace blink