/hardware/libhardware/tests/hwc/ |
D | cnativewindow.c | 125 CNativeWindow *win = from_base(base); in cnw_set_swap_interval() local 126 if (win->fb && win->fb->setSwapInterval) in cnw_set_swap_interval() 127 return win->fb->setSwapInterval(win->fb, interval); in cnw_set_swap_interval() 132 CNativeWindow *win = from_base(base); in cnw_dequeue_buffer1() local 135 pthread_mutex_lock(&win->lock); in cnw_dequeue_buffer1() 137 while ((cnb = get_front(&win->free_buffer_queue)) == 0) { in cnw_dequeue_buffer1() 138 pthread_cond_wait(&win->cvar, &win->lock); in cnw_dequeue_buffer1() 146 pthread_mutex_unlock(&win->lock); in cnw_dequeue_buffer1() 180 static void hwc_post(CNativeWindow *win, aBuffer *buf, int ffd) { in hwc_post() argument 181 hwc_composer_device_1_t *hwc = win->hwc; in hwc_post() [all …]
|
D | util.h | 34 void cnw_destroy(struct CNativeWindow *win); 35 void cnw_info(struct CNativeWindow *win,
|
/hardware/google/gfxstream/host/gl/glestranslator/EGL/ |
D | EglWindowSurface.cpp | 29 bool EglWindowSurface::alreadyAssociatedWithConfig(EGLNativeWindowType win) { in alreadyAssociatedWithConfig() argument 30 return s_associatedWins()->find(win) != s_associatedWins()->end(); in alreadyAssociatedWithConfig() 34 EGLNativeWindowType win, in EglWindowSurface() argument 39 m_win(win) { in EglWindowSurface() 40 s_associatedWins()->insert(win); in EglWindowSurface() 42 m_native = engine->createWindowSurface(config->nativeFormat(), win); in EglWindowSurface()
|
D | EglOsApi_egl.cpp | 271 EGLNativeWindowType win = 0) in EglOsEglSurface() argument 272 : EglOS::Surface(type), mHndl(eglSurface), mWin(win) {} in EglOsEglSurface() 307 Surface* createWindowSurface(PixelFormat* pf, EGLNativeWindowType win); 312 bool isValidNativeWin(Surface* win); 313 bool isValidNativeWin(EGLNativeWindowType win); 314 bool checkWindowPixelFormatMatch(EGLNativeWindowType win, 686 EGLNativeWindowType win) { in createWindowSurface() argument 698 win = nsGetLayer(win); in createWindowSurface() 701 mDisplay, ((EglOsEglPixelFormat*)pf)->mConfigId, win, surface_attribs.data() in createWindowSurface() 708 return new EglOsEglSurface(EglOS::Surface::WINDOW, surface, win); in createWindowSurface() [all …]
|
D | EglOsApi_darwin.cpp | 222 virtual bool isValidNativeWin(EglOS::Surface* win) { in isValidNativeWin() argument 224 if (!win) { return false; } in isValidNativeWin() 226 if (win->type() != MacSurface::WINDOW) { in isValidNativeWin() 229 return isValidNativeWin(MacSurface::from(win)->handle()); in isValidNativeWin() 233 virtual bool isValidNativeWin(EGLNativeWindowType win) { in isValidNativeWin() argument 235 if (!win) return false; in isValidNativeWin() 236 return nsGetWinDims(win, &width, &height); in isValidNativeWin() 240 EGLNativeWindowType win, in checkWindowPixelFormatMatch() argument 244 bool ret = nsGetWinDims(win, width, height); in checkWindowPixelFormatMatch() 251 bool match = nsCheckColor(win, r + g + b); in checkWindowPixelFormatMatch()
|
D | EglWindowSurface.h | 29 EGLNativeWindowType win, 38 static bool alreadyAssociatedWithConfig(EGLNativeWindowType win);
|
D | MacNative.h | 73 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height); 74 bool nsCheckColor(void* win,int colorSize);
|
D | MacNative.m | 334 NSView* win = (NSView *)nativeWin; 337 } else if (win != nil) { 339 [ctx setView: win]; 390 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height){ 391 NSView* view = (NSView*)win; 401 bool nsCheckColor(void* win,int colorSize){ 402 NSView* view = (NSView*)win; 419 void* nsGetLayer(void* win) { 420 NSView* view = (NSView*)win;
|
D | EglOsApi.h | 174 virtual bool isValidNativeWin(Surface* win) = 0; 175 virtual bool isValidNativeWin(EGLNativeWindowType win) = 0; 177 virtual bool checkWindowPixelFormatMatch(EGLNativeWindowType win,
|
D | EglOsApi_glx.cpp | 359 virtual bool isValidNativeWin(EglOS::Surface* win) { in isValidNativeWin() argument 360 if (!win) { in isValidNativeWin() 363 return isValidNativeWin(GlxSurface::drawableFor(win)); in isValidNativeWin() 367 virtual bool isValidNativeWin(EGLNativeWindowType win) { in isValidNativeWin() argument 372 if (!getX11Api()->XGetGeometry(mDisplay, win, &root, &t, &t, &u, &u, &u, &u)) { in isValidNativeWin() 379 EGLNativeWindowType win, in checkWindowPixelFormatMatch() argument 398 mDisplay, win, &root, &x, &y, width, height, &border, &depth)) { in checkWindowPixelFormatMatch()
|
D | EglOsApi_wgl.cpp | 990 virtual bool isValidNativeWin(EglOS::Surface* win) { in isValidNativeWin() argument 991 if (!win) { in isValidNativeWin() 994 return isValidNativeWin(WinSurface::from(win)->getHwnd()); in isValidNativeWin() 998 virtual bool isValidNativeWin(EGLNativeWindowType win) { in isValidNativeWin() argument 999 return IsWindow(win); in isValidNativeWin() 1003 EGLNativeWindowType win, in checkWindowPixelFormatMatch() argument 1008 if (!GetClientRect(win, &r)) { in checkWindowPixelFormatMatch() 1013 HDC dc = GetDC(win); in checkWindowPixelFormatMatch() 1018 ReleaseDC(win, dc); in checkWindowPixelFormatMatch()
|
/hardware/google/gfxstream/host/ |
D | NativeSubWindow_cocoa.mm | 68 NSWindow* win = (NSWindow *)p_window; 69 if (!win) { 74 NSRect content_rect = [win contentRectForFrameRect:[win frame]]; 90 [[win contentView] addSubview:glView]; 91 [win makeKeyAndOrderFront:nil]; 101 void destroySubWindow(EGLNativeWindowType win) { 102 if(win){ 103 NSView *glView = (NSView *)win; 116 NSWindow *win = (NSWindow *)p_parent_window; 117 if (!win) { [all …]
|
D | NativeSubWindow_x11.cpp | 60 Window win = x11->XCreateWindow(s_display, in createSubWindow() local 73 x11->XMapWindow(s_display,win); in createSubWindow() 74 x11->XSetWindowBackground(s_display, win, 0); in createSubWindow() 76 x11->XIfEvent(s_display, &e, WaitForMapNotify, (char *)win); in createSubWindow() 78 return win; in createSubWindow() 81 void destroySubWindow(EGLNativeWindowType win) { in destroySubWindow() argument 86 getX11Api()->XDestroyWindow(s_display, win); in destroySubWindow()
|
D | NativeSubWindow_android.cpp | 35 void destroySubWindow(EGLNativeWindowType win) { in destroySubWindow() argument 36 ANativeWindow_release(win); in destroySubWindow()
|
D | NativeSubWindow_win32.cpp | 81 void destroySubWindow(EGLNativeWindowType win){ in destroySubWindow() argument 82 PostMessage(win, WM_CLOSE, 0, 0); in destroySubWindow()
|
D | NativeSubWindow_qnx.cpp | 116 void destroySubWindow(EGLNativeWindowType win) { screen_destroy_window(win); } in destroySubWindow() argument
|
D | NativeSubWindow_stub.cpp | 27 void destroySubWindow(EGLNativeWindowType win) { return; } in destroySubWindow() argument
|
D | NativeSubWindow.h | 58 void destroySubWindow(EGLNativeWindowType win);
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/ |
D | Xfixes.h | 128 Window win, 135 Window win, 141 Window win, 211 XFixesSetWindowShapeRegion (Display *dpy, Window win, int shape_kind, 246 XFixesHideCursor (Display *dpy, Window win); 249 XFixesShowCursor (Display *dpy, Window win); 294 Window win,
|
D | XInput2.h | 336 Window win, 364 Window win, 371 Window win 382 Window win, 388 Window win, 394 Window win, 401 Window win,
|
D | XI2proto.h | 327 Window win; member 340 Window win; member 368 Window win; member 423 Window win; member 507 Window win; member 520 Window win; member
|
/hardware/google/gfxstream/guest/mesa/include/GL/ |
D | glx.h | 250 Window win, const int *attribList ); 290 typedef GLXWindow (* PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const i… 291 typedef void (* PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
|
/hardware/google/gfxstream/host/apigen-codec-common/GL/ |
D | glx.h | 255 Window win, const int *attribList ); 295 typedef GLXWindow (* PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const i… 296 typedef void (* PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
|
D | glxext.h | 532 extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_l… 533 extern void glXDestroyWindow (Display *dpy, GLXWindow win); 551 typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const … 552 typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
|
/hardware/google/gfxstream/host/gl/gl-host-common/ |
D | opengles.cpp | 391 FBNativeWindowType win = (FBNativeWindowType)(uintptr_t)window; in android_showOpenglesWindow() local 392 bool success = sRenderer->showOpenGLSubwindow(win, wx, wy, ww, wh, fbw, fbh, in android_showOpenglesWindow()
|