Home
last modified time | relevance | path

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

/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/swiftshader/src/WSI/
DFrameBufferAndroid.cpp52 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
54 nativeWindow->common.incRef(&nativeWindow->common); in FrameBufferAndroid()
55 native_window_set_usage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
60 nativeWindow->common.decRef(&nativeWindow->common); in ~FrameBufferAndroid()
75 queueBuffer(nativeWindow, buffer, -1); in blit()
81 if(dequeueBuffer(nativeWindow, &buffer) != 0) in lock()
DFrameBufferOSX.mm85 sw::FrameBuffer *createFrameBuffer(void *display, EGLNativeWindowType nativeWindow, int width, int …
87 NSObject *window = reinterpret_cast<NSObject*>(nativeWindow);
DFrameBufferAndroid.hpp42 ANativeWindow *nativeWindow; member in sw::FrameBufferAndroid
/external/swiftshader/src/Main/
DFrameBufferAndroid.cpp52 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
54 nativeWindow->common.incRef(&nativeWindow->common); in FrameBufferAndroid()
55 native_window_set_usage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
60 nativeWindow->common.decRef(&nativeWindow->common); in ~FrameBufferAndroid()
75 queueBuffer(nativeWindow, buffer, -1); in blit()
81 if(dequeueBuffer(nativeWindow, &buffer) != 0) in lock()
DFrameBufferOSX.mm85 sw::FrameBuffer *createFrameBuffer(void *display, EGLNativeWindowType nativeWindow, int width, int …
87 NSObject *window = reinterpret_cast<NSObject*>(nativeWindow);
DFrameBufferAndroid.hpp42 ANativeWindow *nativeWindow; member in sw::FrameBufferAndroid
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp136 const Window& nativeWindow, in createSurface() argument
148 … const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); in createSurface()
164 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); in createSurface()
180 …WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); in createSurface()
196 const MirWindowInterface& mirWindow = dynamic_cast<const MirWindowInterface&>(nativeWindow); in createSurface()
211 …AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); in createSurface()
226 …nst Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); in createSurface()
241 …nst MacOSWindowInterface& macOSWindow = dynamic_cast<const MacOSWindowInterface&>(nativeWindow); in createSurface()
263 const Window& nativeWindow, in createSurface() argument
267 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
DvkWsiUtil.hpp69 const Window& nativeWindow,
77 const Window& nativeWindow,
/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/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/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/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp1143 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); in createSurfaceInitialSizeTest() local
1144 …ce (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in createSurfaceInitialSizeTest()
1173 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); in resizeSurfaceTest() local
1176 …ce (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in resizeSurfaceTest()
1193 nativeWindow->resize(testSize); in resizeSurfaceTest()