Searched refs:testImage (Results 1 – 3 of 3) sorted by relevance
/external/webkit/Source/WebKit/chromium/tests/ |
D | DragImageTest.cpp | 116 RefPtr<TestImage> testImage(TestImage::create(IntSize(2, 2))); in TEST() local 117 DragImageRef dragImage = createDragImageFromImage(testImage.get()); in TEST() 137 RefPtr<TestImage> testImage(TestImage::create(IntSize())); in TEST() local 138 EXPECT_FALSE(createDragImageFromImage(testImage.get())); in TEST() 143 RefPtr<TestImage> testImage(TestImage::create(IntSize(1, 1))); in TEST() local 144 DragImageRef dragImage = createDragImageFromImage(testImage.get()); in TEST() 146 SkAutoLockPixels lock1(*dragImage), lock2(*(testImage->nativeImageForCurrentFrame())); in TEST() 147 EXPECT_NE(dragImage->getPixels(), testImage->nativeImageForCurrentFrame()->getPixels()); in TEST()
|
/external/webkit/Tools/DumpRenderTree/cg/ |
D | ImageDiffCG.cpp | 92 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, floa… in createDifferenceImage() argument 105 …pContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaP… in createDifferenceImage() 106 CGContextDrawImage(context.get(), CGRectMake(0, 0, width, height), testImage); in createDifferenceImage()
|
/external/webkit/Source/WebKit/qt/tests/qwebelement/ |
D | tst_qwebelement.cpp | 972 QImage testImage(resource.width(), resource.height(), QImage::Format_ARGB32); in render() local 973 QPainter painter0(&testImage); in render() 987 QVERIFY(image1 == testImage); in render() 996 QVERIFY(image2 == testImage); in render()
|