Flutter Engine
The Flutter Engine
GrAtlasTools.h
Go to the documentation of this file.
1/*
2 * Copyright 2023 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
8#ifndef GrAtlasManagerTools_DEFINED
9#define GrAtlasManagerTools_DEFINED
10
13
14#include <cstddef>
15
16class GrDirectContext;
17
19public:
20 static void Dump(const GrAtlasManager*, GrDirectContext*);
22 static void SetMaxPages(GrAtlasManager*, uint32_t maxPages);
23};
24
26public:
27 static int NumAllocated(const GrDrawOpAtlas*);
28 static void SetMaxPages(GrDrawOpAtlas*, uint32_t maxPages);
29};
30
31#endif
static void SetAtlasDimensionsToMinimum(GrAtlasManager *)
static void Dump(const GrAtlasManager *, GrDirectContext *)
static void SetMaxPages(GrAtlasManager *, uint32_t maxPages)
static int NumAllocated(const GrDrawOpAtlas *)
static void SetMaxPages(GrDrawOpAtlas *, uint32_t maxPages)