Lines Matching refs:dstSurface
721 bool GrGLGpu::onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, in onGetWritePixelsInfo() argument
725 if (kIndex_8_GrPixelConfig == srcConfig || GrPixelConfigIsCompressed(dstSurface->config())) { in onGetWritePixelsInfo()
731 if (!dstSurface->asTexture()) { in onGetWritePixelsInfo()
734 GrGLTexture* texture = static_cast<GrGLTexture*>(dstSurface->asTexture()); in onGetWritePixelsInfo()
741 if (GrPixelConfigIsSRGB(dstSurface->config()) != GrPixelConfigIsSRGB(srcConfig)) { in onGetWritePixelsInfo()
758 bool configsAreRBSwaps = GrPixelConfigSwapRAndB(srcConfig) == dstSurface->config(); in onGetWritePixelsInfo()
763 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo()
765 tempDrawInfo->fWriteConfig = dstSurface->config(); in onGetWritePixelsInfo()
769 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo()
771 tempDrawInfo->fWriteConfig = dstSurface->config(); in onGetWritePixelsInfo()
777 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo()
779 tempDrawInfo->fWriteConfig = dstSurface->config(); in onGetWritePixelsInfo()
784 kBottomLeft_GrSurfaceOrigin == dstSurface->origin()) { in onGetWritePixelsInfo()