OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CacheTexture
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/libs/hwui/font/
CachedGlyphInfo.h
23
class
CacheTexture
;
50
CacheTexture
* mCacheTexture;
FontCacheHistoryTracker.h
25
class
CacheTexture
;
33
void glyphUploaded(
CacheTexture
*, uint32_t x, uint32_t y, uint16_t glyphW, uint16_t glyphH);
34
void glyphsCleared(
CacheTexture
*);
CacheTexture.cpp
19
#include "
CacheTexture
.h"
112
//
CacheTexture
115
CacheTexture
::
CacheTexture
(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount)
133
CacheTexture
::~
CacheTexture
() {
139
void
CacheTexture
::reset() {
150
void
CacheTexture
::init() {
157
void
CacheTexture
::releaseMesh() {
161
void
CacheTexture
::releasePixelBuffer()
[
all
...]
CacheTexture.h
36
* CacheBlock is a node in a linked list of current free space areas in a
CacheTexture
.
74
class
CacheTexture
{
76
CacheTexture
(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
77
~
CacheTexture
();
FontCacheHistoryTracker.cpp
20
#include "
CacheTexture
.h"
42
log.appendFormat(" cleared
cachetexture
%p in gen %d\n", glyph.texture,
75
void FontCacheHistoryTracker::glyphUploaded(
CacheTexture
* texture, uint32_t x, uint32_t y,
86
void FontCacheHistoryTracker::glyphsCleared(
CacheTexture
* texture) {
Font.h
43
class
CacheTexture
;
124
void invalidateTextureCache(
CacheTexture
*
cacheTexture
= nullptr);
Font.cpp
126
void Font::invalidateTextureCache(
CacheTexture
*
cacheTexture
) {
129
if (!
cacheTexture
|| cachedGlyph->mCacheTexture ==
cacheTexture
) {
211
CacheTexture
*
cacheTexture
= glyph->mCacheTexture;
212
PixelBuffer* pixelBuffer =
cacheTexture
->getPixelBuffer();
216
uint32_t cacheWidth =
cacheTexture
->getWidth();
/frameworks/base/libs/hwui/
FontRenderer.h
20
#include "font/
CacheTexture
.h"
71
void draw(
CacheTexture
& texture, bool linearFiltering);
89
void flushLargeCaches(std::vector<
CacheTexture
*>& cacheTextures);
134
void allocateTextureMemory(
CacheTexture
*
cacheTexture
);
135
void deallocateTextureMemory(
CacheTexture
*
cacheTexture
);
137
CacheTexture
* createCacheTexture(int width, int height, GLenum format, bool allocate);
140
CacheTexture
* cacheBitmapInTexture(std::vector<
CacheTexture
*>& cacheTextures, const SkGlyph& glyph
[
all
...]
FontRenderer.cpp
50
void TextDrawFunctor::draw(
CacheTexture
& texture, bool linearFiltering) {
130
void clearCacheTextures(std::vector<
CacheTexture
*>& cacheTextures) {
174
void FontRenderer::flushLargeCaches(std::vector<
CacheTexture
*>& cacheTextures) {
177
CacheTexture
*
cacheTexture
= cacheTextures[i];
178
if (
cacheTexture
->getPixelBuffer()) {
179
cacheTexture
->init();
181
mHistoryTracker.glyphsCleared(
cacheTexture
);
185
it.value()->invalidateTextureCache(
cacheTexture
);
187
cacheTexture
->releasePixelBuffer()
[
all
...]
Completed in 241 milliseconds