Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkEmptyShader.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2022 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
9
13
14class SkReadBuffer;
15
16sk_sp<SkFlattenable> SkEmptyShader::CreateProc(SkReadBuffer&) {
17 return SkShaders::Empty();
18}
19
20sk_sp<SkShader> SkShaders::Empty() { return sk_make_sp<SkEmptyShader>(); }
21
void SkRegisterEmptyShaderFlattenable()
#define SK_REGISTER_FLATTENABLE(type)