Lines Matching defs:errorMsg
123 SkString* errorMsg,
126 errorMsg->printf("YUV420 only supported on direct GPU for now.");
130 *errorMsg = "Not supported on recording/vector backends.";
149 errorMsg->printf("YUV420 async call failed. Allowed for now.");
157 errorMsg->printf("async read call failed.");
177 SkString* errorMsg) {
180 errorMsg->printf("Could not load image file %s.", imageFile);
184 *errorMsg = "Not supported on recording/vector backends.";
190 *errorMsg = "Not supported in DDL mode";
203 *errorMsg = "Could not create surface for image.";
214 doYUV420, errorMsg);
218 *errorMsg = "Could not create image.";
227 errorMsg);
231 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_##TAG, canvas, errorMsg, 3 * W, 2 * H) { \
234 errorMsg); \
238 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_yuv420_##TAG, canvas, errorMsg, 3 * W, 2 * H) { \
240 return do_rescale_image_grid(canvas, #IMAGE_FILE, SRC_RECT, {W, H}, true, true, errorMsg); \
244 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_##TAG, canvas, errorMsg, 3 * W, 2 * H) { \
247 errorMsg); \
251 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_yuv420_##TAG, canvas, errorMsg, 3 * W, 2 * H) { \
253 return do_rescale_image_grid(canvas, #IMAGE_FILE, SRC_RECT, {W, H}, true, true, errorMsg); \
280 DEF_SIMPLE_GM_CAN_FAIL(async_yuv_no_scale, canvas, errorMsg, 400, 300) {
283 *errorMsg = "Not supported on recording/vector backends.";
289 *errorMsg = "Not supported in DDL mode";
311 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_no_bleed, canvas, errorMsg, 60, 60) {
313 *errorMsg = "Not supported on recording/vector backends.";
319 *errorMsg = "Not supported in DDL mode";
331 *errorMsg = "Could not create surface for image.";
347 result = do_rescale_grid(canvas, surface.get(), dContext, srcRect, downSize, false, errorMsg,
355 result = do_rescale_grid(canvas, surface.get(), dContext, srcRect, upSize, false, errorMsg,
363 DEF_SIMPLE_GM_CAN_FAIL(async_rescale_and_read_alpha_type, canvas, errorMsg, 512, 512) {
366 *errorMsg = "Not supported in DDL mode";
406 *errorMsg = "could not make texture images";
446 *errorMsg = "async readback failed";