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()
912 static SkBitmap* load_bitmap(const Json::Value& jsonBitmap, UrlDataManager& urlDataManager) { in load_bitmap() argument913 if (!jsonBitmap.isMember(SKDEBUGCANVAS_ATTRIBUTE_DATA)) { in load_bitmap()918 int size = decode_data(jsonBitmap[SKDEBUGCANVAS_ATTRIBUTE_DATA], urlDataManager, &data); in load_bitmap()929 if (jsonBitmap.isMember(SKDEBUGCANVAS_ATTRIBUTE_COLOR)) { in load_bitmap()930 const char* ctName = jsonBitmap[SKDEBUGCANVAS_ATTRIBUTE_COLOR].asCString(); in load_bitmap()