Home
last modified time | relevance | path

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

12

/external/swiftshader/src/Main/
DFrameBufferAndroid.cpp57 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
60 nativeWindow->common.incRef(&nativeWindow->common); in FrameBufferAndroid()
61 native_window_set_usage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
68 nativeWindow->common.decRef(&nativeWindow->common); in ~FrameBufferAndroid()
85 queueBuffer(nativeWindow, buffer, -1); in blit()
95 if (ANativeWindow_lock(nativeWindow, &surfaceBuffer, nullptr) != 0) { in lock()
125 if(dequeueBuffer(nativeWindow, &buffer) != 0) in lock()
185 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/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp148 bool CreateNativeWindow(Display* nativeDisplay, Window* nativeWindow) in CreateNativeWindow() argument
181 *nativeWindow =XCreateWindow(nativeDisplay, // The display used to create the window in CreateNativeWindow()
195 XMapWindow(nativeDisplay, *nativeWindow); in CreateNativeWindow()
198 XStoreName(nativeDisplay, *nativeWindow, APPLICATION_NAME); in CreateNativeWindow()
202 XSetWMProtocols(nativeDisplay, *nativeWindow, &windowManagerDelete , 1); in CreateNativeWindow()
299 bool CreateEGLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface&… in CreateEGLSurface() argument
310 …eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL… in CreateEGLSurface()
727 void ReleaseNativeResources(Display* nativeDisplay, Window nativeWindow) in ReleaseNativeResources() argument
730 if (nativeWindow) in ReleaseNativeResources()
732 XDestroyWindow(nativeDisplay, nativeWindow); in ReleaseNativeResources()
[all …]
/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/deqp/modules/egl/
DteglResizeTests.cpp170 MovePtr<NativeWindow> nativeWindow (windowFactory.createWindow(&nativeDisplay, in init() local
176 *nativeWindow, in init()
192 m_nativeWindow = nativeWindow; in init()
320 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow, in getNativeSurfaceSize() argument
323 if (hasBits(nativeWindow.getCapabilities(), NativeWindow::CAPABILITY_GET_SURFACE_SIZE)) in getNativeSurfaceSize()
324 return nativeWindow.getSurfaceSize(); in getNativeSurfaceSize()
331 const NativeWindow& nativeWindow, in checkSurfaceSize() argument
335 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/talk/app/webrtc/java/android/org/webrtc/
DEglBase10.java148 private void createSurfaceInternal(Object nativeWindow) { in createSurfaceInternal() argument
149 if (!(nativeWindow instanceof SurfaceHolder) && !(nativeWindow instanceof SurfaceTexture)) { in createSurfaceInternal()
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp144 const Window& nativeWindow, in createSurface() argument
156 … const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); in createSurface()
172 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); in createSurface()
188 …WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); in createSurface()
203 …AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); in createSurface()
218 …nst Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); in createSurface()
233 …nst MacOSWindowInterface& macOSWindow = dynamic_cast<const MacOSWindowInterface&>(nativeWindow); in createSurface()
255 const Window& nativeWindow, in createSurface() argument
259 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/angle/src/tests/egl_tests/
DEGLDirectCompositionTest.cpp53 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp() local
79 CreateDesktopWindowTarget(mCompositor, static_cast<HWND>(nativeWindow), mDesktopTarget); in testSetUp()
/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.cpp1196 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); in createSurfaceInitialSizeTest() local
1197 …ace (createSurface(instHelper.vki, instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in createSurfaceInitialSizeTest()
1226 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); in resizeSurfaceTest() local
1229 …ace (createSurface(instHelper.vki, instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in resizeSurfaceTest()
1246 nativeWindow->resize(testSize); in resizeSurfaceTest()
/external/angle/src/libANGLE/
DvalidationEGL.h252 void *nativeWindow,

12