Lines Matching refs:rtDesc
292 GrTextureDesc rtDesc = desc;
293 rtDesc.fFlags = rtDesc.fFlags |
296 rtDesc.fWidth = GrNextPow2(GrMax(desc.fWidth, 64));
297 rtDesc.fHeight = GrNextPow2(GrMax(desc.fHeight, 64));
299 GrTexture* texture = fGpu->createTexture(rtDesc, NULL, 0);
328 rtDesc.fFlags = kNone_GrTextureFlags;
330 rtDesc.fWidth = GrNextPow2(desc.fWidth);
331 rtDesc.fHeight = GrNextPow2(desc.fHeight);
333 SkAutoSMalloc<128*128*4> stretchedPixels(bpp * rtDesc.fWidth * rtDesc.fHeight);
334 stretchImage(stretchedPixels.get(), rtDesc.fWidth, rtDesc.fHeight,
337 size_t stretchedRowBytes = rtDesc.fWidth * bpp;
339 SkDEBUGCODE(GrTexture* texture = )fGpu->createTexture(rtDesc, stretchedPixels.get(), stretchedRowBytes);