OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CacheTexture
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/libs/hwui/
FontRenderer.h
28
#include "font/
CacheTexture
.h"
109
void allocateTextureMemory(
CacheTexture
*
cacheTexture
);
110
void deallocateTextureMemory(
CacheTexture
*
cacheTexture
);
112
CacheTexture
* createCacheTexture(int width, int height, bool allocate);
115
CacheTexture
* cacheBitmapInTexture(const SkGlyph& glyph, uint32_t* startX, uint32_t* startY);
128
float x4, float y4, float u4, float v4,
CacheTexture
* texture);
132
float x4, float y4, float u4, float v4,
CacheTexture
* texture);
136
float x4, float y4, float u4, float v4,
CacheTexture
* texture)
[
all
...]
FontRenderer.cpp
141
CacheTexture
*
cacheTexture
= mCacheTextures[i];
142
if (
cacheTexture
->getPixelBuffer()) {
143
cacheTexture
->init();
146
it.value()->invalidateTextureCache(
cacheTexture
);
148
cacheTexture
->releaseTexture();
153
CacheTexture
* FontRenderer::cacheBitmapInTexture(const SkGlyph& glyph,
190
CacheTexture
*
cacheTexture
= cacheBitmapInTexture(glyph, &startX, &startY);
192
if (!
cacheTexture
) {
[
all
...]
Android.mk
11
font/
CacheTexture
.cpp \
/frameworks/base/libs/hwui/font/
CacheTexture.cpp
19
#include "
CacheTexture
.h"
107
//
CacheTexture
110
CacheTexture
::
CacheTexture
(uint16_t width, uint16_t height, uint32_t maxQuadCount) :
123
CacheTexture
::~
CacheTexture
() {
129
void
CacheTexture
::reset() {
140
void
CacheTexture
::init() {
147
void
CacheTexture
::releaseMesh() {
151
void
CacheTexture
::releaseTexture()
[
all
...]
CachedGlyphInfo.h
22
#include "
CacheTexture
.h"
52
CacheTexture
* mCacheTexture;
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, uint32_t maxQuadCount);
77
~
CacheTexture
();
Font.h
116
void invalidateTextureCache(
CacheTexture
*
cacheTexture
= NULL);
Font.cpp
127
void Font::invalidateTextureCache(
CacheTexture
*
cacheTexture
) {
130
if (!
cacheTexture
|| cachedGlyph->mCacheTexture ==
cacheTexture
) {
209
CacheTexture
*
cacheTexture
= glyph->mCacheTexture;
211
uint32_t cacheWidth =
cacheTexture
->getWidth();
215
PixelBuffer* pixelBuffer =
cacheTexture
->getPixelBuffer();
Completed in 63 milliseconds