Searched refs:jsonBitmap (Results 1 – 2 of 2) sorted by relevance
138 Json::Value jsonBitmap; in writeBitmap() local139 SkDrawCommand::flatten(bitmap, &jsonBitmap, *fUrlDataManager); in writeBitmap()140 this->append("bitmap", jsonBitmap); in writeBitmap()
850 static SkBitmap* load_bitmap(const Json::Value& jsonBitmap, UrlDataManager& urlDataManager) { in load_bitmap() argument851 if (!jsonBitmap.isMember(SKDEBUGCANVAS_ATTRIBUTE_DATA)) { in load_bitmap()856 int size = decode_data(jsonBitmap[SKDEBUGCANVAS_ATTRIBUTE_DATA], urlDataManager, &data); in load_bitmap()867 if (jsonBitmap.isMember(SKDEBUGCANVAS_ATTRIBUTE_COLOR)) { in load_bitmap()868 const char* ctName = jsonBitmap[SKDEBUGCANVAS_ATTRIBUTE_COLOR].asCString(); in load_bitmap()