blob: d6186e5bdee9622bed9aaf04e0b99be8b122e2bb [file] [log] [blame]
/*
* 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/SkData.h"
#include "include/core/SkRefCnt.h"
#include "include/encode/SkWebpEncoder.h"
#include "include/private/base/SkAssert.h"
class GrDirectContext;
class SkImage;
class SkPixmap;
class SkWStream;
namespace SkWebpEncoder {
bool Encode(SkWStream*, const SkPixmap&, const Options&) {
SkDEBUGFAIL("Using encoder stub");
return false;
}
sk_sp<SkData> Encode(GrDirectContext*, const SkImage*, const Options&) {
SkDEBUGFAIL("Using encoder stub");
return nullptr;
}
} // namespace SkWebpEncoder