Home
last modified time | relevance | path

Searched refs:dummySurface (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DSurfaceTest.cpp107 SkAutoTUnref<GrSurface> dummySurface(ctx->textureProvider()->createTexture(texDesc, false)); in test_wrapped_texture_surface() local
109 REPORTER_ASSERT(reporter, dummySurface && dummySurface->asTexture() && in test_wrapped_texture_surface()
110 dummySurface->asRenderTarget()); in test_wrapped_texture_surface()
111 if (!dummySurface || !dummySurface->asTexture() || !dummySurface->asRenderTarget()) { in test_wrapped_texture_surface()
115 GrBackendObject textureHandle = dummySurface->asTexture()->getTextureHandle(); in test_wrapped_texture_surface()
118 wrappedDesc.fConfig = dummySurface->config(); in test_wrapped_texture_surface()
119 wrappedDesc.fWidth = dummySurface->width(); in test_wrapped_texture_surface()
120 wrappedDesc.fHeight = dummySurface->height(); in test_wrapped_texture_surface()
121 wrappedDesc.fOrigin = dummySurface->origin(); in test_wrapped_texture_surface()
122 wrappedDesc.fSampleCnt = dummySurface->asRenderTarget()->numSamples(); in test_wrapped_texture_surface()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2164 tcu::Surface dummySurface(DUMMY_RENDER_AREA_SIZE, DUMMY_RENDER_AREA_SIZE); in waitGLResults() local
2165 glu::readPixels(m_context.getRenderContext(), 0, 0, dummySurface.getAccess()); in waitGLResults()
4010 tcu::Surface dummySurface(RENDER_AREA_SIZE, RENDER_AREA_SIZE); in waitGLResults() local
4011 glu::readPixels(m_context.getRenderContext(), 0, 0, dummySurface.getAccess()); in waitGLResults()