Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrResourceAllocator.cpp158 sk_sp<GrSurface> newSurface; in instantiateSurface() local
161 newSurface = proxy->priv().createSurface(resourceProvider); in instantiateSurface()
163 newSurface = sk_ref_sp(fOriginatingProxy->peekSurface()); in instantiateSurface()
166 if (!fExistingSurface && !newSurface) { in instantiateSurface()
170 GrSurface* surface = newSurface ? newSurface.get() : fExistingSurface.get(); in instantiateSurface()
186 proxy->priv().assign(fExistingSurface ? fExistingSurface : std::move(newSurface)); in instantiateSurface()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp725 EGLSurface newSurface = EGL_NO_SURFACE; in makeCurrent() local
729 newSurface = drawSurfaceEGL->getSurface(); in makeCurrent()
758 ASSERT(newSurface == EGL_NO_SURFACE); in makeCurrent()
767 ASSERT(newSurface == EGL_NO_SURFACE); in makeCurrent()
779 if (newSurface != currentContext.surface || newContext != currentContext.context) in makeCurrent()
781 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
785 currentContext.surface = newSurface; in makeCurrent()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp264 IDirect3DSurface9 *newSurface = nullptr; in createSurface() local
282 newTexture->GetSurfaceLevel(levelToFetch, &newSurface); in createSurface()
295 result = newSurface->LockRect(&lockedRect, &entireRect, 0); in createSurface()
302 result = newSurface->UnlockRect(); in createSurface()
308 mSurface = newSurface; in createSurface()
/third_party/vk-gl-cts/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()