Home
last modified time | relevance | path

Searched refs:surface2 (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DGrOpListFlushTest.cpp38 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()
DSurfaceTest.cpp468 SkSurface* surface2) { in test_crbug263329() argument
474 SkCanvas* canvas2 = surface2->getCanvas(); in test_crbug263329()
485 sk_sp<SkImage> image3(surface2->makeImageSnapshot()); in test_crbug263329()
489 sk_sp<SkImage> image4(surface2->makeImageSnapshot()); in test_crbug263329()
501 auto surface2(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
502 test_crbug263329(reporter, surface1.get(), surface2.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DGrOpListFlushTest.cpp39 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()
DVkProtectedContextTest.cpp302 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()
DSurfaceTest.cpp502 SkSurface* surface2) { in test_crbug263329() argument
508 SkCanvas* canvas2 = surface2->getCanvas(); in test_crbug263329()
519 sk_sp<SkImage> image3(surface2->makeImageSnapshot()); in test_crbug263329()
523 sk_sp<SkImage> image4(surface2->makeImageSnapshot()); in test_crbug263329()
542 auto surface2(surface_func(ctxInfo.directContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
543 test_crbug263329(reporter, surface1.get(), surface2.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/docs/examples/
Df16to8888drawImageBug.cpp19 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()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp3066 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()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java6499 final Surface surface2 = new Surface(new SurfaceTexture(/* texName= */ 1)); in addSurfaceSwitch() local
6512 player.setVideoSurface(surface2); in addSurfaceSwitch()