Home | History | Annotate | Download | only in src

Lines Matching refs:format

54 GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) {
57 fTexture = mgr->getTexture(format); // we're not an owner, just a pointer
63 fMaskFormat = format;
145 static GrPixelConfig maskformat2pixelconfig(GrMaskFormat format) {
146 switch (format) {
159 GrMaskFormat format,
161 GrAssert(NULL == atlas || atlas->getMaskFormat() == format);
177 if (NULL == fTexture[format]) {
183 maskformat2pixelconfig(format)
185 fTexture[format] = fGpu->createTexture(desc, NULL, 0);
186 if (NULL == fTexture[format]) {
191 GrAtlas* newAtlas = new GrAtlas(this, plot.fX, plot.fY, format);