Lines Matching refs:drawPreference
264 GrPixelConfig readConfig, DrawPreference* drawPreference,
266 SkASSERT(drawPreference);
268 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference);
275 if (!this->onGetReadPixelsInfo(srcSurface, width, height, rowBytes, readConfig, drawPreference,
284 if (kRequireDraw_DrawPreference == *drawPreference) {
287 *drawPreference = kNoDraw_DrawPreference;
293 GrPixelConfig srcConfig, DrawPreference* drawPreference,
295 SkASSERT(drawPreference);
297 SkASSERT(kGpuPrefersDraw_DrawPreference != *drawPreference);
306 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference);
309 ElevateDrawPreference(drawPreference, kRequireDraw_DrawPreference);
313 if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference,
322 if (kRequireDraw_DrawPreference == *drawPreference ||
326 *drawPreference = kNoDraw_DrawPreference;