OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrAtlasTextBlob
(Results
1 - 14
of
14
) sorted by null
/external/skia/src/gpu/text/
GrTextBlobCache.cpp
15
SkTDynamicHash<
GrAtlasTextBlob
,
GrAtlasTextBlob
::Key>::Iter iter(&fCache);
17
GrAtlasTextBlob
* blob = &(*iter);
GrTextBlobCache.h
33
GrAtlasTextBlob
* createBlob(int glyphCount, int runCount) {
34
return
GrAtlasTextBlob
::Create(&fPool, glyphCount, runCount);
36
GrAtlasTextBlob
* createBlob(const SkTextBlob* blob) {
40
GrAtlasTextBlob
* cacheBlob =
GrAtlasTextBlob
::Create(&fPool, glyphCount, runCount);
44
GrAtlasTextBlob
* createCachedBlob(const SkTextBlob* blob,
45
const
GrAtlasTextBlob
::Key& key,
51
GrAtlasTextBlob
* cacheBlob =
GrAtlasTextBlob
::Create(&fPool, glyphCount, runCount);
57
GrAtlasTextBlob
* find(const GrAtlasTextBlob::Key& key)
[
all
...]
GrTextUtils.h
14
class
GrAtlasTextBlob
;
37
// Functions for appending BMP text to
GrAtlasTextBlob
38
static void DrawBmpText(
GrAtlasTextBlob
*, int runIndex,
45
static void DrawBmpPosText(
GrAtlasTextBlob
*, int runIndex,
56
static void DrawDFText(
GrAtlasTextBlob
* blob, int runIndex,
63
static void DrawDFPosText(
GrAtlasTextBlob
* blob, int runIndex,
91
static void InitDistanceFieldPaint(
GrAtlasTextBlob
* blob,
96
static void BmpAppendGlyph(
GrAtlasTextBlob
*, int runIndex, GrBatchFontCache*,
100
static bool DfAppendGlyph(
GrAtlasTextBlob
*, int runIndex, GrBatchFontCache*,
GrAtlasTextContext.h
11
#include "
GrAtlasTextBlob
.h"
55
static void RegenerateTextBlob(
GrAtlasTextBlob
* bmp,
65
static inline
GrAtlasTextBlob
* CreateDrawTextBlob(GrTextBlobCache*,
72
static inline
GrAtlasTextBlob
* CreateDrawPosTextBlob(GrTextBlobCache*, GrBatchFontCache*,
GrAtlasTextBlob.cpp
8
#include "
GrAtlasTextBlob
.h"
20
GrAtlasTextBlob
*
GrAtlasTextBlob
::Create(GrMemoryPool* pool, int glyphCount, int runCount) {
21
// We allocate size for the
GrAtlasTextBlob
itself, plus size for the vertices array,
24
size_t size = sizeof(
GrAtlasTextBlob
) +
27
sizeof(
GrAtlasTextBlob
::Run) * runCount;
34
GrAtlasTextBlob
* cacheBlob = new (allocation)
GrAtlasTextBlob
;
38
cacheBlob->fVertices = sizeof(
GrAtlasTextBlob
) + reinterpret_cast<unsigned char*>(cacheBlob);
40
cacheBlob->fRuns = reinterpret_cast<
GrAtlasTextBlob
::Run*>(cacheBlob->fGlyphs + glyphCount)
[
all
...]
GrAtlasTextBlob.h
32
* A
GrAtlasTextBlob
contains a fully processed SkTextBlob, suitable for nearly immediate drawing
34
* texture coordinates. The
GrAtlasTextBlob
itself has a few Blob-wide properties, and also
38
* The only thing(aside from a memcopy) required to flush a
GrAtlasTextBlob
is to ensure that
45
class
GrAtlasTextBlob
: public SkNVRefCnt<
GrAtlasTextBlob
> {
47
SK_DECLARE_INTERNAL_LLIST_INTERFACE(
GrAtlasTextBlob
);
49
static
GrAtlasTextBlob
* Create(GrMemoryPool* pool, int glyphCount, int runCount);
70
void setupKey(const
GrAtlasTextBlob
::Key& key,
84
static const Key& GetKey(const
GrAtlasTextBlob
& blob) {
93
GrAtlasTextBlob
* blob = reinterpret_cast<GrAtlasTextBlob*>(p)
[
all
...]
GrAtlasTextContext.cpp
80
SkAutoTUnref<
GrAtlasTextBlob
> cacheBlob;
82
GrAtlasTextBlob
::Key key;
137
SkAutoTUnref<
GrAtlasTextBlob
> sanityBlob(cache->createBlob(glyphCount, runCount));
143
GrAtlasTextBlob
::AssertEqual(*sanityBlob, *cacheBlob);
162
void GrAtlasTextContext::RegenerateTextBlob(
GrAtlasTextBlob
* cacheBlob,
251
inline
GrAtlasTextBlob
*
263
GrAtlasTextBlob
* blob = blobCache->createBlob(glyphCount, 1);
277
inline
GrAtlasTextBlob
*
287
GrAtlasTextBlob
* blob = blobCache->createBlob(glyphCount, 1);
313
SkAutoTUnref<
GrAtlasTextBlob
> blob
[
all
...]
GrTextUtils.cpp
10
#include "
GrAtlasTextBlob
.h"
40
void GrTextUtils::DrawBmpText(
GrAtlasTextBlob
* blob, int runIndex,
80
void GrTextUtils::DrawBmpPosText(
GrAtlasTextBlob
* blob, int runIndex,
122
void GrTextUtils::BmpAppendGlyph(
GrAtlasTextBlob
* blob, int runIndex,
195
void GrTextUtils::InitDistanceFieldPaint(
GrAtlasTextBlob
* blob,
248
void GrTextUtils::DrawDFText(
GrAtlasTextBlob
* blob, int runIndex,
317
void GrTextUtils::DrawDFPosText(
GrAtlasTextBlob
* blob, int runIndex,
424
bool GrTextUtils::DfAppendGlyph(
GrAtlasTextBlob
* blob, int runIndex, GrBatchFontCache* cache,
GrAtlasTextBlob_regenInBatch.cpp
8
#include "
GrAtlasTextBlob
.h"
141
void
GrAtlasTextBlob
::regenInBatch(GrDrawBatch::Target* target,
254
void
GrAtlasTextBlob
::regenInBatch(GrDrawBatch::Target* target,
/external/skia/src/gpu/batches/
GrAtlasTextBatch.h
20
static const int kVerticesPerGlyph =
GrAtlasTextBlob
::kVerticesPerGlyph;
23
typedef
GrAtlasTextBlob
Blob;
191
* A simple helper class to abstract the interface
GrAtlasTextBlob
needs to regenerate itself.
192
* It'd be nicer if this was nested, but we need to forward declare it in
GrAtlasTextBlob
.h
GrAtlasTextBatch.cpp
117
SkASSERT(vertexStride ==
GrAtlasTextBlob
::GetVertexStride(maskFormat));
/external/skia/include/gpu/
GrDrawContext.h
280
friend class
GrAtlasTextBlob
; // for access to drawBatch
/external/skia/include/core/
SkPaint.h
[
all
...]
/external/skia/
Android.mk
485
src/gpu/text/
GrAtlasTextBlob
.cpp \
Completed in 1350 milliseconds