Searched refs:dstAsConfig (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2355 auto dstAsConfig = GrColorTypeToPixelConfig(dstColorType, GrSRGBEncoded::kNo); in onReadPixels() local 2357 if (!this->readPixelsSupported(surface, dstAsConfig)) { in onReadPixels() 2363 if (!this->glCaps().getReadPixelsFormat(surface->config(), dstAsConfig, &externalFormat, in onReadPixels() 2396 int bytesPerPixel = GrBytesPerPixel(dstAsConfig); in onReadPixels() 2414 GL_CALL(PixelStorei(GR_GL_PACK_ALIGNMENT, config_alignment(dstAsConfig))); in onReadPixels()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 2324 auto dstAsConfig = GrColorTypeToPixelConfig(dstColorType, GrSRGBEncoded::kNo); in onReadPixels() local 2326 if (!this->readPixelsSupported(surface, dstAsConfig)) { in onReadPixels() 2332 if (!this->glCaps().getReadPixelsFormat(surface->config(), dstAsConfig, &externalFormat, in onReadPixels() 2365 int bytesPerPixel = GrBytesPerPixel(dstAsConfig); in onReadPixels() 2383 GL_CALL(PixelStorei(GR_GL_PACK_ALIGNMENT, config_alignment(dstAsConfig))); in onReadPixels()
|