/third_party/skia/tests/ |
H A D | AnimatedImageTest.cpp | 40 ERRORF(r, "Could not get %s", file); in DEF_TEST() 66 ERRORF(r, "Could not get %s", file); in DEF_TEST() 73 ERRORF(r, "Failed to create animated image from %s", file); in DEF_TEST() 79 ERRORF(r, "Mismatched bounds for %", file); in DEF_TEST() 94 ERRORF(r, "Could not get %s", file); in DEF_TEST() 132 ERRORF(r, "Could not create codec for %s", file); in DEF_TEST() 154 ERRORF(r, "Could not get %s", file); in DEF_TEST() 160 ERRORF(r, "Could not create codec for %s", file); in DEF_TEST() 170 ERRORF(r, "Failed to create animated image for %s", file); in DEF_TEST() 184 ERRORF( in DEF_TEST() [all...] |
H A D | VkYcbcrSamplerTest.cpp | 33 ERRORF(reporter, "VkTestHelper initialization failed."); in DEF_GPUTEST() 43 ERRORF(reporter, "Failed to create I420 backend texture"); in DEF_GPUTEST() 54 ERRORF(reporter, "Failed to create I420 image"); in DEF_GPUTEST() 62 ERRORF(reporter, "Failed to create target SkSurface"); in DEF_GPUTEST() 72 ERRORF(reporter, "Readback failed"); in DEF_GPUTEST() 102 ERRORF(reporter, "R should be %d, but is %d at (%d, %d)", expectedR, r, x, y); in DEF_GPUTEST() 107 ERRORF(reporter, "G should be %d, but is %d at (%d, %d)", expectedG, g, x, y); in DEF_GPUTEST() 112 ERRORF(reporter, "B should be %d, but is %d at (%d, %d)", expectedB, b, x, y); in DEF_GPUTEST() 122 ERRORF(reporter, "VkTestHelper initialization failed."); in DEF_GPUTEST() 135 ERRORF(reporte in DEF_GPUTEST() [all...] |
H A D | CodecPartialTest.cpp | 48 ERRORF(r, "Bitmaps have different image infos!"); in compare_bitmaps() 54 ERRORF(r, "Bitmaps have different pixels, starting on line %i!", i); in compare_bitmaps() 66 ERRORF(r, "Failed to decode %s\n", name); in test_partial() 77 ERRORF(r, "Failed to create codec for %s with %zu bytes", name, minBytes); in test_partial() 94 ERRORF(r, "Failed to start incremental decode\n"); in test_partial() 114 ERRORF(r, "Failed to completely decode %s", name); in test_partial() 161 ERRORF(r, "missing %s", path); in DEF_TEST() 183 ERRORF(r, "Failed to create codec from %s", path); in DEF_TEST() 189 ERRORF(r, "Test is uninteresting with 0 or 1 frames"); in DEF_TEST() 197 ERRORF( in DEF_TEST() [all...] |
H A D | AndroidCodecTest.cpp | 61 ERRORF(r, "Could not get %s", file); in DEF_TEST() 67 ERRORF(r, "Could not create codec for %s", file); in DEF_TEST() 95 ERRORF(r, "File %s's computed sample size (%i) is bigger than" in DEF_TEST() 127 ERRORF(r, "File '%s'->getSampledDimensions(%i) yields computed" in DEF_TEST() 146 ERRORF(r, "Missing file %s", path); in DEF_TEST() 152 ERRORF(r, "Failed to create codec from %s", path); in DEF_TEST() 159 ERRORF(r, "%s should have a color space", path); in DEF_TEST() 175 ERRORF(r, "Missing file %s", path); in DEF_TEST() 181 ERRORF(r, "Failed to create codec from %s", path); in DEF_TEST() 188 ERRORF( in DEF_TEST() [all...] |
H A D | VkHardwareBufferTest.cpp | 168 ERRORF(reporter, "Failed to get the eglGetNativeClientBufferAndroid proc"); in init() 174 ERRORF(reporter, "Failed to get the proc eglCreateImageKHR"); in init() 181 ERRORF(reporter, "Failed to get the proc EGLImageTargetTexture2DOES"); in init() 187 ERRORF(reporter, "Failed to get the proc eglCreateSyncKHR"); in init() 193 ERRORF(reporter, "Failed to get the proc eglWaitSyncKHR"); in init() 199 ERRORF(reporter, "Failed to get the proc eglGetSyncAttribKHR"); in init() 206 ERRORF(reporter, "Failed to get the proc eglDupNativeFenceFDANDROID"); in init() 212 ERRORF(reporter, "Failed to get the proc eglDestroySyncKHR"); in init() 237 ERRORF(reporter, "Failed to create GL Texture"); in importHardwareBuffer() 242 ERRORF(reporte in importHardwareBuffer() [all...] |
H A D | VkPriorityExtensionTest.cpp | 74 ERRORF(reporter, "failed ot enumerate instance version. Err: %d", err); in DEF_GPUTEST() 118 ERRORF(reporter, "Failed to create VkInstance"); in DEF_GPUTEST() 134 ERRORF(reporter, "vkEnumeratePhysicalDevices failed: %d", err); in DEF_GPUTEST() 139 ERRORF(reporter, "vkEnumeratePhysicalDevices returned no supported devices."); in DEF_GPUTEST() 149 ERRORF(reporter, "vkEnumeratePhysicalDevices failed: %d", err); in DEF_GPUTEST() 158 ERRORF(reporter, "vkGetPhysicalDeviceQueueFamilyProperties returned no queues."); in DEF_GPUTEST() 178 ERRORF(reporter, "Could not find any supported graphics queues."); in DEF_GPUTEST() 197 ERRORF(reporter, "Could not enumerate device extension properties."); in DEF_GPUTEST() 205 ERRORF(reporter, "Could not enumerate device extension properties."); in DEF_GPUTEST() 269 ERRORF(reporte in DEF_GPUTEST() [all...] |
H A D | FlattenableNameToFactory.cpp | 13 ERRORF(r, "SkFlattenable::NameToFactory() fails with SkImageShader."); in DEF_TEST() 16 ERRORF(r, "SkFlattenable::NameToFactory() succeeds with AAA-non-existent."); in DEF_TEST() 19 ERRORF(r, "SkFlattenable::NameToFactory() succeeds with SkNonExistent"); in DEF_TEST() 22 ERRORF(r, "SkFlattenable::NameToFactory() succeeds with ZZZ-non-existent."); in DEF_TEST()
|
H A D | PDFDeflateWStreamTest.cpp | 50 ERRORF(reporter, "Zlib: inflateInit failed"); in stream_inflate() 91 ERRORF(reporter, "write failed"); in stream_inflate() 101 ERRORF(reporter, "Zlib: inflateEnd failed"); in stream_inflate() 125 ERRORF(r, "something went wrong."); in DEF_TEST() 136 ERRORF(r, "Decompression failed."); in DEF_TEST() 140 ERRORF(r, "Decompression failed to get right size [%d]. %u != %u", in DEF_TEST() 159 ERRORF(r, "Decompression failed at byte %u.", (unsigned)i); in DEF_TEST()
|
H A D | SkSLES2ConformanceTest.cpp | 42 ERRORF(r, "%s: Unable to load file", SkOSPath::Basename(testFile).c_str()); in test_expect_fail() 49 ERRORF(r, "%s: Expected failure, but compiled successfully", in test_expect_fail() 59 ERRORF(r, "%s: Unable to load file", testFile); in test_expect_pass() 66 ERRORF(r, "%s: %s", testFile, result.errorText.c_str()); in test_expect_pass() 73 ERRORF(r, "%s: Unable to build shader", testFile); in test_expect_pass() 88 ERRORF(r, "%s: Expected solid green. Actual:\n" in test_expect_pass()
|
H A D | EGLImageTest.cpp | 91 ERRORF(reporter, "Error creating texture for EGL Image"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 98 ERRORF(reporter, "Failed to get GrGLTextureInfo"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 103 ERRORF(reporter, "Expected backend texture to be 2D"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 111 ERRORF(reporter, "Error creating EGL Image from texture"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 146 ERRORF(reporter, "Error converting EGL Image back to texture"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 161 ERRORF(reporter, "Error wrapping external texture in GrTextureProxy."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 171 ERRORF(reporter, "Error wrapping external texture in SurfaceContext."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 193 ERRORF(reporter, "Should not be able to wrap an EXTERNAL texture as a RT."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | ClearTest.cpp | 113 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 124 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 135 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 146 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 157 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 168 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 175 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 186 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 199 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test() 206 ERRORF(reporte in clear_op_test() [all...] |
H A D | CodecAnimTest.cpp | 251 //ERRORF(r, "Missing resources? Could not find '%s'", rec.fName); in DEF_TEST() 257 ERRORF(r, "Failed to create an SkCodec from '%s'", rec.fName); in DEF_TEST() 268 ERRORF(r, "%s repetition count does not match! expected: %i\tactual: %i", in DEF_TEST() 274 ERRORF(r, "'%s' has wrong number entries in fRequiredFrames; expected: %i\tactual: %zu", in DEF_TEST() 281 ERRORF(r, "'%s' has wrong number entries in fDurations; expected: %i\tactual: %zu", in DEF_TEST() 287 ERRORF(r, "'%s' has wrong number entries in fAlphas; expected: %i\tactual: %zu", in DEF_TEST() 293 ERRORF(r, "'%s' has wrong number entries in fDisposalMethods; " in DEF_TEST() 323 ERRORF(r, "'%s' expected frame count: %i\tactual: %i", in DEF_TEST() 346 ERRORF(r, "%s frame %i's durations do not match! expected: %i\tactual: %i", in DEF_TEST() 365 ERRORF( in DEF_TEST() [all...] |
H A D | StreamTest.cpp | 61 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str()); in test_filestreams() 170 ERRORF(reporter, "[%zu] sizes:%zx could not be read\n", i, sizes[i]); in TestPackedUInt() 173 ERRORF(reporter, "[%zu] sizes:%zx != n:%zx\n", i, sizes[i], n); in TestPackedUInt() 307 ERRORF(reporter, "no tmp dir!"); in DEF_TEST() 316 ERRORF(reporter, "resource missing: %s\n", filename); in DEF_TEST() 320 ERRORF(reporter, "error wrtiting to file %s", path.c_str()); in DEF_TEST() 348 ERRORF(rep, "Unexpected length."); in stream_peek_test() 362 ERRORF(rep, "Peek Failed!"); in stream_peek_test() 366 ERRORF(rep, "Peek returned wrong bytes!"); in stream_peek_test() 372 ERRORF(re in stream_peek_test() [all...] |
H A D | WebpTest.cpp | 18 ERRORF(r, "Failed to open/decode %s", path); in DEF_TEST() 36 ERRORF(r, "Failed to decode %s frame %i (premul) - error %s", path, i, in DEF_TEST() 43 ERRORF(r, "Failed to getFrameInfo for %s frame %i", path, i); in DEF_TEST() 52 ERRORF(r, "Failed to decode %s frame %i (change) - error %s", path, i, in DEF_TEST()
|
H A D | GifTest.cpp | 250 ERRORF(r, "Invalid gInterlacedGIF data"); in DEF_TEST() 370 ERRORF(r, "Invalid data gave non-nullptr codec"); in DEF_TEST() 376 ERRORF(r, "Failed to create codec with partial data (truncated at %d)", i); in DEF_TEST() 443 ERRORF(r, "Missing image"); in DEF_TEST() 452 ERRORF(r, "Failed to allocate pixels"); in DEF_TEST() 465 ERRORF(r, "did not initialize pixels! %i, %i is %x", i, j, actual); in DEF_TEST() 479 ERRORF(r, "failed to find %s", path); in DEF_TEST() 485 ERRORF(r, "Could not create codec from %s", path); in DEF_TEST() 523 ERRORF(r, "failed to find %s", path); in DEF_TEST() 529 ERRORF( in DEF_TEST() [all...] |
H A D | CopySurfaceTest.cpp | 91 ERRORF(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 101 ERRORF(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 153 ERRORF(reporter, "Expected return value %d from copySurface, " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 165 ERRORF(reporter, "Error calling readPixels"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 180 ERRORF(reporter, "Expected dst %d,%d to contain " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 189 ERRORF(reporter, "Expected dst %d,%d to be " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | CodecTest.cpp | 163 ERRORF(r, "failed to start incremental decode!\ttop: %i\tbottom%i\n", in test_in_stripes() 168 ERRORF(r, "failed incremental decode starting from line %i\n", y); in test_in_stripes() 214 ERRORF(r, "Decoding %s to 565 failed with result \"%s\"\n\t\t\t\texpected:\"%s\"", in test_codec() 430 ERRORF(r, "Unable to decode '%s'", path); in check_android_codec() 500 ERRORF(r, "Unable to decode '%s'", path); in check() 635 ERRORF(r, "Unable to create codec '%s'", path); in test_dimensions() 657 ERRORF(r, "Failed to decode %s with sample size %i; error: %s", path, sampleSize, in test_dimensions() 698 ERRORF(r, "Failed to get resource %s", path); in test_invalid() 773 ERRORF(r, "failed writing png"); in DEF_TEST() 831 ERRORF(fReporte in DEF_TEST() [all...] |
H A D | PDFDocumentTest.cpp | 48 ERRORF(reporter, "missing tmpDir."); in test_abortWithFile() 54 ERRORF(reporter, "unable to write to: %s", path.c_str()); in test_abortWithFile() 80 ERRORF(reporter, "missing tmpDir."); in test_file() 86 ERRORF(reporter, "unable to write to: %s", path.c_str()); in test_file() 177 ERRORF(r, "PDFA expectation missing: '%s'.", expectation); in DEF_TEST() 193 ERRORF(r, "PDFA expectation missing: '%s'.", expectation); in DEF_TEST() 220 ERRORF(r, "PDF expectation missing: '%s'.", expectation); in DEF_TEST()
|
H A D | TransferPixelsTest.cpp | 133 ERRORF(reporter, "Could not create texture"); in basic_transfer_to_test() 175 ERRORF(reporter, "Could not map buffer"); in basic_transfer_to_test() 200 ERRORF(reporter, "Could not read pixels from texture, color type: %d", in basic_transfer_to_test() 207 ERRORF(reporter, in basic_transfer_to_test() 265 ERRORF(reporter, "Could not transfer pixels to texture, color type: %d", in basic_transfer_to_test() 272 ERRORF(reporter, "Could not read pixels from texture, color type: %d", in basic_transfer_to_test() 376 ERRORF(reporter, "transferPixelsFrom failed."); in basic_transfer_from_test() 389 ERRORF(reporter, "Failed to map transfer buffer."); in basic_transfer_from_test() 402 ERRORF(reporter, in basic_transfer_from_test() 423 ERRORF(reporte in basic_transfer_from_test() [all...] |
H A D | GrAHardwareBufferTest.cpp | 83 ERRORF(reporter, "Expected readback pixel (%d, %d) value 0x%08x, got 0x%08x.", in check_read() 136 ERRORF(reporter, "Failed to allocated hardware buffer, error: %d", error); in basic_draw_test_helper() 147 ERRORF(reporter, "Failed to lock hardware buffer"); in basic_draw_test_helper() 248 ERRORF(reporter, "Failed to allocated hardware buffer, error: %d", error); in surface_draw_test_helper() 256 ERRORF(reporter, "Failed to make SkSurface."); in surface_draw_test_helper()
|
H A D | ImageTest.cpp | 171 ERRORF(reporter, "failed to decode image!"); in test_encode() 402 ERRORF(reporter, "Error creating image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 419 ERRORF(reporter, "makeTextureImage failed."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 424 ERRORF(reporter, "makeTextureImage returned non-texture image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 444 ERRORF(reporter, "makeTextureImage made unnecessary texture copy."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 453 ERRORF(reporter, "makeTextureImage changed the image size."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 456 ERRORF(reporter, "makeTextureImage changed image alpha type."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 484 ERRORF(reporter, "makeNonTextureImage failed for texture-backed image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 526 ERRORF(reporter, "Failed to make unpremul texture image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 534 ERRORF(reporte in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all...] |
H A D | BRDTest.cpp | 44 if (!brd) ERRORF(r, "Failed to create BRD from %s", rec.name); in DEF_TEST() 46 if (brd) ERRORF(r, "Should *not* create BRD from %s", rec.name); in DEF_TEST()
|
H A D | GrMipMappedTest.cpp | 63 ERRORF(reporter, "Could not make texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 205 ERRORF(reporter, "Failed to get GrGLTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 221 ERRORF(reporter, "Failed to get GrVkImageInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 237 ERRORF(reporter, "Failed to get GrMtlTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 255 ERRORF(reporter, "Failed to get GrMtlTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 273 ERRORF(reporter, "Failed to get GrDawnTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 426 ERRORF(reporter, "could not create mock dContext with fReduceOpsTaskSplitting %s.", in DEF_GPUTEST()
|
H A D | Time.cpp | 21 ERRORF(r, in DEF_TEST() 27 ERRORF(r, in DEF_TEST()
|
H A D | SVGDeviceTest.cpp | 59 ERRORF(reporter, "root element not found."); in check_text_node() 65 ERRORF(reporter, "<text> element not found."); in check_text_node() 195 ERRORF(reporter, "root element not found"); in FindImageShaderNodes() 202 ERRORF(reporter, "rect not found"); in FindImageShaderNodes() 209 ERRORF(reporter, "defs not found"); in FindImageShaderNodes() 215 ERRORF(reporter, "pattern not found"); in FindImageShaderNodes() 222 ERRORF(reporter, "image not found"); in FindImageShaderNodes() 276 ERRORF(reporter, "inner svg element not found"); in DEF_TEST() 306 ERRORF(reporter, "inner svg element not found"); in DEF_TEST() 338 ERRORF(reporte in DEF_TEST() [all...] |