Home | History | Annotate | Download | only in gl

Lines Matching refs:surfaceConfig

848 bool GrGLCaps::readPixelsSupported(GrPixelConfig surfaceConfig,
853 // If it's not possible to even have a color attachment of surfaceConfig then read pixels is
855 if (!this->canConfigBeFBOColorAttachment(surfaceConfig)) {
861 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) {
890 switch (fConfigTable[surfaceConfig].fFormatType) {
908 if (0 == fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat) {
910 const_cast<ReadPixelsFormat*>(&fConfigTable[surfaceConfig].fSecondReadPixelsFormat);
922 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat &&
923 fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fType == readType;
1197 bool GrGLCaps::getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig,
1200 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage,
1204 *internalFormat = fConfigTable[surfaceConfig].fFormats.fInternalFormatTexImage;
1208 bool GrGLCaps::getReadPixelsFormat(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig,
1210 if (!this->getExternalFormat(surfaceConfig, externalConfig, kOther_ExternalFormatUsage,
1222 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
1227 bool surfaceIsAlphaOnly = GrPixelConfigIsAlphaOnly(surfaceConfig);