Home | History | Annotate | Download | only in gpu

Lines Matching refs:format

47 GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) {
50 fTexture = mgr->getTexture(format); // we're not an owner, just a pointer
56 fMaskFormat = format;
145 static GrPixelConfig maskformat2pixelconfig(GrMaskFormat format) {
146 switch (format) {
161 GrMaskFormat format,
163 GrAssert(NULL == atlas || atlas->getMaskFormat() == format);
179 if (NULL == fTexture[format]) {
185 desc.fConfig = maskformat2pixelconfig(format);
187 fTexture[format] = fGpu->createTexture(desc, NULL, 0);
188 if (NULL == fTexture[format]) {
193 GrAtlas* newAtlas = SkNEW_ARGS(GrAtlas, (this, plot.fX, plot.fY, format));