chromium/third_party/angle/util/png_utils.cpp

//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// png_utils: Wrapper around libpng.
//

#include "util/png_utils.h"

#include <array>
#include <cstring>

#include <png.h>

namespace angle
{
namespace
{
class ScopedFILE
{};
}  // namespace

bool SavePNGRGB(const char *fileName,
                const char *title,
                uint32_t width,
                uint32_t height,
                const std::vector<uint8_t> &data)
{}
}  // namespace angle