Searched refs:keyStorage (Results 1 – 4 of 4) sorted by relevance
326 static inline void gr_init_static_unique_key_once(SkAlignedSTStorage<1, GrUniqueKey>* keyStorage) { in gr_init_static_unique_key_once() argument327 GrUniqueKey* key = new (keyStorage->get()) GrUniqueKey; in gr_init_static_unique_key_once()
328 static inline void gr_init_static_unique_key_once(SkAlignedSTStorage<1, GrUniqueKey>* keyStorage) { in gr_init_static_unique_key_once() argument329 GrUniqueKey* key = new (keyStorage->get()) GrUniqueKey; in gr_init_static_unique_key_once()
393 SkAutoSTArray<32 * 4, uint8_t> keyStorage; in draw_shadow() local396 keyStorage.reset(keyDataBytes + sizeof(SkResourceCache::Key)); in draw_shadow()397 key = new (keyStorage.begin()) SkResourceCache::Key(); in draw_shadow()398 path.writeKey((uint32_t*)(keyStorage.begin() + sizeof(*key))); in draw_shadow()
452 SkAutoSTArray<32 * 4, uint8_t> keyStorage; in draw_shadow() local455 keyStorage.reset(keyDataBytes + sizeof(SkResourceCache::Key)); in draw_shadow()456 key = new (keyStorage.begin()) SkResourceCache::Key(); in draw_shadow()457 path.writeKey((uint32_t*)(keyStorage.begin() + sizeof(*key))); in draw_shadow()