Lines Matching defs:desc
117 GrTextureDesc desc;
118 desc.fFlags = kRenderTarget_GrTextureFlagBit | kCheckAllocation_GrTextureFlagBit;
119 desc.fWidth = info.width();
120 desc.fHeight = info.height();
121 desc.fConfig = SkImageInfo2GrPixelConfig(info);
122 desc.fSampleCnt = sampleCount;
124 SkAutoTUnref<GrTexture> tex(ctx->createUncachedTexture(desc, NULL, 0));
138 GrTextureDesc desc;
139 desc.fFlags = kRenderTarget_GrTextureFlagBit | kCheckAllocation_GrTextureFlagBit;
140 desc.fWidth = info.width();
141 desc.fHeight = info.height();
142 desc.fConfig = SkImageInfo2GrPixelConfig(info);
143 desc.fSampleCnt = sampleCount;
145 SkAutoTUnref<GrTexture> tex(ctx->lockAndRefScratchTexture(desc, GrContext::kExact_ScratchTexMatch));