Searched refs:drawPreference (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrGpu.cpp | 264 GrPixelConfig readConfig, DrawPreference* drawPreference, in getReadPixelsInfo() argument 266 SkASSERT(drawPreference); in getReadPixelsInfo() 268 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference); in getReadPixelsInfo() 275 if (!this->onGetReadPixelsInfo(srcSurface, width, height, rowBytes, readConfig, drawPreference, in getReadPixelsInfo() 284 if (kRequireDraw_DrawPreference == *drawPreference) { in getReadPixelsInfo() 287 *drawPreference = kNoDraw_DrawPreference; in getReadPixelsInfo() 293 GrPixelConfig srcConfig, DrawPreference* drawPreference, in getWritePixelsInfo() argument 295 SkASSERT(drawPreference); in getWritePixelsInfo() 297 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference); in getWritePixelsInfo() 306 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in getWritePixelsInfo() [all …]
|
D | GrContext.cpp | 263 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference; in writeSurfacePixels() local 267 drawPreference = GrGpu::kCallerPrefersDraw_DrawPreference; in writeSurfacePixels() 271 if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference, in writeSurfacePixels() 281 if (GrGpu::kNoDraw_DrawPreference != drawPreference) { in writeSurfacePixels() 284 if (!tempTexture && GrGpu::kRequireDraw_DrawPreference == drawPreference) { in writeSurfacePixels() 300 if (GrGpu::kCallerPrefersDraw_DrawPreference == drawPreference) { in writeSurfacePixels() 401 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference; in readSurfacePixels() local 405 drawPreference = GrGpu::kCallerPrefersDraw_DrawPreference; in readSurfacePixels() 409 if (!fGpu->getReadPixelsInfo(src, width, height, rowBytes, dstConfig, &drawPreference, in readSurfacePixels() 416 if (GrGpu::kNoDraw_DrawPreference != drawPreference) { in readSurfacePixels() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 723 DrawPreference* drawPreference, in onGetWritePixelsInfo() argument 732 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo() 742 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo() 762 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo() 768 ElevateDrawPreference(drawPreference, kGpuPrefersDraw_DrawPreference); in onGetWritePixelsInfo() 776 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetWritePixelsInfo() 785 ElevateDrawPreference(drawPreference, kGpuPrefersDraw_DrawPreference); in onGetWritePixelsInfo() 2233 GrPixelConfig readConfig, DrawPreference* drawPreference, in onGetReadPixelsInfo() argument 2260 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetReadPixelsInfo() 2270 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference); in onGetReadPixelsInfo() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 240 GrPixelConfig srcConfig, DrawPreference* drawPreference, in onGetWritePixelsInfo() argument 247 if (kNoDraw_DrawPreference != *drawPreference) { in onGetWritePixelsInfo() 1085 GrPixelConfig readConfig, DrawPreference* drawPreference, in onGetReadPixelsInfo() argument 1088 if (kNoDraw_DrawPreference != *drawPreference) { in onGetReadPixelsInfo()
|