Searched refs:defaultStorage (Results 1 – 2 of 2) sorted by relevance
394 SkAutoMalloc defaultStorage(baseLayerSize); in onClearBackendTexture() local396 GrClearImage(imageInfo, defaultStorage.get(), bpp * backendTexture.width(), color); in onClearBackendTexture()408 memcpy(stagingBuffer.fOffsetMapPtr, defaultStorage.get(), size); in onClearBackendTexture()410 const char* src = static_cast<const char*>(defaultStorage.get()); in onClearBackendTexture()
4003 SkAutoMalloc defaultStorage(baseLayerSize); in createTestingOnlyBackendTexture() local4006 pixels = defaultStorage.get(); in createTestingOnlyBackendTexture()4007 memset(defaultStorage.get(), 0, baseLayerSize); in createTestingOnlyBackendTexture()4010 char* copy = (char*)defaultStorage.get(); in createTestingOnlyBackendTexture()