Home
last modified time | relevance | path

Searched refs:defaultStorage (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/dawn/
DGrDawnGpu.cpp394 SkAutoMalloc defaultStorage(baseLayerSize); in onClearBackendTexture() local
396 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()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp4003 SkAutoMalloc defaultStorage(baseLayerSize); in createTestingOnlyBackendTexture() local
4006 pixels = defaultStorage.get(); in createTestingOnlyBackendTexture()
4007 memset(defaultStorage.get(), 0, baseLayerSize); in createTestingOnlyBackendTexture()
4010 char* copy = (char*)defaultStorage.get(); in createTestingOnlyBackendTexture()