/third_party/skia/gm/ |
D | gm.cpp | 65 static void handle_gm_failure(SkCanvas* canvas, DrawResult result, const SkString& errorMsg) { in handle_gm_failure() argument 67 draw_failure_message(canvas, "DRAW FAILED: %s", errorMsg.c_str()); in handle_gm_failure() 68 } else if (SkString(GM::kErrorMsg_DrawSkippedGpuOnly) == errorMsg) { in handle_gm_failure() 71 draw_failure_message(canvas, "DRAW SKIPPED: %s", errorMsg.c_str()); in handle_gm_failure() 82 DrawResult GM::gpuSetup(GrDirectContext* context, SkCanvas* canvas, SkString* errorMsg) { in gpuSetup() argument 88 fGpuSetupResult = this->onGpuSetup(context, errorMsg); in gpuSetup() 91 handle_gm_failure(canvas, fGpuSetupResult, *errorMsg); in gpuSetup() 105 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw() argument 108 return this->drawContent(canvas, errorMsg); in draw() 111 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent() argument [all …]
|
D | asyncrescaleandread.cpp | 123 SkString* errorMsg, in do_rescale_grid() argument 126 errorMsg->printf("YUV420 only supported on direct GPU for now."); in do_rescale_grid() 130 *errorMsg = "Not supported on recording/vector backends."; in do_rescale_grid() 149 errorMsg->printf("YUV420 async call failed. Allowed for now."); in do_rescale_grid() 157 errorMsg->printf("async read call failed."); in do_rescale_grid() 177 SkString* errorMsg) { in do_rescale_image_grid() argument 180 errorMsg->printf("Could not load image file %s.", imageFile); in do_rescale_image_grid() 184 *errorMsg = "Not supported on recording/vector backends."; in do_rescale_image_grid() 190 *errorMsg = "Not supported in DDL mode"; in do_rescale_image_grid() 203 *errorMsg = "Could not create surface for image."; in do_rescale_image_grid() [all …]
|
D | gm.h | 112 SkString errorMsg; in gpuSetup() local 113 return this->gpuSetup(context, canvas, &errorMsg); in gpuSetup() 115 DrawResult gpuSetup(GrDirectContext*, SkCanvas*, SkString* errorMsg); 126 SkString errorMsg; in draw() local 127 return this->draw(canvas, &errorMsg); in draw() 129 DrawResult draw(SkCanvas*, SkString* errorMsg); 133 SkString errorMsg; in drawContent() local 134 return this->drawContent(canvas, &errorMsg); in drawContent() 136 DrawResult drawContent(SkCanvas*, SkString* errorMsg); 171 virtual DrawResult onDraw(SkCanvas*, SkString* errorMsg); [all …]
|
D | ycbcrimage.cpp | 45 DrawResult createYCbCrImage(GrDirectContext* dContext, SkString* errorMsg) { in createYCbCrImage() argument 49 *errorMsg = "YCbCr sampling not supported."; in createYCbCrImage() 54 *errorMsg = "Failed to create I420 backend texture."; in createYCbCrImage() 65 *errorMsg = "Failed to create I420 image."; in createYCbCrImage() 72 DrawResult onGpuSetup(GrDirectContext* dContext, SkString* errorMsg) override { in onGpuSetup() argument 78 *errorMsg = "This GM requires a Vulkan context."; in onGpuSetup() 82 DrawResult result = this->createYCbCrImage(dContext, errorMsg); in onGpuSetup()
|
D | path_stroke_with_zero_length.cpp | 133 SkString* errorMsg) { in draw_zero_length_capped_paths() argument 138 *errorMsg = "Not supported in DDL mode"; in draw_zero_length_capped_paths() 194 DEF_SIMPLE_GM_BG_CAN_FAIL(zero_length_paths_aa, canvas, errorMsg, in DEF_SIMPLE_GM_BG_CAN_FAIL() argument 196 return draw_zero_length_capped_paths(canvas, true, errorMsg); in DEF_SIMPLE_GM_BG_CAN_FAIL() 199 DEF_SIMPLE_GM_BG_CAN_FAIL(zero_length_paths_bw, canvas, errorMsg, in DEF_SIMPLE_GM_BG_CAN_FAIL() argument 201 return draw_zero_length_capped_paths(canvas, false, errorMsg); in DEF_SIMPLE_GM_BG_CAN_FAIL() 205 SkString* errorMsg) { in draw_zero_length_capped_paths_dbl_contour() argument 210 *errorMsg = "Not supported in DDL mode"; in draw_zero_length_capped_paths_dbl_contour() 275 DEF_SIMPLE_GM_BG_CAN_FAIL(zero_length_paths_dbl_aa, canvas, errorMsg, in DEF_SIMPLE_GM_BG_CAN_FAIL() argument 277 return draw_zero_length_capped_paths_dbl_contour(canvas, true, errorMsg); in DEF_SIMPLE_GM_BG_CAN_FAIL() [all …]
|
D | repeated_bitmap.cpp | 22 SkString* errorMsg) { in draw_rotated_image() argument 25 *errorMsg = "No image. Did you forget to set the resourcePath?"; in draw_rotated_image() 47 DEF_SIMPLE_GM_CAN_FAIL(repeated_bitmap, canvas, errorMsg, 576, 576) { 48 return draw_rotated_image(canvas, GetResourceAsImage("images/randPixels.png").get(), errorMsg); 51 DEF_SIMPLE_GM_CAN_FAIL(repeated_bitmap_jpg, canvas, errorMsg, 576, 576) { 52 return draw_rotated_image(canvas, GetResourceAsImage("images/color_wheel.jpg").get(), errorMsg);
|
D | gpu_blur_utils.cpp | 185 static GM::DrawResult run(GrRecordingContext* rContext, SkCanvas* canvas, SkString* errorMsg, in run() argument 189 *errorMsg = "Failed to create source image"; in run() 195 *errorMsg = GM::kErrorMsg_DrawSkippedGpuOnly; in run() 353 DEF_SIMPLE_GPU_GM_CAN_FAIL(gpu_blur_utils, rContext, canvas, errorMsg, 765, 955) { 354 return run(rContext, canvas, errorMsg, false, false); 357 DEF_SIMPLE_GPU_GM_CAN_FAIL(gpu_blur_utils_ref, rContext, canvas, errorMsg, 765, 955) { 358 return run(rContext, canvas, errorMsg, false, true); 361 DEF_SIMPLE_GPU_GM_CAN_FAIL(gpu_blur_utils_subset_rect, rContext, canvas, errorMsg, 485, 730) { 362 return run(rContext, canvas, errorMsg, true, false); 365 DEF_SIMPLE_GPU_GM_CAN_FAIL(gpu_blur_utils_subset_ref, rContext, canvas, errorMsg, 485, 730) { [all …]
|
D | windowrectangles.cpp | 42 DrawResult coverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg); 46 DrawResult onDraw(SkCanvas*, SkString* errorMsg) override; 50 SkString* errorMsg) { in coverClipStack() argument 83 DrawResult WindowRectanglesGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() argument 102 return this->coverClipStack(stack, canvas, errorMsg); in onDraw()
|
D | widebuttcaps.cpp | 120 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 123 *errorMsg = "GM relies on having access to a live direct context."; in onDraw() 129 errorMsg->set("Tessellation not supported."); in onDraw() 134 errorMsg->set("TessellationPathRenderer disabled."); in onDraw() 139 errorMsg->set("modifyGrContextOptions() did not limit maxTessellationSegments. " in onDraw()
|
D | yuvtorgbsubset.cpp | 85 DrawResult onGpuSetup(GrDirectContext* context, SkString* errorMsg) override { in onGpuSetup() argument 100 *errorMsg = "Failed to create proxy"; in onGpuSetup() 107 *errorMsg = "Failed to create GrYUVATextureProxies"; in onGpuSetup() 117 SkString* errorMsg) override { in onDraw() argument 120 *errorMsg = kErrorMsg_DrawSkippedGpuOnly; in onDraw()
|
D | crosscontextimage.cpp | 23 DEF_SIMPLE_GPU_GM_CAN_FAIL(cross_context_image, rContext, canvas, errorMsg, 27 *errorMsg = "Could not load mandrill_256.png. Did you forget to set the resourcePath?"; 33 *errorMsg = "CrossContext image creation requires a direct context.";
|
D | discard.cpp | 44 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 47 *errorMsg = "GM relies on having access to a live direct context."; in onDraw() 57 *errorMsg = "Could not create render target."; in onDraw()
|
D | clear_swizzle.cpp | 22 DEF_SIMPLE_GPU_GM_CAN_FAIL(clear_swizzle, rContext, canvas, errorMsg, 6*kSize, 2*kSize) { 24 *errorMsg = GM::kErrorMsg_DrawSkippedGpuOnly; 30 *errorMsg = GM::kErrorMsg_DrawSkippedGpuOnly;
|
/third_party/flutter/skia/gm/ |
D | gm.cpp | 75 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw() argument 78 return this->drawContent(canvas, errorMsg); in draw() 81 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent() argument 88 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent() 91 draw_failure_message(canvas, "DRAW FAILED: %s", errorMsg->c_str()); in drawContent() 92 } else if (SkString(kErrorMsg_DrawSkippedGpuOnly) == *errorMsg) { in drawContent() 95 draw_failure_message(canvas, "DRAW SKIPPED: %s", errorMsg->c_str()); in drawContent() 111 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() argument 120 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() argument 121 return fDrawProc(canvas, errorMsg); in onDraw() [all …]
|
D | asyncrescaleandread.cpp | 140 SkString* errorMsg, int pad = 0) { in do_rescale_grid() argument 143 errorMsg->printf("YUV420 only supported on direct GPU for now."); in do_rescale_grid() 148 *errorMsg = "Not supported on recording/vector backends."; in do_rescale_grid() 164 errorMsg->printf("YUV420 async call failed. Allowed for now."); in do_rescale_grid() 172 errorMsg->printf("async read call failed."); in do_rescale_grid() 188 bool doYUV420, SkString* errorMsg) { in do_rescale_image_grid() argument 191 errorMsg->printf("Could not load image file %s.", imageFile); in do_rescale_image_grid() 195 *errorMsg = "Not supported on recording/vector backends."; in do_rescale_image_grid() 206 *errorMsg = "Could not create surface for image."; in do_rescale_image_grid() 216 return do_rescale_grid(canvas, surface.get(), srcRect, newW, newH, doYUV420, errorMsg); in do_rescale_image_grid() [all …]
|
D | repeated_bitmap.cpp | 22 SkString* errorMsg) { in draw_rotated_image() argument 25 *errorMsg = "No image. Did you forget to set the resourcePath?"; in draw_rotated_image() 47 DEF_SIMPLE_GM_CAN_FAIL(repeated_bitmap, canvas, errorMsg, 576, 576) { 48 return draw_rotated_image(canvas, GetResourceAsImage("images/randPixels.png").get(), errorMsg); 51 DEF_SIMPLE_GM_CAN_FAIL(repeated_bitmap_jpg, canvas, errorMsg, 576, 576) { 52 return draw_rotated_image(canvas, GetResourceAsImage("images/color_wheel.jpg").get(), errorMsg);
|
D | gm.h | 113 SkString errorMsg; in draw() local 114 return this->draw(canvas, &errorMsg); in draw() 116 DrawResult draw(SkCanvas*, SkString* errorMsg); 120 SkString errorMsg; in drawContent() local 121 return this->drawContent(canvas, &errorMsg); in drawContent() 123 DrawResult drawContent(SkCanvas*, SkString* errorMsg); 158 virtual DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg); 187 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final; 190 SkString* errorMsg); 205 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override; [all …]
|
D | windowrectangles.cpp | 58 virtual DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) = 0; 62 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final; 65 DrawResult WindowRectanglesBaseGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() argument 85 return this->onCoverClipStack(stack, canvas, errorMsg); in onDraw() 96 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final; 100 SkString* errorMsg) { in onCoverClipStack() argument 151 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final; 201 SkString* errorMsg) { in onCoverClipStack() argument 205 *errorMsg = kErrorMsg_DrawSkippedGpuOnly; in onCoverClipStack() 209 *errorMsg = "Requires at least 8 window rectangles. " in onCoverClipStack()
|
D | preservefillrule.cpp | 25 errorMsg->printf("preservefillrule.cpp(%i): assert(%s)", \ 62 SkString* errorMsg) override { in onDraw() argument 66 errorMsg->set("ccpr is currently only used for coverage AA"); in onDraw() 72 errorMsg->set("ccpr only"); in onDraw() 78 errorMsg->set("ccpr is not in caching mode. " in onDraw()
|
D | samplelocations.cpp | 89 DrawResult onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString* errorMsg) override; 254 GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, SkString* errorMsg) { in onDraw() argument 256 *errorMsg = "Requires support for sample locations."; in onDraw() 260 *errorMsg = "Requires support for sample variables."; in onDraw() 264 *errorMsg = "MSAA and mixed samples only."; in onDraw() 272 *errorMsg = "Failed to create offscreen render target."; in onDraw() 277 *errorMsg = "MSAA and mixed samples only."; in onDraw()
|
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | UnmanagedLibrary.cs | 133 private static IntPtr PlatformSpecificLoadLibrary(string libraryPath, out string errorMsg) in PlatformSpecificLoadLibrary() argument 138 errorMsg = null; in PlatformSpecificLoadLibrary() 145 return LoadLibraryPosix(Mono.dlopen, Mono.dlerror, libraryPath, out errorMsg); in PlatformSpecificLoadLibrary() 149 … return LoadLibraryPosix(CoreCLR.dlopen, CoreCLR.dlerror, libraryPath, out errorMsg); in PlatformSpecificLoadLibrary() 151 return LoadLibraryPosix(Linux.dlopen, Linux.dlerror, libraryPath, out errorMsg); in PlatformSpecificLoadLibrary() 155 return LoadLibraryPosix(MacOSX.dlopen, MacOSX.dlerror, libraryPath, out errorMsg); in PlatformSpecificLoadLibrary() 160 …string, int, IntPtr> dlopenFunc, Func<IntPtr> dlerrorFunc, string libraryPath, out string errorMsg) in LoadLibraryPosix() argument 162 errorMsg = null; in LoadLibraryPosix() 166 errorMsg = Marshal.PtrToStringAnsi(dlerrorFunc()); in LoadLibraryPosix()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferViewCreateTests.cpp | 178 std::ostringstream errorMsg; in createTestBuffer() local 179 …errorMsg << "Requied memory size (" << memReqs.size << " bytes) smaller than the buffer's size (" … in createTestBuffer() 180 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 264 std::ostringstream errorMsg; in createTestBuffer() local 265 errorMsg << "Nonexternal objects cannot require dedicated allocation."; in createTestBuffer() 266 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 271 std::ostringstream errorMsg; in createTestBuffer() local 272 …errorMsg << "Requied memory size (" << memReqs.memoryRequirements.size << " bytes) smaller than th… in createTestBuffer() 273 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 285 std::ostringstream errorMsg; in createTestBuffer() local [all …]
|
/third_party/flutter/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 63 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 65 *errorMsg = "No animation"; in onDraw() 116 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 118 *errorMsg = "No animation"; in onDraw() 189 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 191 *errorMsg = "No animation"; in onDraw()
|
/third_party/node/test/parallel/ |
D | test-timers-uncaught-exception.js | 25 const errorMsg = 'BAM!'; constant 29 throw new Error(errorMsg); 36 assert.strictEqual(err.message, errorMsg);
|
/third_party/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 62 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 64 *errorMsg = "No animation"; in onDraw() 120 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 122 *errorMsg = "No animation"; in onDraw() 204 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() argument 206 *errorMsg = "No animation"; in onDraw()
|