Lines Matching refs:backingDesc
127 GrSurfaceDesc backingDesc; in setup_backend_objects() local
128 backingDesc.fFlags = kNone_GrSurfaceFlags; in setup_backend_objects()
129 backingDesc.fWidth = bm.width(); in setup_backend_objects()
130 backingDesc.fHeight = bm.height(); in setup_backend_objects()
132 backingDesc.fConfig = kRGBA_8888_GrPixelConfig; in setup_backend_objects()
133 backingDesc.fSampleCnt = 1; in setup_backend_objects()
165 backingTexture = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, texels.get(), in setup_backend_objects()
177 backingDesc.fFlags = kRenderTarget_GrSurfaceFlag; in setup_backend_objects()
178 backingDesc.fWidth = options.fOffScreenWidth; in setup_backend_objects()
179 backingDesc.fHeight = options.fOffScreenHeight; in setup_backend_objects()
180 backingDesc.fSampleCnt = options.fOffScreenSampleCount; in setup_backend_objects()
182 SkAutoTMalloc<uint32_t> data(backingDesc.fWidth * backingDesc.fHeight); in setup_backend_objects()
183 sk_memset32(data.get(), 0, backingDesc.fWidth * backingDesc.fHeight); in setup_backend_objects()
190 GrMipLevel level0 = { data.get(), backingDesc.fWidth*sizeof(uint32_t) }; in setup_backend_objects()
192 sk_sp<GrTexture> tmp = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, in setup_backend_objects()
208 ? SkMipMap::ComputeLevelCount(backingDesc.fWidth, backingDesc.fHeight) in setup_backend_objects()
213 texels[0].fRowBytes = backingDesc.fWidth*sizeof(uint32_t); in setup_backend_objects()
220 backingTextureRenderTarget = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, in setup_backend_objects()