/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
egl.cpp | 74 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) 76 return getDispatch()->eglInitialize(dpy, major, minor); 79 EGLBoolean eglTerminate(EGLDisplay dpy) 81 return getDispatch()->eglTerminate(dpy); 84 const char* eglQueryString(EGLDisplay dpy, EGLint name) 86 return getDispatch()->eglQueryString(dpy, name); 89 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) 91 return getDispatch()->eglGetConfigs(dpy, configs, config_size, num_config); 94 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) 96 return getDispatch()->eglChooseConfig(dpy, attrib_list, configs, config_size, num_config) [all...] |
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglX11Api.cpp | 25 ErrorHandler(EGLNativeDisplayType dpy); 33 static int errorHandlerProc(EGLNativeDisplayType dpy,XErrorEvent* event); 55 ErrorHandler::ErrorHandler(EGLNativeDisplayType dpy){ 57 XSync(dpy,False); 68 int ErrorHandler::errorHandlerProc(EGLNativeDisplayType dpy,XErrorEvent* event){ 81 bool releaseDisplay(EGLNativeDisplayType dpy) { 82 return XCloseDisplay(dpy); 85 EglConfig* pixelFormatToConfig(EGLNativeDisplayType dpy,int renderableType,EGLNativePixelFormatType* frmt){ 96 IS_SUCCESS(glXGetFBConfigAttrib(dpy,*frmt,GLX_TRANSPARENT_TYPE,&tmp)); 104 IS_SUCCESS(glXGetFBConfigAttrib(dpy,*frmt,GLX_TRANSPARENT_RED_VALUE,&tRed)) [all...] |
EglOsApi.h | 36 void queryConfigs(EGLNativeInternalDisplayType dpy,int renderable_type,ConfigsList& listOut); 38 bool destroyContext(EGLNativeInternalDisplayType dpy,EGLNativeContextType ctx); 39 bool releaseDisplay(EGLNativeInternalDisplayType dpy); 40 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType win); 41 bool validNativeWin(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win); 42 bool validNativePixmap(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType pix); 43 bool checkWindowPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativeWindowType win,EglConfig* cfg,unsigned int* width,unsigned int* height); 44 bool checkPixmapPixelFormatMatch(EGLNativeInternalDisplayType dpy,EGLNativePixmapType pix,EglConfig* cfg,unsigned int* width,unsigned int* height); 45 bool makeCurrent(EGLNativeInternalDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType); 46 void swapBuffers(EGLNativeInternalDisplayType dpy,EGLNativeSurfaceType srfc) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/XME/ |
xme.c | 177 #define XiGMiscCheckExtension(dpy,i,val) \ 178 XextCheckExtension (dpy, i, xigmisc_extension_name, val) 179 #define XiGMiscSimpleCheckExtension(dpy,i) \ 180 XextSimpleCheckExtension (dpy, i, xigmisc_extension_name) 230 Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor) 235 XExtDisplayInfo *info = XiGMiscFindDisplay(dpy); 237 if (!XQueryExtension(dpy, XIGMISC_PROTOCOL_NAME, &opcode, &event, &error)) 240 XiGMiscCheckExtension(dpy, info, xFalse); 242 LockDisplay (dpy); 248 if (!_XReply (dpy, (xReply *)&rep, 0, xTrue)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xinerama/ |
Xinerama.c | 43 #define PanoramiXCheckExtension(dpy,i,val) \ 44 XextCheckExtension (dpy, i, panoramiX_extension_name, val) 45 #define PanoramiXSimpleCheckExtension(dpy,i) \ 46 XextSimpleCheckExtension (dpy, i, panoramiX_extension_name) 79 Display *dpy, 84 XExtDisplayInfo *info = find_display (dpy); 97 Display *dpy, 102 XExtDisplayInfo *info = find_display (dpy); 106 PanoramiXCheckExtension (dpy, info, 0); 108 LockDisplay (dpy); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
xf86dga1.h | 48 Display* /* dpy */, 56 Display* /* dpy */, 64 Display* /* dpy */, 75 Display* /* dpy */, 86 Display* /* dpy */, 94 Display* /* dpy */, 102 Display* /* dpy */, 111 Display* /* dpy */, 120 Display* /* dpy */, 128 Display* /* dpy */, [all...] |
xf86dga.h | 142 Display *dpy, 148 Display *dpy, 154 Display *dpy, 160 Display *dpy, 166 Display *dpy, 171 Display *dpy, 176 Display *dpy, 184 Display *dpy, 190 Display *dpy, 197 Display *dpy, [all...] |
Xinerama.h | 17 Display *dpy, 23 Display *dpy, 28 Bool SDL_NAME(XineramaIsActive)(Display *dpy); 41 Display *dpy,
|
xme.h | 31 extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor); 32 extern int XiGMiscQueryViews(Display *dpy, int screen, 34 extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view, 37 extern void XiGMiscChangeResolution(Display *dpy, int screen, int view,
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86vm/ |
XF86VMode.c | 63 #define XF86VidModeCheckExtension(dpy,i,val) \ 64 XextCheckExtension (dpy, i, xf86vidmode_extension_name, val) 102 SDL_NAME(XF86VidModeQueryExtension) (dpy, event_basep, error_basep) 103 Display *dpy; 106 XExtDisplayInfo *info = find_display (dpy); 118 SDL_NAME(XF86VidModeQueryVersion)(dpy, majorVersion, minorVersion) 119 Display* dpy; 123 XExtDisplayInfo *info = find_display (dpy); 127 XF86VidModeCheckExtension (dpy, info, False); 129 LockDisplay(dpy); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/ |
Xv.c | 63 #define XvCheckExtension(dpy, i, val) \ 64 XextCheckExtension(dpy, i, xv_extension_name, val) 107 Display *dpy, 114 XExtDisplayInfo *info = xv_find_display(dpy); 118 XvCheckExtension(dpy, info, XvBadExtension); 120 LockDisplay(dpy); 124 if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { 125 UnlockDisplay(dpy); 136 UnlockDisplay(dpy); 144 Display *dpy, [all...] |
Xvlibint.h | 53 if ((dpy->bufptr + SIZEOF(xv##name##Req)) > dpy->bufmax)\ 54 _XFlush(dpy);\ 55 req = (xv##name##Req *)(dpy->last_req = dpy->bufptr);\ 59 dpy->bufptr += SIZEOF(xv##name##Req);\ 60 dpy->request++ 65 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\ 66 _XFlush(dpy);\ [all...] |
/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 45 EGLDisplay dpy; local 50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 51 eglInitialize(dpy, &majorVersion, &minorVersion); 52 eglGetConfigs(dpy, NULL, 0, &numConfigs); 56 dpy, configAttribs, window, &config); 59 eglTerminate(dpy); 64 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); 65 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); 66 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); 67 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xlibint.h | 131 Display * /* dpy */, 136 Display * /* dpy */, 146 Display * /* dpy */, 181 Display * /* dpy */ 190 #define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n) 254 Display *dpy 261 Display *dpy 404 #define WORD64ALIGN if ((long)dpy->bufptr >> 61) { [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlibint.h | 131 Display * /* dpy */, 136 Display * /* dpy */, 146 Display * /* dpy */, 181 Display * /* dpy */ 190 #define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n) 254 Display *dpy 261 Display *dpy 404 #define WORD64ALIGN if ((long)dpy->bufptr >> 61) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlibint.h | 131 Display * /* dpy */, 136 Display * /* dpy */, 146 Display * /* dpy */, 181 Display * /* dpy */ 190 #define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n) 254 Display *dpy 261 Display *dpy 404 #define WORD64ALIGN if ((long)dpy->bufptr >> 61) { [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/ |
XF86DGA2.c | 45 #define XDGACheckExtension(dpy,i,val) \ 46 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val) 54 static int xdga_close_display(Display *dpy, XExtCodes *codes); 55 static Bool xdga_wire_to_event(Display *dpy, XEvent *event, xEvent *wire_ev); 56 static Status xdga_event_to_wire(Display *dpy, XEvent *event, xEvent *wire_ev); 83 Display *dpy, 92 Display *dpy, 100 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); 102 XDGACheckExtension (dpy, info, False); 108 mevent->serial = _XSetLastRequestRead(dpy, (xGenericReply *)wire) [all...] |
XF86DGA.c | 71 #define XF86DGACheckExtension(dpy,i,val) \ 72 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val) 81 Display *dpy, 85 return SDL_NAME(XDGAQueryExtension)(dpy, event_basep, error_basep); 89 Display* dpy, 93 return SDL_NAME(XDGAQueryVersion)(dpy, majorVersion, minorVersion); 97 Display* dpy, 104 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); 108 XF86DGACheckExtension (dpy, info, False); 110 LockDisplay(dpy); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XTest.h | 55 Display* /* dpy */, 63 Display* /* dpy */, 69 Display* /* dpy */, 74 Display* /* dpy */, 81 Display* /* dpy */, 88 Display* /* dpy */, 96 Display* /* dpy */, 103 Display* /* dpy */, 113 Display* /* dpy */, 123 Display* /* dpy */, [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XTest.h | 55 Display* /* dpy */, 63 Display* /* dpy */, 69 Display* /* dpy */, 74 Display* /* dpy */, 81 Display* /* dpy */, 88 Display* /* dpy */, 96 Display* /* dpy */, 103 Display* /* dpy */, 113 Display* /* dpy */, 123 Display* /* dpy */, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XTest.h | 55 Display* /* dpy */, 63 Display* /* dpy */, 69 Display* /* dpy */, 74 Display* /* dpy */, 81 Display* /* dpy */, 88 Display* /* dpy */, 96 Display* /* dpy */, 103 Display* /* dpy */, 113 Display* /* dpy */, 123 Display* /* dpy */, [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/GL/ |
glx.h | 190 extern XVisualInfo* glXChooseVisual( Display *dpy, int screen, 193 extern GLXContext glXCreateContext( Display *dpy, XVisualInfo *vis, 196 extern void glXDestroyContext( Display *dpy, GLXContext ctx ); 198 extern Bool glXMakeCurrent( Display *dpy, GLXDrawable drawable, 201 extern void glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, 204 extern void glXSwapBuffers( Display *dpy, GLXDrawable drawable ); 206 extern GLXPixmap glXCreateGLXPixmap( Display *dpy, XVisualInfo *visual, 209 extern void glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap ); 211 extern Bool glXQueryExtension( Display *dpy, int *errorb, int *event ); 213 extern Bool glXQueryVersion( Display *dpy, int *maj, int *min ) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
glx.h | 190 extern XVisualInfo* glXChooseVisual( Display *dpy, int screen, 193 extern GLXContext glXCreateContext( Display *dpy, XVisualInfo *vis, 196 extern void glXDestroyContext( Display *dpy, GLXContext ctx ); 198 extern Bool glXMakeCurrent( Display *dpy, GLXDrawable drawable, 201 extern void glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, 204 extern void glXSwapBuffers( Display *dpy, GLXDrawable drawable ); 206 extern GLXPixmap glXCreateGLXPixmap( Display *dpy, XVisualInfo *visual, 209 extern void glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap ); 211 extern Bool glXQueryExtension( Display *dpy, int *errorb, int *event ); 213 extern Bool glXQueryVersion( Display *dpy, int *maj, int *min ) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
glx.h | 190 extern XVisualInfo* glXChooseVisual( Display *dpy, int screen, 193 extern GLXContext glXCreateContext( Display *dpy, XVisualInfo *vis, 196 extern void glXDestroyContext( Display *dpy, GLXContext ctx ); 198 extern Bool glXMakeCurrent( Display *dpy, GLXDrawable drawable, 201 extern void glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, 204 extern void glXSwapBuffers( Display *dpy, GLXDrawable drawable ); 206 extern GLXPixmap glXCreateGLXPixmap( Display *dpy, XVisualInfo *visual, 209 extern void glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap ); 211 extern Bool glXQueryExtension( Display *dpy, int *errorb, int *event ); 213 extern Bool glXQueryVersion( Display *dpy, int *maj, int *min ) [all...] |
/sdk/emulator/opengl/tests/ut_renderer/ |
X11Windowing.cpp | 83 Display *dpy = XOpenDisplay(NULL); local 84 return (NativeDisplayType)dpy; 89 Display *dpy = (Display *) _dpy; local 91 long defaultScreen = DefaultScreen( dpy ); 92 Window rootWindow = RootWindow(dpy, defaultScreen); 93 int depth = DefaultDepth(dpy, defaultScreen); 96 XMatchVisualInfo(dpy, defaultScreen, depth, TrueColor, visualInfo); 102 Colormap x11Colormap = XCreateColormap(dpy, rootWindow, visualInfo->visual, AllocNone); 110 Window win = XCreateWindow( dpy, 116 XMapWindow(dpy, win) 124 Display *dpy = (Display *)_dpy; local [all...] |