Home
last modified time | relevance | path

Searched refs:newSurface (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp328 EGLSurface newSurface = EGL_NO_SURFACE; in makeCurrent() local
332 newSurface = drawSurfaceEGL->getSurface(); in makeCurrent()
361 ASSERT(newSurface == EGL_NO_SURFACE); in makeCurrent()
370 ASSERT(newSurface == EGL_NO_SURFACE); in makeCurrent()
393 if (newSurface == EGL_NO_SURFACE) in makeCurrent()
395 newSurface = currentContext.surface; in makeCurrent()
400 if (newSurface == EGL_NO_SURFACE && !mSupportsSurfaceless) in makeCurrent()
402 newSurface = mMockPbuffer; in makeCurrent()
403 ASSERT(newSurface != EGL_NO_SURFACE); in makeCurrent()
407 if (newSurface != currentContext.surface || newContext != currentContext.context) in makeCurrent()
[all …]
/external/skia/src/gpu/
DGrResourceAllocator.cpp149 sk_sp<GrSurface> newSurface; in instantiateSurface() local
152 newSurface = proxy->priv().createSurface(resourceProvider); in instantiateSurface()
154 newSurface = sk_ref_sp(fOriginatingProxy->peekSurface()); in instantiateSurface()
157 if (!fExistingSurface && !newSurface) { in instantiateSurface()
161 GrSurface* surface = newSurface ? newSurface.get() : fExistingSurface.get(); in instantiateSurface()
177 proxy->priv().assign(fExistingSurface ? fExistingSurface : std::move(newSurface)); in instantiateSurface()
/external/deqp/modules/egl/
DteglResizeTests.cpp275 bool compareCorners (const Surface& oldSurface, const Surface& newSurface) in compareCorners() argument
279 const int newWidth = newSurface.getWidth(); in compareCorners()
280 const int newHeight = newSurface.getHeight(); in compareCorners()
296 getSubregion(newSurface.getAccess(), newX, newY, minWidth, minHeight); in compareCorners()
414 const Surface newSurface = readSurface(m_gl, newEglSize); in iterate() local
419 << TestLog::Image("After resizing", "After resizing", newSurface) in iterate()
422 m_status.checkResult(compareCorners(oldSurface, newSurface), in iterate()
/external/angle/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp581 EGLSurface newSurface = EGL_NO_SURFACE; in makeCurrent() local
585 newSurface = drawSurfaceEGL->getSurface(); in makeCurrent()
595 if (newSurface != currentContext.surface || newContext != currentContext.context) in makeCurrent()
597 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
601 currentContext.surface = newSurface; in makeCurrent()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp262 IDirect3DSurface9 *newSurface = nullptr; in createSurface() local
280 newTexture->GetSurfaceLevel(levelToFetch, &newSurface); in createSurface()
293 result = newSurface->LockRect(&lockedRect, &entireRect, 0); in createSurface()
300 result = newSurface->UnlockRect(); in createSurface()
306 mSurface = newSurface; in createSurface()
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp1160 Surface newSurface; // Surface from drawing with newSeed-seeded attachment in iterate() local
1190 m_inputAttacher.drawContainer(*container, newSurface); in iterate()
1207 newSurface); in iterate()
1239 Surface newSurface; // Surface drawn from attachment to newSeed container in iterate() local
1274 m_outputAttacher.drawAttachment(newId, newSurface); in iterate()
1291 newSurface, delSurface, RGBA(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT); in iterate()