Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 – 25 of 32) sorted by relevance

12

/external/angle/src/libANGLE/renderer/gl/egl/
DSurfaceEGL.cpp20 mSurface(EGL_NO_SURFACE), in SurfaceEGL()
26 if (mSurface != EGL_NO_SURFACE) in ~SurfaceEGL()
28 EGLBoolean success = mEGL->destroySurface(mSurface); in ~SurfaceEGL()
41 EGLBoolean success = mEGL->swapBuffers(mSurface); in swap()
54 success = mEGL->swapBuffersWithDamageKHR(mSurface, rects, n_rects); in swapWithDamage()
58 success = mEGL->swapBuffers(mSurface); in swapWithDamage()
79 EGLBoolean success = mEGL->presentationTimeANDROID(mSurface, time); in setPresentationTime()
95 EGLBoolean success = mEGL->bindTexImage(mSurface, buffer); in bindTexImage()
105 EGLBoolean success = mEGL->releaseTexImage(mSurface, buffer); in releaseTexImage()
126 EGLBoolean success = mEGL->querySurface(mSurface, EGL_WIDTH, &value); in getWidth()
[all …]
DPbufferSurfaceEGL.cpp36 mSurface = mEGL->createPbufferSurface(mConfig, nativeAttribs.data()); in initialize()
37 if (mSurface == EGL_NO_SURFACE) in initialize()
DWindowSurfaceEGL.cpp36 mSurface = mEGL->createWindowSurface(mConfig, mWindow, nativeAttribs.data()); in initialize()
37 if (mSurface == EGL_NO_SURFACE) in initialize()
DSurfaceEGL.h63 EGLSurface mSurface; variable
/external/angle/src/tests/egl_tests/
DEGLSyncControlTest.cpp60 if (mSurface != EGL_NO_SURFACE) in TearDown()
62 eglDestroySurface(mDisplay, mSurface); in TearDown()
63 mSurface = EGL_NO_SURFACE; in TearDown()
132 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in CreateWindowSurface()
134 if (mSurface == nullptr) in CreateWindowSurface()
149 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in CreateWindowSurface()
168 EGLSurface mSurface = EGL_NO_SURFACE; member in EGLSyncControlTest
204 eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc); in TEST_F()
206 ASSERT_EGL_TRUE(eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc)); in TEST_F()
216 ASSERT_EGL_TRUE(eglSwapBuffers(mDisplay, mSurface)); in TEST_F()
[all …]
DEGLDeviceTest.cpp36 mSurface(EGL_NO_SURFACE), in EGLDeviceCreationTest()
78 if (mSurface != EGL_NO_SURFACE) in testTearDown()
80 eglDestroySurface(mDisplay, mSurface); in testTearDown()
81 mSurface = EGL_NO_SURFACE; in testTearDown()
140 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in CreateWindowSurface()
149 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in CreateWindowSurface()
186 EGLSurface mSurface; member in EGLDeviceCreationTest
290 ASSERT_EGL_TRUE(eglSwapBuffers(mDisplay, mSurface)); in TEST_P()
296 if (mSurface != EGL_NO_SURFACE) in TEST_P()
298 eglDestroySurface(mDisplay, mSurface); in TEST_P()
[all …]
DEGLQueryContextTest.cpp46 mSurface = eglCreatePbufferSurface(mDisplay, mConfig, surfattrs); in testSetUp()
47 EXPECT_TRUE(mSurface != EGL_NO_SURFACE); in testSetUp()
56 eglDestroySurface(mDisplay, mSurface); in testTearDown()
65 EGLSurface mSurface; member in EGLQueryContextTest
102 EXPECT_TRUE(eglQuerySurface(mDisplay, mSurface, EGL_RENDER_BUFFER, &renderBuffer) != EGL_FALSE); in TEST_P()
103 EXPECT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext) != EGL_FALSE); in TEST_P()
126 mSurface = EGL_NO_SURFACE; in TEST_P()
DEGLPresentPathD3D11Test.cpp23 mSurface(EGL_NO_SURFACE), in EGLPresentPathD3D11()
83 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in createWindowSurface()
128 mSurface = eglCreatePbufferFromClientBuffer(mDisplay, EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE, in createPbufferFromClientBufferSurface()
130 ASSERT_TRUE(EGL_NO_SURFACE != mSurface); in createPbufferFromClientBufferSurface()
133 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent()
143 if (mSurface != EGL_NO_SURFACE) in testTearDown()
145 eglDestroySurface(mDisplay, mSurface); in testTearDown()
146 mSurface = EGL_NO_SURFACE; in testTearDown()
299 EGLSurface mSurface; member in EGLPresentPathD3D11
DEGLIOSurfaceClientBufferTest.cpp35 explicit ScopedIOSurfaceRef(IOSurfaceRef surface) : mSurface(surface) {} in ScopedIOSurfaceRef()
39 if (mSurface != nullptr) in ~ScopedIOSurfaceRef()
41 CFRelease(mSurface); in ~ScopedIOSurfaceRef()
42 mSurface = nullptr; in ~ScopedIOSurfaceRef()
46 IOSurfaceRef get() const { return mSurface; } in get()
50 if (mSurface != nullptr) in ScopedIOSurfaceRef()
52 CFRelease(mSurface); in ScopedIOSurfaceRef()
54 mSurface = other.mSurface; in ScopedIOSurfaceRef()
55 other.mSurface = nullptr; in ScopedIOSurfaceRef()
60 if (mSurface != nullptr) in operator =()
[all …]
/external/angle/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp36 EGLSurface mSurface; member in __anon6967cd100111::EGLMakeCurrentPerfTest
46 mSurface(EGL_NO_SURFACE), in EGLMakeCurrentPerfTest()
119 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in SetUp()
120 ASSERT_NE(EGL_NO_SURFACE, mSurface); in SetUp()
121 ASSERT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[0])); in SetUp()
128 eglDestroySurface(mDisplay, mSurface); in TearDown()
139 eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[mCurrContext]); in step()
/external/angle/src/tests/gl_tests/
DMultisampleTest.cpp70 mSurface = eglCreateWindowSurface(mDisplay, multisampledConfig, in testSetUp()
74 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in testSetUp()
80 if (mSurface) in testTearDown()
82 eglSwapBuffers(mDisplay, mSurface); in testTearDown()
87 if (mSurface) in testTearDown()
89 eglDestroySurface(mDisplay, mSurface); in testTearDown()
124 EGLSurface mSurface = EGL_NO_SURFACE; member in __anon3738e65d0111::MultisampleTest
/external/angle/util/
DEGLWindow.cpp57 mSurface(EGL_NO_SURFACE), in EGLWindow()
70 eglSwapBuffers(mDisplay, mSurface); in swap()
85 return mSurface; in getSurface()
319 mSurface = eglCreateWindowSurface(mDisplay, mConfig, osWindow->getNativeWindow(), in initializeSurface()
321 if (eglGetError() != EGL_SUCCESS || (mSurface == EGL_NO_SURFACE)) in initializeSurface()
534 if (mSurface != EGL_NO_SURFACE) in destroySurface()
538 eglDestroySurface(mDisplay, mSurface); in destroySurface()
539 mSurface = EGL_NO_SURFACE; in destroySurface()
556 return mSurface != EGL_NO_SURFACE && mContext != EGL_NO_CONTEXT && mDisplay != EGL_NO_DISPLAY; in isGLInitialized()
599 if (eglMakeCurrent(mDisplay, mSurface, mSurface, mContext) == EGL_FALSE || in makeCurrent()
DEGLWindow.h153 EGLSurface mSurface; variable
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp31 mSurface = nullptr; in Image9()
42 SafeRelease(mSurface); in ~Image9()
245 SafeRelease(mSurface); in redefine()
256 if (mSurface) in createSurface()
306 mSurface = newSurface; in createSurface()
317 if (mSurface) in lock()
319 HRESULT result = mSurface->LockRect(lockedRect, &rect, 0); in lock()
330 if (mSurface) in unlock()
332 HRESULT result = mSurface->UnlockRect(); in unlock()
350 return (mSurface || in isDirty()
[all …]
/external/angle/src/tests/gl_tests/gles1/
DBootAnimationTest.cpp73 mSurface = window->getSurface(); in testSetUp()
117 eglSwapBuffers(mDisplay, mSurface); in testSetUp()
205 EGLSurface mSurface = EGL_NO_SURFACE; member in BootAnimationTest
242 EGLBoolean res = eglSwapBuffers(mDisplay, mSurface); in TEST_P()
/external/swiftshader/src/OpenGL/libGLES_CM/
DTexture.cpp317 mSurface = nullptr; in Texture2D()
334 if(mSurface) in ~Texture2D()
336 mSurface->setBoundTexture(nullptr); in ~Texture2D()
337 mSurface = nullptr; in ~Texture2D()
453 assert(!mSurface); // eglBindTexImage called before eglReleaseTexImage in bindTexImage()
455 mSurface = surface; in bindTexImage()
456 mSurface->setBoundTexture(this); in bindTexImage()
720 if(mSurface) // Bound to an EGLSurface in isShared()
/external/angle/src/libANGLE/renderer/vulkan/ggp/
DWindowSurfaceVkGGP.cpp43 nullptr, &mSurface)); in createSurfaceVk()
54 ANGLE_VK_TRY(context, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in getCurrentWindowSize()
/external/angle/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp446 mSurface(VK_NULL_HANDLE), in WindowSurfaceVk()
464 ASSERT(mSurface == VK_NULL_HANDLE); in ~WindowSurfaceVk()
497 if (mSurface) in destroy()
499 vkDestroySurfaceKHR(instance, mSurface, nullptr); in destroy()
500 mSurface = VK_NULL_HANDLE; in destroy()
531 ANGLE_TRY(renderer->selectPresentQueueForSurface(displayVk, mSurface, &presentQueue)); in initializeImpl()
536 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in initializeImpl()
584 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, mSurface, in initializeImpl()
590 physicalDevice, mSurface, &presentModeCount, mPresentModes.data())); in initializeImpl()
597 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, mSurface, in initializeImpl()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp430 mSurface = nullptr; in Texture2D()
440 if(mSurface) in ~Texture2D()
442 mSurface->setBoundTexture(nullptr); in ~Texture2D()
443 mSurface = nullptr; in ~Texture2D()
577 assert(!mSurface); // eglBindTexImage called before eglReleaseTexImage in bindTexImage()
579 mSurface = surface; in bindTexImage()
580 mSurface->setBoundTexture(this); in bindTexImage()
587 if(mSurface) in releaseTexImage()
589 mSurface->setBoundTexture(nullptr); in releaseTexImage()
590 mSurface = nullptr; in releaseTexImage()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/android/
DWindowSurfaceVkAndroid.cpp32 &createInfo, nullptr, &mSurface)); in createSurfaceVk()
/external/angle/src/libANGLE/renderer/vulkan/win32/
DWindowSurfaceVkWin32.cpp31 &createInfo, nullptr, &mSurface)); in createSurfaceVk()
/external/angle/src/libANGLE/renderer/vulkan/xcb/
DWindowSurfaceVkXcb.cpp32 nullptr, &mSurface)); in createSurfaceVk()
/external/angle/src/libANGLE/renderer/vulkan/fuchsia/
DWindowSurfaceVkFuchsia.cpp45 &createInfo, nullptr, &mSurface)); in createSurfaceVk()
/external/angle/src/libANGLE/renderer/d3d/d3d11/converged/
DCompositorNativeWindow11.cpp129 hr = interop->CreateCompositionSurfaceForSwapChain(swapChain1.Get(), &mSurface); in createSwapChain()
135 hr = compositor->CreateSurfaceBrushWithSurface(mSurface.Get(), &mSurfaceBrush); in createSwapChain()
DCompositorNativeWindow11.h109 Microsoft::WRL::ComPtr<ABI::Windows::UI::Composition::ICompositionSurface> mSurface; variable

12