/external/chromium_org/third_party/WebKit/Source/platform/ |
D | DragImageTest.cpp | 114 RefPtr<TestImage> testImage(TestImage::create(IntSize(2, 2))); in TEST() local 115 OwnPtr<DragImage> dragImage = DragImage::create(testImage.get()); in TEST() 131 RefPtr<TestImage> testImage(TestImage::create(IntSize())); in TEST() local 132 EXPECT_FALSE(DragImage::create(testImage.get())); in TEST() 137 RefPtr<TestImage> testImage(TestImage::create(IntSize(1, 1))); in TEST() local 138 OwnPtr<DragImage> dragImage = DragImage::create(testImage.get()); in TEST() 140 …SkAutoLockPixels lock1(dragImage->bitmap()), lock2(testImage->nativeImageForCurrentFrame()->bitmap… in TEST() 141 …EXPECT_NE(dragImage->bitmap().getPixels(), testImage->nativeImageForCurrentFrame()->bitmap().getPi… in TEST() 160 OwnPtr<DragImage> testImage = in TEST() local 165 EXPECT_EQ(testImage->size().width(), expectedImage->size().width()); in TEST()
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
D | SkDifferentPixelsMetric_opencl.cpp | 59 cl_mem testImage; in diff() local 63 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { in diff() 79 setArgErr |= clSetKernelArg(fKernel, 1, sizeof(cl_mem), &testImage); in diff() 109 clReleaseMemObject(testImage); in diff()
|
/external/skia/tools/skpdiff/ |
D | SkDifferentPixelsMetric_opencl.cpp | 58 cl_mem testImage; in diff() local 62 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { in diff() 78 setArgErr |= clSetKernelArg(fKernel, 1, sizeof(cl_mem), &testImage); in diff() 108 clReleaseMemObject(testImage); in diff()
|
/external/deqp/modules/gles2/functional/ |
D | es2fPolygonOffsetTests.cpp | 158 …tCtx, glu::RenderContext& renderCtx, const tcu::ConstPixelBufferAccess& testImage, const tcu::Cons… in verifyImages() argument 165 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() 167 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages() 172 log << TestLog::Image("Test image", "Test image", testImage); in verifyImages() 362 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local 413 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset() 448 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset() 490 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local 565 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset() 573 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fPolygonOffsetTests.cpp | 161 …tCtx, glu::RenderContext& renderCtx, const tcu::ConstPixelBufferAccess& testImage, const tcu::Cons… in verifyImages() argument 168 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() 170 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages() 175 log << TestLog::Image("Test image", "Test image", testImage); in verifyImages() 365 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local 416 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset() 451 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset() 493 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local 568 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset() 576 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset() [all …]
|
/external/chromium_org/ui/message_center/ |
D | message_center_impl_unittest.cc | 733 gfx::Image testImage(gfx::Image(gfx::ImageSkia(canvas.ExtractImageRep()))); in TEST_F() local 734 message_center()->SetNotificationIcon(id, testImage); in TEST_F() 735 message_center()->SetNotificationImage(id, testImage); in TEST_F() 736 message_center()->SetNotificationButtonIcon(id, 0, testImage); in TEST_F() 737 message_center()->SetNotificationButtonIcon(id, 1, testImage); in TEST_F()
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | content_provider_test.py | 138 def testImage(self): member in ContentProviderUnittest
|