/third_party/flutter/skia/tests/ |
D | GrOpListFlushTest.cpp | 34 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 35 if (!surface1) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 43 SkCanvas* canvas1 = surface1->getCanvas(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 59 sk_sp<SkImage> image = surface1->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 77 REPORTER_ASSERT(reporter, surface1->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | VkProtectedContextTest.cpp | 404 auto surface1 = protectedTestHelper->createSkSurface(reporter); in DEF_GPUTEST() local 405 REPORTER_ASSERT(reporter, surface1); in DEF_GPUTEST() 406 auto image = surface1->makeImageSnapshot(); in DEF_GPUTEST() 419 surface1->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST() 421 surface1->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess)); in DEF_GPUTEST()
|
D | SurfaceTest.cpp | 473 SkSurface* surface1, in test_crbug263329() argument 479 SkCanvas* canvas1 = surface1->getCanvas(); in test_crbug263329() 482 sk_sp<SkImage> image1(surface1->makeImageSnapshot()); in test_crbug263329() 485 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() 506 auto surface1(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 508 test_crbug263329(reporter, surface1.get(), surface2.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/tests/ |
D | GrOpListFlushTest.cpp | 35 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 36 if (!surface1) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 44 SkCanvas* canvas1 = surface1->getCanvas(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 60 sk_sp<SkImage> image = surface1->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 80 REPORTER_ASSERT(reporter, surface1->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | Skbug12214.cpp | 17 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(contextInfo.directContext(), in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 22 surface1->draw(surface2->getCanvas(), /*x=*/0, /*y=*/0); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | VkProtectedContextTest.cpp | 296 auto surface1 = create_protected_sksurface(protectedTestHelper->directContext(), reporter); in DEF_GPUTEST() local 297 REPORTER_ASSERT(reporter, surface1); in DEF_GPUTEST() 298 auto image = surface1->makeImageSnapshot(); in DEF_GPUTEST()
|
D | SurfaceTest.cpp | 499 SkSurface* surface1, in test_crbug263329() argument 505 SkCanvas* canvas1 = surface1->getCanvas(); in test_crbug263329() 508 sk_sp<SkImage> image1(surface1->makeImageSnapshot()); in test_crbug263329() 511 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() 523 auto imageProxy = [ctx = surface1->recordingContext()](SkImage* img) { in test_crbug263329() 539 auto surface1(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 541 test_crbug263329(reporter, surface1.get(), surface2.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSurfaceTest.cpp | 1240 EGLSurface surface1; in TEST_P() local 1247 surface1 = eglCreatePbufferSurface(mDisplay, mConfig, surfaceAttributes); in TEST_P() 1253 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface1, surface1, mContext)); in TEST_P() 1264 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface1, mContext)); in TEST_P() 1269 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface1, surface1, mContext)); in TEST_P() 1276 eglDestroySurface(mDisplay, surface1); in TEST_P() 1290 EGLSurface surface1; in TEST_P() local 1297 surface1 = eglCreatePbufferSurface(mDisplay, mConfig, surfaceAttributes); in TEST_P() 1303 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface1, surface1, mContext)); in TEST_P() 1321 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface1, mContext)); in TEST_P() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | compositing_test.dart | 183 final PersistedSurface surface1 = findSurface(); 184 final html.Element surfaceElement1 = surface1.rootElement; 196 expect(surface2, same(surface1));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiPresentIdWaitTests.cpp | 919 …const vk::Unique<vk::VkSurfaceKHR> surface1 (createSurface(instHelper.vki, instHelper.instanc… in iterate() local 921 …_context, instHelper.vki, instHelper.instance, vector<vk::VkSurfaceKHR>{surface1.get(), surface2.g… in iterate() 925 …wapchainParameters(m_wsiType, instHelper.vki, devHelper.physicalDevice, surface1.get(), desiredSiz… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiPresentIdWaitTests.cpp | 919 …const vk::Unique<vk::VkSurfaceKHR> surface1 (createSurface(instHelper.vki, instHelper.instanc… in iterate() local 921 …_context, instHelper.vki, instHelper.instance, vector<vk::VkSurfaceKHR>{surface1.get(), surface2.g… in iterate() 925 …wapchainParameters(m_wsiType, instHelper.vki, devHelper.physicalDevice, surface1.get(), desiredSiz… in iterate()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingThreadedTests.cpp | 3065 SharedPtr<GLES2ThreadTest::Surface> surface1; in init() local 3073 …peration(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 400, 400, surface1)); in init() 3077 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init() 3126 m_threads[0]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface1)); in init()
|