Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
TextBlobTools.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2024 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
12
13namespace sktext::gpu {
14
16 SkASSERT(blob);
17 if (blob->fSubRuns->fSubRuns.isEmpty()) {
18 return nullptr;
19 }
20 return blob->fSubRuns->fSubRuns.front().testingOnly_atlasSubRun();
21}
22
23} // namespace sktext::gpu
#define SkASSERT(cond)
Definition SkAssert.h:116
static const AtlasSubRun * FirstSubRun(const TextBlob *)