/sdk/emulator/opengl/tests/ut_renderer/ |
D | X11Windowing.cpp | 38 get_window_pos( Display *disp, Window win, int *px, int *py ) in get_window_pos() argument 42 XTranslateCoordinates( disp, win, DefaultRootWindow(disp), 0, 0, px, py, &child ); in get_window_pos() 47 set_window_pos(Display *disp, Window win, int x, int y) in set_window_pos() argument 67 XMoveWindow(disp, win, x + xAdjust, y + yAdjust); in set_window_pos() 69 get_window_pos(disp, win, &xNew, &yNew); in set_window_pos() 75 XMoveWindow(disp, win, x + xAdjust, y + yAdjust ); in set_window_pos() 110 Window win = XCreateWindow( dpy, in createNativeWindow() local 116 XMapWindow(dpy, win); in createNativeWindow() 118 set_window_pos(dpy, win, X11_wmXPos, X11_wmYPos); in createNativeWindow() 119 return NativeWindowType(win); in createNativeWindow() [all …]
|
D | X11RendererSurface.cpp | 26 int X11RendererSurface::destoryNativeWindow(NativeWindowType win) in destoryNativeWindow() argument 30 Window x11Window = (Window)(win); in destoryNativeWindow() 59 Window win = XCreateWindow( m_display, in createNativeWindow() local 65 XMapWindow(m_display, win); in createNativeWindow() 67 return NativeWindowType(win); in createNativeWindow()
|
D | X11Windowing.h | 24 int destroyNativeWindow(NativeDisplayType dpy, NativeWindowType win);
|
D | NativeWindowing.h | 25 virtual int destroyNativeWindow(NativeDisplayType dpy, NativeWindowType win) = 0;
|
D | X11RendererSurface.h | 33 int destroyNativeWindow(NativeWindowType win);
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
D | EglWindowSurface.cpp | 21 bool EglWindowSurface::alreadyAssociatedWithConfig(EGLNativeWindowType win) { in alreadyAssociatedWithConfig() argument 22 return s_associatedWins.find(win) != s_associatedWins.end(); in alreadyAssociatedWithConfig() 27 EGLNativeWindowType win, in EglWindowSurface() argument 31 m_win(win) in EglWindowSurface() 33 s_associatedWins.insert(win); in EglWindowSurface() 34 m_native = EglOS::createWindowSurface(win); in EglWindowSurface()
|
D | EglOsApi.h | 41 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType win); 42 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win); 44 …bool checkWindowPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win,EglConfi… 48 void swapInterval(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType win,int interval);
|
D | EglMacApi.cpp | 110 bool validNativeWin(EGLNativeDisplayType dpy, EGLNativeWindowType win) { in validNativeWin() argument 112 return nsGetWinDims(win,&width,&height); in validNativeWin() 115 bool validNativeWin(EGLNativeDisplayType dpy, EGLNativeSurfaceType win) { in validNativeWin() argument 116 return validNativeWin(dpy,(EGLNativeWindowType)win); in validNativeWin() 125 bool checkWindowPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,un… in checkWindowPixelFormatMatch() argument 127 bool ret = nsGetWinDims(win,width,height); in checkWindowPixelFormatMatch() 132 bool match = nsCheckColor(win,r + g + b); in checkWindowPixelFormatMatch() 205 void swapInterval(EGLNativeDisplayType dpy,EGLNativeSurfaceType win,int interval){ in swapInterval() argument
|
D | EglWindowSurface.h | 28 …EglWindowSurface(EglDisplay *dpy, EGLNativeWindowType win,EglConfig* config,unsigned width,unsigne… 32 static bool alreadyAssociatedWithConfig(EGLNativeWindowType win);
|
D | MacNative.h | 45 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height); 46 bool nsCheckColor(void* win,int colorSize);
|
D | EglX11Api.cpp | 178 bool validNativeWin(EGLNativeDisplayType dpy,EGLNativeWindowType win) { in validNativeWin() argument 183 if(!XGetGeometry(dpy,win,&root,&tmp,&tmp,&utmp,&utmp,&utmp,&utmp)) return false; in validNativeWin() 187 bool validNativeWin(EGLNativeDisplayType dpy,EGLNativeSurfaceType win) { in validNativeWin() argument 188 if (!win) return false; in validNativeWin() 189 return validNativeWin(dpy,win->srfc()); in validNativeWin() 201 bool checkWindowPixelFormatMatch(EGLNativeDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,un… in checkWindowPixelFormatMatch() argument 210 if(!XGetGeometry(dpy,win,&root,&x,&y,width,height,&border,&depth)) return false; in checkWindowPixelFormatMatch() 282 void swapInterval(EGLNativeDisplayType dpy,EGLNativeSurfaceType win,int interval){ in swapInterval() argument 290 if(glXSwapIntervalEXT && win) { in swapInterval() 291 glXSwapIntervalEXT(dpy,win->srfc(),interval); in swapInterval()
|
D | MacNative.m | 104 NSView* win = (NSView *)nativeWin; 107 } else if (win != nil) { 109 [ctx setView: win]; 152 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height){ 153 NSView* view = (NSView*)win; 163 bool nsCheckColor(void* win,int colorSize){ 164 NSView* view = (NSView*)win;
|
D | EglWindowsApi.cpp | 433 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win) { in validNativeWin() argument 434 return IsWindow(win); in validNativeWin() 437 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType win) { in validNativeWin() argument 438 if (!win) return false; in validNativeWin() 439 return validNativeWin(dpy,win->getHwnd()); in validNativeWin() 448 bool checkWindowPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win,EglConfig… in checkWindowPixelFormatMatch() argument 450 if(!GetClientRect(win,&r)) return false; in checkWindowPixelFormatMatch() 453 HDC dc = GetDC(win); in checkWindowPixelFormatMatch() 576 void swapInterval(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType win,int interval) { in swapInterval() argument
|
D | EglImp.cpp | 473 EGLNativeWindowType win, in eglCreateWindowSurface() argument 481 if(!EglOS::validNativeWin(dpy->nativeType(),win)) { in eglCreateWindowSurface() 487 if(EglWindowSurface::alreadyAssociatedWithConfig(win)) { in eglCreateWindowSurface() 492 if(!EglOS::checkWindowPixelFormatMatch(dpy->nativeType(),win,cfg,&width,&height)) { in eglCreateWindowSurface() 495 SurfacePtr wSurface(new EglWindowSurface(dpy, win,cfg,width,height)); in eglCreateWindowSurface()
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
D | NativeLinuxSubWindow.cpp | 39 …Window win = XCreateWindow(*display_out,p_window,x,y, width,height,0,CopyFromParent,CopyFromParent… in createSubWindow() local 40 XMapWindow(*display_out,win); in createSubWindow() 42 XIfEvent(*display_out, &e, WaitForMapNotify, (char *)win); in createSubWindow() 43 return win; in createSubWindow() 46 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win){ in destroySubWindow() argument 47 XDestroyWindow(dis, win); in destroySubWindow()
|
D | NativeMacSubWindow.m | 39 NSWindow *win = (NSWindow *)p_window; 40 if (!win) { 45 NSRect content_rect = [win contentRectForFrameRect:[win frame]]; 51 [[win contentView] addSubview:glView]; 52 [win makeKeyAndOrderFront:nil]; 58 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win){ 59 if(win){ 60 NSView *glView = (NSView *)win;
|
D | WindowSurface.cpp | 55 WindowSurface *win = new WindowSurface(); in create() local 56 if (!win) { in create() 59 win->m_fbconf = fbconf; in create() 68 if (!win->resizePbuffer(p_width, p_height)) { in create() 69 delete win; in create() 73 win->m_width = p_width; in create() 74 win->m_height = p_height; in create() 76 return win; in create()
|
D | NativeWindowsSubWindow.cpp | 55 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win){ in destroySubWindow() argument 56 PostMessage(win, WM_CLOSE, 0, 0); in destroySubWindow()
|
D | NativeSubWindow.h | 31 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win);
|
D | FrameBuffer.cpp | 526 WindowSurfacePtr win( WindowSurface::create(p_config, p_width, p_height) ); in createWindowSurface() local 527 if (win.Ptr() != NULL) { in createWindowSurface() 529 m_windows[ret] = win; in createWindowSurface()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | EclipseUiHelper.java | 49 IWorkbenchWindow win = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); in showView() local 50 if (win != null) { in showView() 51 IWorkbenchPage page = win.getActivePage(); in showView()
|
/sdk/emulator/opengl/tests/translator_tests/MacCommon/ |
D | setup_gl.m | 29 NSWindow *win = (NSWindow *)nsWindowPtr; 30 [[win contentView] addSubview:glView]; 31 [win makeKeyAndOrderFront:nil];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
D | DexDumpAction.java | 226 IWorkbenchWindow win = wb == null ? null : wb.getActiveWorkbenchWindow(); in runDexDump() 227 final IWorkbenchPage page = win == null ? null : win.getActivePage(); in runDexDump()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
D | UiManifestPkgAttrNode.java | 266 IWorkbenchWindow win = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); in displayExistingManifest() local 267 if (win != null) { in displayExistingManifest() 268 IWorkbenchPage page = win.getActivePage(); in displayExistingManifest()
|
/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
D | egl.cpp | 104 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const … in eglCreateWindowSurface() argument 106 return getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); in eglCreateWindowSurface()
|