OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cacheTexture
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/libs/hwui/
FontRenderer.cpp
59
void TextDrawFunctor::draw(
CacheTexture
& texture, bool linearFiltering) {
143
void clearCacheTextures(std::vector<
CacheTexture
*>& cacheTextures) {
187
void FontRenderer::flushLargeCaches(std::vector<
CacheTexture
*>& cacheTextures) {
190
CacheTexture
*
cacheTexture
= cacheTextures[i];
191
if (
cacheTexture
->getPixelBuffer()) {
192
cacheTexture
->init();
194
mHistoryTracker.glyphsCleared(
cacheTexture
);
198
it.value()->invalidateTextureCache(
cacheTexture
);
200
cacheTexture
->releasePixelBuffer()
[
all
...]
FontRenderer.h
21
#include "font/
CacheTexture
.h"
84
void draw(
CacheTexture
& texture, bool linearFiltering);
106
void flushLargeCaches(std::vector<
CacheTexture
*>& cacheTextures);
151
void allocateTextureMemory(
CacheTexture
*
cacheTexture
);
152
void deallocateTextureMemory(
CacheTexture
*
cacheTexture
);
154
CacheTexture
* createCacheTexture(int width, int height, GLenum format, bool allocate);
157
CacheTexture
* cacheBitmapInTexture(std::vector<
CacheTexture
*>& cacheTextures, const SkGlyph& glyph
[
all
...]
/frameworks/base/libs/hwui/font/
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();
Font.h
41
class
CacheTexture
;
122
void invalidateTextureCache(
CacheTexture
*
cacheTexture
= nullptr);
Completed in 127 milliseconds