Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
H A 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()
56 success = mEGL->swapBuffersWithDamageKHR(mSurface, rects, n_rects); in swapWithDamage()
60 success = mEGL->swapBuffers(mSurface); in swapWithDamage()
81 EGLBoolean success = mEGL->presentationTimeANDROID(mSurface, time); in setPresentationTime()
97 EGLBoolean success = mEGL->bindTexImage(mSurface, buffer); in bindTexImage()
107 EGLBoolean success = mEGL->releaseTexImage(mSurface, buffer); in releaseTexImage()
128 EGLBoolean success = mEGL->querySurface(mSurface, EGL_WIDT in getWidth()
[all...]
H A DWindowSurfaceEGL.cpp36 mSurface = mEGL->createWindowSurface(mConfig, mWindow, nativeAttribs.data()); in initialize()
37 if (mSurface == EGL_NO_SURFACE) in initialize()
48 EGLBoolean result = mEGL->querySurface(mSurface, EGL_BUFFER_AGE_EXT, age); in getBufferAge()
H A DPbufferSurfaceEGL.cpp36 mSurface = mEGL->createPbufferSurface(mConfig, nativeAttribs.data()); in initialize()
37 if (mSurface == EGL_NO_SURFACE) in initialize()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLSyncControlTest.cpp60 if (mSurface != EGL_NO_SURFACE)
62 eglDestroySurface(mDisplay, mSurface);
63 mSurface = EGL_NO_SURFACE;
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, in TEST_F()
[all...]
H A DEGLQueryContextTest.cpp48 mSurface = eglCreatePbufferSurface(mDisplay, mConfig, surfattrs);
49 EXPECT_TRUE(mSurface != EGL_NO_SURFACE);
59 if (mSurface)
61 eglDestroySurface(mDisplay, mSurface);
71 EGLSurface mSurface = EGL_NO_SURFACE; member in EGLQueryContextTest
107 ANGLE_SKIP_TEST_IF(!mSurface); in TEST_P()
110 EXPECT_TRUE(eglQuerySurface(mDisplay, mSurface, EGL_RENDER_BUFFER, &renderBuffer) != EGL_FALSE); in TEST_P()
111 EXPECT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext) != EGL_FALSE); in TEST_P()
134 mSurface in TEST_P()
[all...]
H A DEGLContextSharingTest.cpp78 if (mSurface != EGL_NO_SURFACE)
80 eglDestroySurface(mDisplay, mSurface);
82 mSurface = EGL_NO_SURFACE;
150 EGLSurface mSurface = EGL_NO_SURFACE; member in __anon20159::EGLContextSharingTestNoFixture
667 EXPECT_TRUE(createWindowSurface(config, mOsWindow->getNativeWindow(), &mSurface)); in TEST_P()
671 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[0])); in TEST_P()
698 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[0])); in TEST_P()
717 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurfac in TEST_P()
[all...]
H A DEGLPresentPathD3D11Test.cpp23 mSurface(EGL_NO_SURFACE), in EGLPresentPathD3D11()
83 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in createWindowSurface()
126 mSurface = eglCreatePbufferFromClientBuffer(mDisplay, EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE, in createPbufferFromClientBufferSurface()
128 ASSERT_TRUE(EGL_NO_SURFACE != mSurface); in createPbufferFromClientBufferSurface()
131 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent()
141 if (mSurface != EGL_NO_SURFACE)
143 eglDestroySurface(mDisplay, mSurface);
144 mSurface = EGL_NO_SURFACE;
299 EGLSurface mSurface; member in EGLPresentPathD3D11
[all...]
H A DEGLDeviceTest.cpp36 mSurface(EGL_NO_SURFACE), in EGLDeviceCreationTest()
78 if (mSurface != EGL_NO_SURFACE)
80 eglDestroySurface(mDisplay, mSurface);
81 mSurface = EGL_NO_SURFACE;
128 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in CreateWindowSurface()
137 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in CreateWindowSurface()
174 EGLSurface mSurface; member in EGLDeviceCreationTest
H A 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 in ScopedIOSurfaceRef()
71 IOSurfaceRef mSurface = nullptr; global() member in __anon20160::ScopedIOSurfaceRef
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DEGLMakeCurrentPerf.cpp36 EGLSurface mSurface; member in __anon20265::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()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DIOSurfaceWrappingTests.cpp35 ScopedIOSurfaceRef() : mSurface(nullptr) { in ScopedIOSurfaceRef()
37 explicit ScopedIOSurfaceRef(IOSurfaceRef surface) : mSurface(surface) { in ScopedIOSurfaceRef()
41 if (mSurface != nullptr) { in ~ScopedIOSurfaceRef()
42 CFRelease(mSurface); in ~ScopedIOSurfaceRef()
43 mSurface = nullptr; in ~ScopedIOSurfaceRef()
48 return mSurface; in get()
52 if (mSurface != nullptr) { in ScopedIOSurfaceRef()
53 CFRelease(mSurface); in ScopedIOSurfaceRef()
55 mSurface = other.mSurface; in ScopedIOSurfaceRef()
73 IOSurfaceRef mSurface = nullptr; global() member in __anon20553::ScopedIOSurfaceRef
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DNativeSwapChainImplVk.cpp68 : mSurface(surface), mDevice(device) { in NativeSwapChainImpl()
79 if (mSurface != VK_NULL_HANDLE) { in ~NativeSwapChainImpl()
80 mDevice->GetFencedDeleter()->DeleteWhenUnused(mSurface); in ~NativeSwapChainImpl()
81 mSurface = VK_NULL_HANDLE; in ~NativeSwapChainImpl()
86 if (mDevice->ConsumedError(GatherSurfaceInfo(*ToBackend(mDevice->GetAdapter()), mSurface), in UpdateSurfaceConfig()
120 createInfo.surface = mSurface; in Configure()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DImage9.cpp31 mSurface = nullptr; in Image9()
42 SafeRelease(mSurface); in ~Image9()
247 SafeRelease(mSurface); in redefine()
258 if (mSurface) in createSurface()
308 mSurface = newSurface; in createSurface()
319 if (mSurface) in lock()
321 HRESULT result = mSurface->LockRect(lockedRect, &rect, 0); in lock()
332 if (mSurface) in unlock()
334 HRESULT result = mSurface->UnlockRect(); in unlock()
352 return (mSurface || in isDirty()
[all...]
/third_party/skia/third_party/externals/angle2/util/
H A DEGLWindow.cpp64 mSurface(EGL_NO_SURFACE), in EGLWindow()
77 eglSwapBuffers(mDisplay, mSurface); in swap()
92 return mSurface; in getSurface()
492 mSurface = eglCreateWindowSurface(mDisplay, mConfig, osWindow->getNativeWindow(), in initializeSurface()
494 if (eglGetError() != EGL_SUCCESS || (mSurface == EGL_NO_SURFACE)) in initializeSurface()
742 if (mSurface != EGL_NO_SURFACE) in destroySurface()
746 eglDestroySurface(mDisplay, mSurface); in destroySurface()
747 mSurface = EGL_NO_SURFACE; in destroySurface()
764 return mSurface != EGL_NO_SURFACE && mContext != EGL_NO_CONTEXT && mDisplay != EGL_NO_DISPLAY; in isGLInitialized()
822 if (eglMakeCurrent(mDisplay, mSurface, mSurfac in makeCurrent()
[all...]
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
H A DTextActivity.java19 Surface mSurface; field in TextRenderer
45 mSurface = surface; in onSurfaceInitialized()
70 Surface mSurface; field in TextActivity
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultisampleTest.cpp109 mSurface = eglCreateWindowSurface(mDisplay, multisampledConfig,
113 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext);
119 if (mSurface)
121 eglSwapBuffers(mDisplay, mSurface);
126 if (mSurface)
128 eglDestroySurface(mDisplay, mSurface);
164 EGLSurface mSurface = EGL_NO_SURFACE; member in __anon20208::MultisampleTest
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DBootAnimationTest.cpp73 mSurface = window->getSurface();
117 eglSwapBuffers(mDisplay, mSurface);
205 EGLSurface mSurface = EGL_NO_SURFACE; member in BootAnimationTest
245 EGLBoolean res = eglSwapBuffers(mDisplay, mSurface); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
H A DWindowSurfaceVkAndroid.cpp32 &createInfo, nullptr, &mSurface)); in createSurfaceVk()
44 vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, &surfaceCaps)); in getCurrentWindowSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/headless/
H A DWindowSurfaceVkHeadless.cpp33 ANGLE_VK_TRY(context, vkCreateHeadlessSurfaceEXT(instance, &createInfo, nullptr, &mSurface)); in createSurfaceVk()
42 ANGLE_VK_TRY(context, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in getCurrentWindowSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ggp/
H A DWindowSurfaceVkGGP.cpp43 nullptr, &mSurface)); in createSurfaceVk()
54 ANGLE_VK_TRY(context, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in getCurrentWindowSize()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A 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 in releaseTexImage()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/display/
H A DWindowSurfaceVkSimple.cpp63 ANGLE_VK_TRY(context, vkCreateDisplayPlaneSurfaceKHR(instance, &info, nullptr, &mSurface)); in createSurfaceVk()
74 ANGLE_VK_TRY(context, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in getCurrentWindowSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DSurfaceVk.cpp559 mSurface(VK_NULL_HANDLE), in WindowSurfaceVk()
587 ASSERT(mSurface == VK_NULL_HANDLE); in ~WindowSurfaceVk()
619 if (mSurface) in destroy()
621 vkDestroySurfaceKHR(instance, mSurface, nullptr); in destroy()
622 mSurface = VK_NULL_HANDLE; in destroy()
655 ANGLE_TRY(renderer->selectPresentQueueForSurface(displayVk, mSurface, &presentQueue)); in initializeImpl()
664 surfaceInfo2.surface = mSurface; in initializeImpl()
696 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in initializeImpl()
817 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, mSurface, in initializeImpl()
823 physicalDevice, mSurface, in initializeImpl()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DSwapChain.cpp280 mSurface(surface) { in NewSwapChainBase()
295 mSurface = nullptr; in DetachFromSurface()
378 return mSurface; in GetSurface()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DCanvas.java15 private Surface mSurface; field in Canvas
155 mSurface = surface; in Canvas()

Completed in 19 milliseconds

12