Home
last modified time | relevance | path

Searched refs:nativeWindow (Results 1 – 13 of 13) 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/Main/
DFrameBufferAndroid.cpp53 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
55 nativeWindow->common.incRef(&nativeWindow->common); in FrameBufferAndroid()
56 native_window_set_usage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
61 nativeWindow->common.decRef(&nativeWindow->common); in ~FrameBufferAndroid()
76 queueBuffer(nativeWindow, buffer, -1); in blit()
82 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.cpp127 const Window& nativeWindow, in createSurface() argument
139 … const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); in createSurface()
155 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); in createSurface()
171 …WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); in createSurface()
187 const MirWindowInterface& mirWindow = dynamic_cast<const MirWindowInterface&>(nativeWindow); in createSurface()
202 …AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); in createSurface()
217 …nst Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); in createSurface()
240 const Window& nativeWindow, in createSurface() argument
244 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()
/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.cpp236 NativeWindow* nativeWindow = DE_NULL; in createWindow() local
240nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow()
244 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow()
248 delete nativeWindow; in createWindow()
252 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.cpp1037 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); in createSurfaceInitialSizeTest() local
1038 …ce (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in createSurfaceInitialSizeTest()
1067 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); in resizeSurfaceTest() local
1070 …ce (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); in resizeSurfaceTest()
1087 nativeWindow->resize(testSize); in resizeSurfaceTest()