Flutter Engine
The Flutter Engine
third_party
skia
tools
gpu
ganesh
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
11
#include "
src/gpu/ganesh/GrDrawOpAtlas.h
"
12
#include "
src/gpu/ganesh/text/GrAtlasManager.h
"
13
14
#include <cstddef>
15
16
class
GrDirectContext
;
17
18
class
GrAtlasManagerTools
{
19
public
:
20
static
void
Dump
(
const
GrAtlasManager
*,
GrDirectContext
*);
21
static
void
SetAtlasDimensionsToMinimum
(
GrAtlasManager
*);
22
static
void
SetMaxPages
(
GrAtlasManager
*, uint32_t maxPages);
23
};
24
25
class
GrDrawOpAtlasTools
{
26
public
:
27
static
int
NumAllocated
(
const
GrDrawOpAtlas
*);
28
static
void
SetMaxPages
(
GrDrawOpAtlas
*, uint32_t maxPages);
29
};
30
31
#endif
GrAtlasManager.h
GrDrawOpAtlas.h
GrAtlasManagerTools
Definition:
GrAtlasTools.h:18
GrAtlasManagerTools::SetAtlasDimensionsToMinimum
static void SetAtlasDimensionsToMinimum(GrAtlasManager *)
Definition:
GrAtlasTools.cpp:102
GrAtlasManagerTools::Dump
static void Dump(const GrAtlasManager *, GrDirectContext *)
Definition:
GrAtlasTools.cpp:79
GrAtlasManagerTools::SetMaxPages
static void SetMaxPages(GrAtlasManager *, uint32_t maxPages)
Definition:
GrAtlasTools.cpp:114
GrAtlasManager
Definition:
GrAtlasManager.h:43
GrDirectContext
Definition:
GrDirectContext.h:60
GrDrawOpAtlasTools
Definition:
GrAtlasTools.h:25
GrDrawOpAtlasTools::NumAllocated
static int NumAllocated(const GrDrawOpAtlas *)
Definition:
GrAtlasTools.cpp:123
GrDrawOpAtlasTools::SetMaxPages
static void SetMaxPages(GrDrawOpAtlas *, uint32_t maxPages)
Definition:
GrAtlasTools.cpp:135
GrDrawOpAtlas
Definition:
GrDrawOpAtlas.h:53
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4