Home
last modified time | relevance | path

Searched refs:drawPreference (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrGpu.cpp267 GrPixelConfig readConfig, DrawPreference* drawPreference, in getReadPixelsInfo() argument
269 SkASSERT(drawPreference); in getReadPixelsInfo()
272 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference); in getReadPixelsInfo()
280 if (!this->onGetReadPixelsInfo(srcSurface, width, height, rowBytes, readConfig, drawPreference, in getReadPixelsInfo()
289 if (kRequireDraw_DrawPreference == *drawPreference) { in getReadPixelsInfo()
292 *drawPreference = kNoDraw_DrawPreference; in getReadPixelsInfo()
298 GrPixelConfig srcConfig, DrawPreference* drawPreference, in getWritePixelsInfo() argument
300 SkASSERT(drawPreference); in getWritePixelsInfo()
303 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference); in getWritePixelsInfo()
305 if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference, in getWritePixelsInfo()
[all …]
DGrOpFlushState.cpp57 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference; in doUpload() local
59 fGpu->getWritePixelsInfo(surface, width, height, surface->config(), &drawPreference, in doUpload()
61 if (GrGpu::kNoDraw_DrawPreference == drawPreference) { in doUpload()
DGrContext.cpp363 GrGpu::DrawPreference drawPreference = premulOnGpu ? GrGpu::kCallerPrefersDraw_DrawPreference in writeSurfacePixels() local
367 &drawPreference, &tempDrawInfo)) { in writeSurfacePixels()
376 if (GrGpu::kNoDraw_DrawPreference != drawPreference) { in writeSurfacePixels()
381 if (!tempProxy && GrGpu::kRequireDraw_DrawPreference == drawPreference) { in writeSurfacePixels()
493 GrGpu::DrawPreference drawPreference = unpremulOnGpu ? GrGpu::kCallerPrefersDraw_DrawPreference in readSurfacePixels() local
497 &drawPreference, &tempDrawInfo)) { in readSurfacePixels()
507 if (GrGpu::kNoDraw_DrawPreference != drawPreference) { in readSurfacePixels()
565 if (GrGpu::kRequireDraw_DrawPreference == drawPreference && !didTempDraw) { in readSurfacePixels()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp672 DrawPreference* drawPreference, in onGetWritePixelsInfo() argument
676 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
690 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
695 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
700 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
704 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
724 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
730 ElevateDrawPreference(drawPreference, kGpuPrefersDraw_DrawPreference); in onGetWritePixelsInfo()
738 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
747 ElevateDrawPreference(drawPreference, kGpuPrefersDraw_DrawPreference); in onGetWritePixelsInfo()
[all …]
/external/skia/src/gpu/vk/
DGrVkGpu.cpp333 GrPixelConfig srcConfig, DrawPreference* drawPreference, in onGetWritePixelsInfo() argument
353 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
357 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
363 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo()
1756 GrPixelConfig readConfig, DrawPreference* drawPreference, in onGetReadPixelsInfo() argument
1781 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetReadPixelsInfo()