Home | History | Annotate | Download | only in gpu

Lines Matching refs:desc

59     GrTextureDesc desc;
66 desc.fWidth = subset->width();
67 desc.fHeight = subset->height();
71 desc.fWidth = texture->width();
72 desc.fHeight = texture->height();
75 desc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit;
76 desc.fConfig = SkBitmapConfig2GrPixelConfig(dstConfig);
79 if (!GrPixelConfig2ColorType(desc.fConfig, &info.fColorType)) {
82 info.fWidth = desc.fWidth;
83 info.fHeight = desc.fHeight;
86 GrTexture* dst = context->createUncachedTexture(desc, NULL, 0);