OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrBatchAtlas
(Results
1 - 11
of
11
) sorted by null
/external/skia/src/gpu/
GrBatchAtlas.h
22
class
GrBatchAtlas
{
31
// A function pointer for use as a callback during eviction. Whenever
GrBatchAtlas
evicts a
34
typedef void (*EvictionFunc)(
GrBatchAtlas
::AtlasID, void*);
36
GrBatchAtlas
(GrTexture*, int numPlotsX, int numPlotsY);
37
~
GrBatchAtlas
();
63
* A class which can be handed back to
GrBatchAtlas
for updating in bulk last use tokens. The
64
* current max number of plots the
GrBatchAtlas
can handle is 32, if in the future this is
71
int index =
GrBatchAtlas
::GetIndexFromID(id);
99
friend class
GrBatchAtlas
;
GrBatchFontCache.h
11
#include "
GrBatchAtlas
.h"
50
void removeID(
GrBatchAtlas
::AtlasID);
117
// To ensure the
GrBatchAtlas
does not evict the Glyph Mask from its texture backing store,
122
void addGlyphToBulkAndSetUseToken(
GrBatchAtlas
::BulkUseTokenUpdater* updater,
123
GrGlyph* glyph,
GrBatchAtlas
::BatchToken token) {
129
void setUseTokenBulk(const
GrBatchAtlas
::BulkUseTokenUpdater& updater,
130
GrBatchAtlas
::BatchToken token,
136
bool addToAtlas(GrBatchTextStrike* strike,
GrBatchAtlas
::AtlasID* id,
145
//
GrBatchAtlas
. The atlasGeneration returned below is a monitonically increasing number which
177
GrBatchAtlas
* getAtlas(GrMaskFormat format) const
[
all
...]
GrAADistanceFieldPathRenderer.h
12
#include "
GrBatchAtlas
.h"
59
GrBatchAtlas
::AtlasID fID;
73
static void HandleEviction(
GrBatchAtlas
::AtlasID, void*);
79
GrBatchAtlas
* fAtlas;
GrBatchAtlas.cpp
8
#include "
GrBatchAtlas
.h"
20
static
GrBatchAtlas
::AtlasID create_id(int index, int generation) {
26
// The backing GrTexture for a
GrBatchAtlas
is broken into a spatial grid of GrBatchPlots.
35
typedef
GrBatchAtlas
::BatchToken BatchToken;
45
GrBatchAtlas
::AtlasID id() { return fID; }
156
void init(
GrBatchAtlas
* atlas, GrTexture* texture, int index, uint32_t generation,
180
GrBatchAtlas
::AtlasID fID;
188
GrBatchAtlas
* fAtlas;
194
friend class
GrBatchAtlas
;
221
GrBatchAtlas
::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY
[
all
...]
GrGlyph.h
11
#include "
GrBatchAtlas
.h"
35
GrBatchAtlas
::AtlasID fID;
45
fID =
GrBatchAtlas
::kInvalidAtlasID;
52
fTooLargeForAtlas =
GrBatchAtlas
::GlyphTooLargeForAtlas(bounds.width(), bounds.height());
GrBatchFontCache.cpp
19
static
GrBatchAtlas
* make_atlas(GrContext* context, GrPixelConfig config,
35
return SkNEW_ARGS(
GrBatchAtlas
, (texture, numPlotsX, numPlotsY));
110
void GrBatchFontCache::HandleEviction(
GrBatchAtlas
::AtlasID id, void* ptr) {
194
void GrBatchTextStrike::removeID(
GrBatchAtlas
::AtlasID id) {
198
(*iter).fID =
GrBatchAtlas
::kInvalidAtlasID;
GrAADistanceFieldPathRenderer.cpp
45
void GrAADistanceFieldPathRenderer::HandleEviction(
GrBatchAtlas
::AtlasID id, void* pr) {
143
GrBatchAtlas
* atlas, PathCache* pathCache, PathDataList* pathList) {
194
GrBatchAtlas
* atlas = fAtlas;
294
GrBatchAtlas
* atlas,
315
GrBatchAtlas
* atlas,
412
GrBatchAtlas
::AtlasID id;
454
GrBatchAtlas
* atlas,
551
GrBatchAtlas
* fAtlas;
556
static
GrBatchAtlas
* create_atlas(GrContext* context,
GrBatchAtlas
::EvictionFunc func, void* data)
[
all
...]
GrBatchTarget.h
11
#include "
GrBatchAtlas
.h"
24
typedef
GrBatchAtlas
::BatchToken BatchToken;
GrAtlasTextContext.h
13
#include "
GrBatchAtlas
.h"
106
: fAtlasGeneration(
GrBatchAtlas
::kInvalidAtlasGeneration)
119
GrBatchAtlas
::BulkUseTokenUpdater fBulkUseToken;
GrAtlasTextContext.cpp
[
all
...]
/external/skia/
Android.mk
439
src/gpu/
GrBatchAtlas
.cpp \
Completed in 1295 milliseconds