Home
last modified time | relevance | path

Searched refs:nativeWindow (Results 1 – 25 of 31) sorted by relevance

12

/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow_unittest.cpp336 NativeWindow nativeWindow(nullptr);
337 EXPECT_FALSE(nativeWindow.initialize());
343 NativeWindow nativeWindow(notCoreWindow.Get());
344 EXPECT_FALSE(nativeWindow.initialize());
350 NativeWindow nativeWindow((IInspectable *)notIInspectable.Get());
351 EXPECT_FALSE(nativeWindow.initialize());
358 NativeWindow nativeWindow(&mockCoreWindow);
359 EXPECT_TRUE(nativeWindow.initialize());
376 NativeWindow nativeWindow(propertySet.Get());
377 EXPECT_TRUE(nativeWindow.initialize());
[all …]
DSwapChainPanelNativeWindow_unittest.cpp453 NativeWindow nativeWindow(reinterpret_cast<IInspectable *>(&mockSwapChainPanel)); in TEST() local
455 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
473 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
475 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
515 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
516 EXPECT_FALSE(nativeWindow.initialize()); in TEST()
553 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
559 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
603 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
609 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
DInspectableNativeWindow.cpp71 ComPtr<IInspectable> nativeWindow; in IsEGLConfiguredPropertySet() local
102 propMap->Lookup(HStringReference(EGLNativeWindowTypeProperty).Get(), &nativeWindow); in IsEGLConfiguredPropertySet()
117 result = nativeWindow.CopyTo(eglNativeWindow); in IsEGLConfiguredPropertySet()
/external/swiftshader/src/Main/
DFrameBufferAndroid.cpp52 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
55 ANativeWindow_acquire(nativeWindow); in FrameBufferAndroid()
56 ANativeWindow_setUsage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
63 ANativeWindow_release(nativeWindow); in ~FrameBufferAndroid()
80 queueBuffer(nativeWindow, buffer, -1); in blit()
90 if (ANativeWindow_lock(nativeWindow, &surfaceBuffer, nullptr) != 0) { in lock()
120 if(dequeueBuffer(nativeWindow, &buffer) != 0) in lock()
180 ANativeWindow_unlockAndPost(nativeWindow); in unlock()
DFrameBufferOSX.mm85 sw::FrameBuffer *createFrameBuffer(void *display, EGLNativeWindowType nativeWindow, int width, int …
87 NSObject *window = reinterpret_cast<NSObject*>(nativeWindow);
DFrameBufferAndroid.hpp44 ANativeWindow *nativeWindow; member in sw::FrameBufferAndroid
/external/deqp/modules/egl/
DteglResizeTests.cpp170 MovePtr<NativeWindow> nativeWindow (windowFactory.createWindow(&nativeDisplay, in init() local
176 *nativeWindow, in init()
192 m_nativeWindow = nativeWindow; in init()
322 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow, in getNativeSurfaceSize() argument
325 if (hasBits(nativeWindow.getCapabilities(), NativeWindow::CAPABILITY_GET_SURFACE_SIZE)) in getNativeSurfaceSize()
326 return nativeWindow.getSurfaceSize(); in getNativeSurfaceSize()
333 const NativeWindow& nativeWindow, in checkSurfaceSize() argument
337 const IVec2 nativeSize = getNativeSurfaceSize(nativeWindow, reqSize); in checkSurfaceSize()
DteglNativeCoordMappingTests.cpp364 …TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay dis… in testNativeWindow() argument
372 const tcu::IVec2 screenSize = nativeWindow.getScreenSize(); in testNativeWindow()
373 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow()
396 nativeWindow.readScreenPixels(&result); in testNativeWindow()
567 …de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativ… in executeForConfig() local
569 …if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display,… in executeForConfig()
DteglNativeColorMappingTests.cpp323 …TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay dis… in testNativeWindow() argument
326 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow()
348 nativeWindow.readScreenPixels(&result); in testNativeWindow()
534 …de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativ… in executeForConfig() local
536 …if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display,… in executeForConfig()
DteglCreateSurfaceTests.cpp103 void *nativeWindow = window.getPlatformExtension(); in createWindowSurface() local
104 surface = egl.createPlatformWindowSurfaceEXT(display, config, nativeWindow, DE_NULL); in createWindowSurface()
/external/webrtc/sdk/android/src/java/org/webrtc/
DEglBase10Impl.java151 private void createSurfaceInternal(Object nativeWindow) { in createSurfaceInternal() argument
152 if (!(nativeWindow instanceof SurfaceHolder) && !(nativeWindow instanceof SurfaceTexture)) { in createSurfaceInternal()
160 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
/external/angle/src/tests/egl_tests/
DEGLSurfaceTestMac.mm103 EGLNativeWindowType nativeWindow = mOSWindow->getNativeWindow();
104 CALayer *layer = reinterpret_cast<CALayer *>(nativeWindow);
107 mSurface = eglCreateWindowSurface(mDisplay, mConfig, nativeWindow, nullptr);
DEGLDirectCompositionTest.cpp55 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp() local
81 CreateDesktopWindowTarget(mCompositor, static_cast<HWND>(nativeWindow), mDesktopTarget); in testSetUp()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp164 const Window& nativeWindow, in createSurface() argument
176 … const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); in createSurface()
192 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); in createSurface()
208 …WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); in createSurface()
223 …AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); in createSurface()
238 …nst Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); in createSurface()
253 …nst MacOSWindowInterface& macOSWindow = dynamic_cast<const MacOSWindowInterface&>(nativeWindow); in createSurface()
287 const Window& nativeWindow, in createSurface() argument
291 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
DvkWsiUtil.hpp71 const Window& nativeWindow,
79 const Window& nativeWindow,
/external/deqp/framework/egl/
DegluGLContextFactory.cpp238 NativeWindow* nativeWindow = DE_NULL; in createWindow() local
242nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow()
246 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow()
250 delete nativeWindow; in createWindow()
254 return WindowSurfacePair(nativeWindow, surface); in createWindow()
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java131 EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) { in VideoProcessingGLSurfaceView()
136 return egl.eglCreateWindowSurface(display, config, nativeWindow, attribsList); in VideoProcessingGLSurfaceView()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DSwapChain9.h25 NativeWindow9 *nativeWindow,
DSwapChain9.cpp21 NativeWindow9 *nativeWindow, in SwapChain9() argument
32 mNativeWindow(nativeWindow), in SwapChain9()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DSwapChain11.cpp45 bool NeedsOffscreenTexture(Renderer11 *renderer, NativeWindow11 *nativeWindow, EGLint orientation) in NeedsOffscreenTexture() argument
50 !(renderer->presentPathFastEnabled() && nativeWindow->getNativeWindow()); in NeedsOffscreenTexture()
55 NativeWindow11 *nativeWindow, in SwapChain11() argument
70 mNativeWindow(nativeWindow), in SwapChain11()
78 mNeedsOffscreenTexture(NeedsOffscreenTexture(renderer, nativeWindow, orientation)), in SwapChain11()
DSwapChain11.h25 NativeWindow11 *nativeWindow,
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java730 Object nativeWindow); in createWindowSurface() argument
737 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument
738 return egl.eglCreateWindowSurface(display, config, nativeWindow, null); in createWindowSurface()
/external/angle/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp298 HWND nativeWindow = WindowFromDC(nativeDisplay); in initializeImpl() local
299 if (nativeWindow != nullptr) in initializeImpl()
303 GetWindowThreadProcessId(nativeWindow, &windowProcessId); in initializeImpl()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp1200 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); in createSurfaceInitialSizeTest() local
1201 …ace (createSurface(instHelper.vki, instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in createSurfaceInitialSizeTest()
1230 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); in resizeSurfaceTest() local
1233 …ace (createSurface(instHelper.vki, instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in resizeSurfaceTest()
1250 nativeWindow->resize(testSize); in resizeSurfaceTest()
/external/angle/src/libGLESv2/
Degl_stubs.cpp238 EGLNativeWindowType nativeWindow = reinterpret_cast<EGLNativeWindowType>(win); in CreatePlatformWindowSurface() local
240 thread, display->createWindowSurface(configuration, nativeWindow, attributes, &surface), in CreatePlatformWindowSurface()

12