/* * Copyright 2023 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkColorTable.h" #include "include/core/SkImageInfo.h" #include "src/core/SkReadBuffer.h" #include "src/core/SkWriteBuffer.h" sk_sp<SkColorTable> SkColorTable::Make(const uint8_t tableA[256], const uint8_t tableR[256], const uint8_t tableG[256], const uint8_t tableB[256]) { … } void SkColorTable::flatten(SkWriteBuffer& buffer) const { … } sk_sp<SkColorTable> SkColorTable::Deserialize(SkReadBuffer& buffer) { … }