OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RunPaint
(Results
1 - 5
of
5
) sorted by null
/external/skia/src/gpu/text/
GrTextUtils.h
42
* This is used to wrap a SkPaint and its post-color filter color. It is also used by
RunPaint
83
class
RunPaint
: public Paint {
85
RunPaint
(const Paint* paint, SkDrawFilter* filter, const SkSurfaceProps& props)
GrAtlasTextContext.cpp
173
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
179
if (!
runPaint
.modifyForRun(it)) {
182
if (GrTextUtils::CanDrawAsDistanceFields(
runPaint
, viewMatrix, props, shaderCaps)) {
185
GrTextUtils::DrawDFText(cacheBlob, run, fontCache, props,
runPaint
,
194
cacheBlob, run, fontCache, props,
runPaint
, scalerContextFlags,
201
cacheBlob, run, fontCache, props,
runPaint
, scalerContextFlags,
206
} else if (SkDraw::ShouldDrawTextAsPaths(
runPaint
, viewMatrix)) {
211
GrTextUtils::DrawBmpText(cacheBlob, run, fontCache, props,
runPaint
,
217
GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props,
runPaint
,
[
all
...]
GrTextUtils.cpp
53
bool GrTextUtils::
RunPaint
::modifyForRun(const SkTextBlobRunIterator& run) {
GrAtlasTextBlob.cpp
366
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
367
if (!
runPaint
.modifyForRun(it)) {
373
GrTextUtils::DrawTextAsPath(context, rtc, clip,
runPaint
, viewMatrix,
378
GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip,
runPaint
, viewMatrix,
383
GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip,
runPaint
, viewMatrix,
GrStencilAndCoverTextContext.cpp
138
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
141
if (!
runPaint
.modifyForRun(it)) {
149
this->drawText(context, rtc, clip,
runPaint
, viewMatrix, props,
154
this->drawPosText(context, rtc, clip,
runPaint
, viewMatrix, props,
159
this->drawPosText(context, rtc, clip,
runPaint
, viewMatrix, props,
274
SkPaint
runPaint
(skPaint);
276
iter.applyFontToPaint(&
runPaint
); // No need to re-seed the paint.
277
if (
runPaint
.getTextSize() <= 0) {
280
TextRun* run = this->addToTail(
runPaint
);
[
all
...]
Completed in 165 milliseconds