Lines Matching refs:urlDataManager
258 void DrawCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
600 UrlDataManager& urlDataManager) { in encode_data() argument
602 return urlDataManager.addData(data.get(), contentType); in encode_data()
607 UrlDataManager& urlDataManager) { in flatten() argument
613 encode_data(data, buffer.bytesWritten(), "application/octet-stream", urlDataManager); in flatten()
618 JsonWriteBuffer jsonBuffer(&writer, &urlDataManager); in flatten()
638 UrlDataManager& urlDataManager) { in flatten() argument
641 if (urlDataManager.hasImageIndex()) { in flatten()
643 writer.appendU64(urlDataManager.lookupImage(&image)); in flatten()
680 SkString url = encode_data(encoded->data(), encoded->size(), "image/png", urlDataManager); in flatten()
709 UrlDataManager& urlDataManager) { in flatten() argument
714 bool success = flatten(*image, writer, urlDataManager); in flatten()
815 UrlDataManager& urlDataManager) { in apply_paint_maskfilter() argument
840 DrawCommand::flatten(maskFilter, writer, urlDataManager); in apply_paint_maskfilter()
848 UrlDataManager& urlDataManager) { in apply_paint_patheffect() argument
867 DrawCommand::flatten(pathEffect, writer, urlDataManager); in apply_paint_patheffect()
875 UrlDataManager& urlDataManager) { in apply_font_typeface() argument
884 data, buffer.bytesWritten(), "application/octet-stream", urlDataManager); in apply_font_typeface()
894 UrlDataManager& urlDataManager) { in apply_flattenable() argument
897 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
904 UrlDataManager& urlDataManager) { in MakeJsonPaint() argument
919 apply_paint_patheffect(paint, writer, urlDataManager); in MakeJsonPaint()
920 apply_paint_maskfilter(paint, writer, urlDataManager); in MakeJsonPaint()
921 apply_flattenable(DEBUGCANVAS_ATTRIBUTE_SHADER, paint.getShader(), writer, urlDataManager); in MakeJsonPaint()
923 DEBUGCANVAS_ATTRIBUTE_IMAGEFILTER, paint.getImageFilter(), writer, urlDataManager); in MakeJsonPaint()
925 DEBUGCANVAS_ATTRIBUTE_COLORFILTER, paint.getColorFilter(), writer, urlDataManager); in MakeJsonPaint()
929 static void MakeJsonFont(const SkFont& font, SkJSONWriter& writer, UrlDataManager& urlDataManager) { in MakeJsonFont() argument
942 apply_font_typeface(font, writer, urlDataManager); in MakeJsonFont()
983 void ClearCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
984 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1003 void ClipPathCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1004 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1019 void ClipRegionCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1020 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1035 void ClipRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1036 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1060 void ClipRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1061 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1083 void ClipShaderCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1084 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1085 apply_flattenable(DEBUGCANVAS_ATTRIBUTE_SHADER, fShader.get(), writer, urlDataManager); in toJSON()
1120 void ConcatCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1121 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1133 void Concat44Command::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1134 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1150 void DrawAnnotationCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1151 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1201 void DrawImageCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1202 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1203 flatten(*fImage, writer, urlDataManager); in toJSON()
1208 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1260 void DrawImageLatticeCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1261 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1262 flatten(*fImage, writer, urlDataManager); in toJSON()
1269 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1308 void DrawImageRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1309 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1310 flatten(*fImage, writer, urlDataManager); in toJSON()
1317 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1360 void DrawImageRectLayerCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1361 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1376 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1410 void DrawOvalCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1411 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1415 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1451 void DrawArcCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1452 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1459 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1474 void DrawPaintCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1475 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1477 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1494 void DrawBehindCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1495 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1497 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1513 void DrawPathCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1514 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1518 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1534 void DrawRegionCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1535 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1539 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1622 void DrawPointsCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1623 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1631 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1662 void DrawTextBlobCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1663 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1693 MakeJsonFont(iter.font(), writer, urlDataManager); in toJSON()
1707 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1741 void DrawPatchCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1742 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1773 void DrawRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1774 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1778 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1797 void DrawRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1798 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1802 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1823 void DrawDRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1824 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1830 MakeJsonPaint(writer, fPaint, urlDataManager); in toJSON()
1848 void DrawShadowCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
1849 INHERITED::toJSON(writer, urlDataManager); in toJSON()
2010 void SaveLayerCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
2011 INHERITED::toJSON(writer, urlDataManager); in toJSON()
2018 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
2022 flatten(fBackdrop.get(), writer, urlDataManager); in toJSON()
2037 void SetMatrixCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
2038 INHERITED::toJSON(writer, urlDataManager); in toJSON()
2050 void SetM44Command::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
2051 INHERITED::toJSON(writer, urlDataManager); in toJSON()