Home
last modified time | relevance | path

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

/external/skia/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/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/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()