OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrGlyph
(Results
1 - 10
of
10
) sorted by null
/external/skia/include/gpu/
GrFontScaler.h
14
#include "
GrGlyph
.h"
30
virtual bool getPackedGlyphBounds(
GrGlyph
::PackedID, GrIRect* bounds) = 0;
31
virtual bool getPackedGlyphImage(
GrGlyph
::PackedID, int width, int height,
GrGlyph.h
25
struct
GrGlyph
{
34
void init(
GrGlyph
::PackedID packed, const GrIRect& bounds) {
GrTextContext.h
14
#include "
GrGlyph
.h"
31
void drawPackedGlyph(
GrGlyph
::PackedID, GrFixed left, GrFixed top,
SkGr.h
185
virtual bool getPackedGlyphBounds(
GrGlyph
::PackedID, GrIRect* bounds);
186
virtual bool getPackedGlyphImage(
GrGlyph
::PackedID, int width, int height,
/external/skia/src/gpu/
GrTextStrike.h
18
#include "
GrGlyph
.h"
39
inline
GrGlyph
* getGlyph(
GrGlyph
::PackedID, GrFontScaler*);
40
bool getGlyphAtlas(
GrGlyph
*, GrFontScaler*);
44
const
GrGlyph
* glyphAt(int index) const {
56
GrTHashTable<
GrGlyph
, Key, 7> fCache;
58
GrTAllocPool<
GrGlyph
> fPool;
66
GrGlyph
* generateGlyph(
GrGlyph
::PackedID packed, GrFontScaler* scaler);
GrTextStrike_impl.h
81
Key(
GrGlyph
::PackedID id) : fPackedID(id) {}
85
static bool LT(const
GrGlyph
& glyph, const Key& key) {
88
static bool EQ(const
GrGlyph
& glyph, const Key& key) {
93
GrGlyph
::PackedID fPackedID;
96
GrGlyph
* GrTextStrike::getGlyph(
GrGlyph
::PackedID packed,
98
GrGlyph
* glyph = fCache.find(packed);
SkGrFontScaler.cpp
103
bool SkGrFontScaler::getPackedGlyphBounds(
GrGlyph
::PackedID packed,
105
const SkGlyph& glyph = fStrike->getGlyphIDMetrics(
GrGlyph
::UnpackID(packed),
106
GrGlyph
::UnpackFixedX(packed),
107
GrGlyph
::UnpackFixedY(packed));
125
bool SkGrFontScaler::getPackedGlyphImage(
GrGlyph
::PackedID packed,
128
const SkGlyph& glyph = fStrike->getGlyphIDMetrics(
GrGlyph
::UnpackID(packed),
129
GrGlyph
::UnpackFixedX(packed),
130
GrGlyph
::UnpackFixedY(packed));
GrTextStrike.cpp
119
We map a 32bit glyphID to a
GrGlyph
record, which in turn points to a
141
static void FreeGlyph(
GrGlyph
*& glyph) { glyph->free(); }
154
GrGlyph
* GrTextStrike::generateGlyph(
GrGlyph
::PackedID packed,
161
GrGlyph
* glyph = fPool.alloc();
167
bool GrTextStrike::getGlyphAtlas(
GrGlyph
* glyph, GrFontScaler* scaler) {
GrTextContext.cpp
175
void GrTextContext::drawPackedGlyph(
GrGlyph
::PackedID packed,
182
GrGlyph
* glyph = fStrike->getGlyph(packed, scaler);
SkGpuDevice.cpp
[
all
...]
Completed in 923 milliseconds