Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 28) sorted by relevance

12

/sdk/emulator/opengl/tests/ut_renderer/
DX11Windowing.cpp38 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 …]
DX11RendererSurface.cpp26 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()
DX11Windowing.h24 int destroyNativeWindow(NativeDisplayType dpy, NativeWindowType win);
DNativeWindowing.h25 virtual int destroyNativeWindow(NativeDisplayType dpy, NativeWindowType win) = 0;
DX11RendererSurface.h33 int destroyNativeWindow(NativeWindowType win);
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglWindowSurface.cpp21 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()
DEglOsApi.h41 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);
DEglMacApi.cpp110 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
DEglWindowSurface.h28 …EglWindowSurface(EglDisplay *dpy, EGLNativeWindowType win,EglConfig* config,unsigned width,unsigne…
32 static bool alreadyAssociatedWithConfig(EGLNativeWindowType win);
DMacNative.h45 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height);
46 bool nsCheckColor(void* win,int colorSize);
DEglX11Api.cpp178 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()
DMacNative.m104 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;
DEglWindowsApi.cpp433 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
DEglImp.cpp473 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/
DNativeLinuxSubWindow.cpp39 …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()
DNativeMacSubWindow.m39 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;
DWindowSurface.cpp55 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()
DNativeWindowsSubWindow.cpp55 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win){ in destroySubWindow() argument
56 PostMessage(win, WM_CLOSE, 0, 0); in destroySubWindow()
DNativeSubWindow.h31 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win);
DFrameBuffer.cpp526 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/
DEclipseUiHelper.java49 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/
Dsetup_gl.m29 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/
DDexDumpAction.java226 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/
DUiManifestPkgAttrNode.java266 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/
Degl.cpp104 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const … in eglCreateWindowSurface() argument
106 return getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); in eglCreateWindowSurface()

12