Lines Matching defs:inDesc
456 GrTexture* GrContext::lockAndRefScratchTexture(const GrTextureDesc& inDesc, ScratchTexMatch match) {
458 SkASSERT((inDesc.fFlags & kRenderTarget_GrTextureFlagBit) ||
459 !(inDesc.fFlags & kNoStencil_GrTextureFlagBit));
462 SkASSERT(this->isConfigRenderable(kAlpha_8_GrPixelConfig, inDesc.fSampleCnt > 0) ||
463 !(inDesc.fFlags & kRenderTarget_GrTextureFlagBit) ||
464 (inDesc.fConfig != kAlpha_8_GrPixelConfig));
467 !(inDesc.fFlags & kRenderTarget_GrTextureFlagBit)) {
469 return create_scratch_texture(fGpu, fResourceCache, inDesc);
472 GrTextureDesc desc = inDesc;
510 desc.fFlags = inDesc.fFlags;