/third_party/flutter/skia/tests/ |
D | GrOpListFlushTest.cpp | 38 sk_sp<SkSurface> surface2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 39 if (!surface2) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 44 SkCanvas* canvas2 = surface2->getCanvas(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 64 image = surface2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 80 REPORTER_ASSERT(reporter, surface2->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | VkProtectedContextTest.cpp | 410 auto surface2 = protectedTestHelper->createSkSurface(reporter); in DEF_GPUTEST() local 411 REPORTER_ASSERT(reporter, surface2); in DEF_GPUTEST() 412 SkCanvas* canvas = surface2->getCanvas(); in DEF_GPUTEST() 422 surface2->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST() 424 surface2->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess)); in DEF_GPUTEST()
|
D | SurfaceTest.cpp | 474 SkSurface* surface2) { in test_crbug263329() argument 480 SkCanvas* canvas2 = surface2->getCanvas(); in test_crbug263329() 491 sk_sp<SkImage> image3(surface2->makeImageSnapshot()); in test_crbug263329() 495 sk_sp<SkImage> image4(surface2->makeImageSnapshot()); in test_crbug263329() 507 auto surface2(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 | 39 sk_sp<SkSurface> surface2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 40 if (!surface2) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 45 SkCanvas* canvas2 = surface2->getCanvas(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 66 image = surface2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 83 REPORTER_ASSERT(reporter, surface2->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | Skbug12214.cpp | 19 sk_sp<SkSurface> surface2 = SkSurface::MakeRaster(imageInfo); 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 | 302 auto surface2 = create_protected_sksurface(protectedTestHelper->directContext(), reporter); in DEF_GPUTEST() local 303 REPORTER_ASSERT(reporter, surface2); in DEF_GPUTEST() 304 SkCanvas* canvas = surface2->getCanvas(); in DEF_GPUTEST()
|
D | SurfaceTest.cpp | 500 SkSurface* surface2) { in test_crbug263329() argument 506 SkCanvas* canvas2 = surface2->getCanvas(); in test_crbug263329() 517 sk_sp<SkImage> image3(surface2->makeImageSnapshot()); in test_crbug263329() 521 sk_sp<SkImage> image4(surface2->makeImageSnapshot()); in test_crbug263329() 540 auto surface2(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/docs/examples/ |
D | f16to8888drawImageBug.cpp | 19 sk_sp<SkSurface> surface2 = SkSurface::MakeRaster(imageInfo2); in draw() local 20 surface2->getCanvas()->drawImage(surface->makeImageSnapshot(), 0, 0); in draw() 23 canvas->drawImage(surface2->makeImageSnapshot(), 50, 0); in draw()
|
/third_party/weston/tests/ |
D | linux-explicit-synchronization-test.c | 428 struct wl_surface *surface2 = other_surface->wl_surface; in TEST() local 436 sync, surface2); in TEST() 445 weston_test_move_surface(client->test->weston_test, surface2, 0, 0); in TEST() 463 wl_surface_attach(surface2, buf1->proxy, 0, 0); in TEST() 464 frame_callback_set(surface2, &frame); in TEST() 465 wl_surface_commit(surface2); in TEST() 483 wl_surface_attach(surface2, buf2->proxy, 0, 0); in TEST() 484 frame_callback_set(surface2, &frame); in TEST() 485 wl_surface_commit(surface2); in TEST()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/ |
D | ilm_control_test.cpp | 79 uint surface2 = iviSurfaces[1].surface_id; in TEST_F() local 87 ASSERT_EQ(ILM_SUCCESS, ilm_surfaceSetOpacity(surface2, 0.001)); in TEST_F() 89 ASSERT_EQ(ILM_SUCCESS, ilm_surfaceGetOpacity(surface2, &opacity)); in TEST_F() 387 uint surface2 = iviSurfaces[1].surface_id; in TEST_F() local 405 ASSERT_EQ(ILM_SUCCESS, ilm_layerAddSurface(layer, surface2)); in TEST_F() 412 EXPECT_EQ(surface2, IDs[1]); in TEST_F() 422 EXPECT_EQ(surface2, IDs[0]); in TEST_F() 426 ASSERT_EQ(ILM_SUCCESS, ilm_layerRemoveSurface(layer, surface2)); in TEST_F() 445 uint surface2 = iviSurfaces[1].surface_id; in TEST_F() local 451 IDs[1] = surface2; in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSurfaceTest.cpp | 1241 EGLSurface surface2; in TEST_P() local 1249 surface2 = eglCreatePbufferSurface(mDisplay, mConfig, surfaceAttributes); in TEST_P() 1264 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface1, mContext)); in TEST_P() 1273 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface2, mContext)); in TEST_P() 1277 eglDestroySurface(mDisplay, surface2); in TEST_P() 1291 EGLSurface surface2; in TEST_P() local 1299 surface2 = eglCreatePbufferSurface(mDisplay, mConfig, surfaceAttributes); in TEST_P() 1321 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface1, mContext)); in TEST_P() 1329 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface2, surface2, mContext)); in TEST_P() 1333 eglDestroySurface(mDisplay, surface2); in TEST_P()
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | compositing_test.dart | 193 final PersistedSurface surface2 = findSurface(); 194 final html.Element surfaceElement2 = surface2.rootElement; 196 expect(surface2, same(surface1)); 210 expect(surface3, isNot(same(surface2)));
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiPresentIdWaitTests.cpp | 893 …const vk::Unique<vk::VkSurfaceKHR> surface2 (createSurface(instHelper.vki, instHelper.instanc… in iterate() local 894 …lper.vki, instHelper.instance, vector<vk::VkSurfaceKHR>{surface1.get(), surface2.get()}, getRequir… in iterate() 899 …wapchainParameters(m_wsiType, instHelper.vki, devHelper.physicalDevice, surface2.get(), desiredSiz… in iterate()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingThreadedTests.cpp | 3066 SharedPtr<GLES2ThreadTest::Surface> surface2; in init() local 3074 …peration(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 400, 400, surface2)); in init() 3078 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[1], m_eglDisplay, surface2,… in init() 3127 m_threads[1]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface2)); in init()
|