OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrGlyph
(Results
1 - 9
of
9
) sorted by null
/external/skia/src/gpu/text/
GrBatchFontCache.h
13
#include "
GrGlyph
.h"
33
inline
GrGlyph
* getGlyph(const SkGlyph& skGlyph,
GrGlyph
::PackedID packed,
35
GrGlyph
* glyph = fCache.find(packed);
46
inline
GrGlyph
* getGlyph(
GrGlyph
::PackedID packed,
49
GrGlyph
* glyph = fCache.find(packed);
66
bool addGlyphToAtlas(GrDrawBatch::Target*,
GrGlyph
*, GrFontScaler*,
86
SkTDynamicHash<
GrGlyph
,
GrGlyph
::PackedID> fCache
[
all
...]
GrBatchFontCache.cpp
152
We map a 32bit glyphID to a
GrGlyph
record, which in turn points to a
166
SkTDynamicHash<
GrGlyph
,
GrGlyph
::PackedID>::Iter iter(&fCache);
173
GrGlyph
* GrBatchTextStrike::generateGlyph(const SkGlyph& skGlyph,
GrGlyph
::PackedID packed,
176
if (
GrGlyph
::kDistance_MaskStyle ==
GrGlyph
::UnpackMaskStyle(packed)) {
187
GrGlyph
* glyph = (
GrGlyph
*)fPool.alloc(sizeof(
GrGlyph
));
[
all
...]
GrFontScaler.cpp
203
const SkGlyph& GrFontScaler::grToSkGlyph(
GrGlyph
::PackedID id) {
204
return fStrike->getGlyphIDMetrics(
GrGlyph
::UnpackID(id),
205
GrGlyph
::UnpackFixedX(id),
206
GrGlyph
::UnpackFixedY(id));
GrFontScaler.h
11
#include "
GrGlyph
.h"
60
const SkGlyph& grToSkGlyph(
GrGlyph
::PackedID);
GrTextUtils.cpp
130
GrGlyph
::PackedID id =
GrGlyph
::Pack(skGlyph.getGlyphID(),
133
GrGlyph
::kCoverage_MaskStyle);
134
GrGlyph
* glyph = (*strike)->getGlyph(skGlyph, id, scaler);
433
GrGlyph
::PackedID id =
GrGlyph
::Pack(skGlyph.getGlyphID(),
436
GrGlyph
::kDistance_MaskStyle);
437
GrGlyph
* glyph = (*strike)->getGlyph(skGlyph, id, scaler);
GrAtlasTextBlob_regenInBatch.cpp
22
inline void regen_vertices(intptr_t vertex, const
GrGlyph
* glyph, size_t vertexStride,
182
GrGlyph
* glyph = nullptr;
190
GrGlyph
::PackedID id = fGlyphs[glyphOffset]->fPackedID;
274
// been abandoned. If it hasn't been abandoned, then we can use the
GrGlyph
*s as is
279
// updating our cache of the
GrGlyph
*s, we drop our ref on the old strike
GrAtlasTextBlob.h
161
GrGlyph
* glyph,
288
void appendLargeGlyph(
GrGlyph
* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph,
533
GrGlyph
** fGlyphs;
GrAtlasTextBlob.cpp
26
glyphCount * sizeof(
GrGlyph
**) +
39
cacheBlob->fGlyphs = reinterpret_cast<
GrGlyph
**>(cacheBlob->fVertices + verticesCount);
71
GrGlyph
* glyph,
155
void GrAtlasTextBlob::appendLargeGlyph(
GrGlyph
* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph,
/external/skia/src/gpu/
GrGlyph.h
26
struct
GrGlyph
{
42
void init(
GrGlyph
::PackedID packed, const SkIRect& bounds, GrMaskFormat format) {
94
static inline const
GrGlyph
::PackedID& GetKey(const
GrGlyph
& glyph) {
98
static inline uint32_t Hash(
GrGlyph
::PackedID key) {
Completed in 643 milliseconds