/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
H A D | glx_api.c | 896 return NULL; /* invalid config option */ 1757 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, argument 1760 XMesaVisual v = (XMesaVisual) config; 1762 (void) config; 1764 if (!dpy || !config || !value) 1817 GLXFBConfig *config = (GLXFBConfig *) malloc(sizeof(XMesaVisual)); local 1818 if (!config) { 1823 config[0] = (GLXFBConfig) xmvis; 1824 return (GLXFBConfig *) config; 1834 glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config ) 1856 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) argument 1887 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) argument 2007 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) argument 2125 glXCreateNewContext( Display *dpy, GLXFBConfig config, int renderType, GLXContext shareCtx, Bool direct ) argument 2313 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) argument 2329 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) argument 2339 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int renderType, GLXContext shareCtx, Bool direct) argument 2357 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) argument 2380 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attribList) argument 2672 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, GLXContext shareCtx, Bool direct, const int *attrib_list) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_crtc.c | 91 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); local 100 for (i = 0; i < config->num_output; output = NULL, i++) { 101 output = config->output[i]; 314 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); local 321 if (config->cursor) 322 config->cursor->refcnt++; 327 ms->cursor = config->cursor;
|
H A D | xorg_driver.c | 898 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn); local 899 xf86OutputPtr output = config->output[config->compat_output]; 922 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn); local 929 for (o = 0; o < config->num_crtc; o++) { 930 xf86CrtcPtr crtc = config->crtc[o];
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | xvmc_bench.c | 62 void ParseArgs(int argc, char **argv, struct Config *config); 64 void ParseArgs(int argc, char **argv, struct Config *config) argument 69 config->input_width = DEFAULT_INPUT_WIDTH; 70 config->input_height = DEFAULT_INPUT_HEIGHT; 71 config->output_width = 0; 72 config->output_height = 0; 73 config->pipeline = 0; 74 config->mb_types = 0; 75 config->reps = DEFAULT_REPS; 81 if (sscanf(argv[++i], "%u", &config 177 struct Config config; local [all...] |
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_pbuffer.c | 120 apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config, argument 130 struct glx_config *modes = (struct glx_config *) config;
|
H A D | glx_empty.c | 195 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfig config, argument 200 (void) config; 210 glXGetFBConfigAttribSGIX(Display * dpy, void *config, int a, int *b) 213 (void) config; 230 glXCreateGLXPixmapWithConfigSGIX(Display * dpy, void *config, Pixmap p) 233 (void) config; 239 glXCreateContextWithConfigSGIX(Display * dpy, void *config, int a, 243 (void) config; 251 glXGetVisualFromFBConfigSGIX(Display * dpy, void *config) 254 (void) config; [all...] |
/external/mesa3d/src/glx/ |
H A D | applegl_glx.c | 125 struct glx_config *config, 141 if (!glx_context_init(gc, psc, config)) { 150 if(apple_glx_create_context(&gc->driContext, dpy, screen, config, 159 gc->config = config; 124 applegl_create_context(struct glx_screen *psc, struct glx_config *config, struct glx_context *shareList, int renderType) argument
|
H A D | create_context.c | 37 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, argument 42 struct glx_config *const cfg = (struct glx_config *) config;
|
H A D | dri2_glx.c | 87 const __DRI2configQueryExtension *config; member in struct:dri2_screen 187 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 207 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { 214 config->driConfig, shared, pcp); 237 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 272 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) 301 config->driConfig, 352 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 370 if (psc->config) 371 psc->config [all...] |
H A D | dri_common.c | 275 struct glx_config *config, const __DRIconfig *driConfig) 291 if (glxValue != config->renderType) 302 if (glxValue != config->visualRating) 314 if (config->bindToTextureTargets != GLX_DONT_CARE && 315 glxValue != config->bindToTextureTargets) 320 if (!scalarEqual(config, attrib, value)) 330 struct glx_config *config, const __DRIconfig **driConfigs) 336 if (driConfigEqual(core, config, driConfigs[i])) 347 driConfig->base = *config; 364 /* no matching dri config fo 274 driConfigEqual(const __DRIcoreExtension *core, struct glx_config *config, const __DRIconfig *driConfig) argument 329 createDriMode(const __DRIcoreExtension * core, struct glx_config *config, const __DRIconfig **driConfigs) argument [all...] |
H A D | dri_glx.c | 581 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 603 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { 609 config->base.visualID, 617 config->driConfig, 648 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 673 config->driConfig,
|
H A D | drisw_glx.c | 377 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 401 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { 408 config->driConfig, shared, pcp); 428 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base; local 466 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { 488 config->driConfig, 521 __GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) modes; local 543 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp);
|
H A D | glx_pbuffer.c | 191 CreateDRIDrawable(Display *dpy, struct glx_config *config, argument 199 psc = priv->screens[config->screen]; 204 glxdrawable, config); 395 CreateDrawable(Display *dpy, struct glx_config *config, argument 425 req->screen = config->screen; 426 req->fbconfig = config->fbconfigID; 442 if (!CreateDRIDrawable(dpy, config, drawable, xid, attrib_list, i)) { 485 CreatePbuffer(Display * dpy, struct glx_config *config, argument 521 req->screen = config->screen; 522 req->fbconfig = config 630 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list) argument 645 glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int *attrib_list) argument 866 glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list) argument 886 glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const int *attrib_list) argument [all...] |
H A D | glxclient.h | 106 struct glx_config *config, 113 struct glx_config *config); 376 * Pointer to the config used to create this context. 378 struct glx_config *config; member in struct:glx_context 463 * a pointer to the config data for that screen (if the screen supports GL). 467 struct glx_config *config, 472 struct glx_config *config, 752 extern void __glXInitializeVisualConfigFromTags(struct glx_config * config,
|
H A D | glxcmds.c | 201 * \param config Application supplied \c GLXFBConfig. 213 struct glx_config *config; local 217 for (config = priv->screens[i]->configs; config != NULL; 218 config = config->next) { 219 if (config == (struct glx_config *) fbconfig) { 220 return config; 231 struct glx_screen *psc, struct glx_config *config) 239 gc->config 230 glx_context_init(struct glx_context *gc, struct glx_screen *psc, struct glx_config *config) argument 254 CreateContext(Display *dpy, int generic_id, struct glx_config *config, GLXContext shareList_user, Bool allowDirect, unsigned code, int renderType, int screen) argument 358 struct glx_config *config = NULL; local 653 const struct glx_config *config; local 866 struct glx_config *config; local 896 init_fbconfig_for_chooser(struct glx_config * config, GLboolean fbconfig_style_tags) argument 1228 struct glx_config *config; local 1645 struct glx_config *config = (struct glx_config *) fbconfig; local 1667 struct glx_config *config; local 1707 struct glx_config *config = ValidateGLXFBConfig(dpy, fbconfig); local 1720 struct glx_config *config = (struct glx_config *) fbconfig; local 1950 struct glx_config *config = (struct glx_config *) fbconfig; local 1997 struct glx_config *config = (struct glx_config *) fbconfig; local [all...] |
H A D | glxext.c | 366 __glXInitializeVisualConfigFromTags(struct glx_config * config, int count, argument 374 config->visualID = *bp++; 376 config->visualType = convert_from_x_visual_type(*bp++); 378 config->rgbMode = *bp++; 380 config->redBits = *bp++; 381 config->greenBits = *bp++; 382 config->blueBits = *bp++; 383 config->alphaBits = *bp++; 384 config->accumRedBits = *bp++; 385 config [all...] |
/external/mesa3d/src/glx/tests/ |
H A D | create_context_unittest.cpp | 45 struct glx_screen *psc, struct glx_config *config) 50 gc->config = config; 482 EXPECT_EQ(&this->fbc, gc->config); 44 glx_context_init(struct glx_context *gc, struct glx_screen *psc, struct glx_config *config) argument
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
H A D | dri_util.c | 162 const __DRIconfig *config, 170 const struct gl_config *modes = (config != NULL) ? &config->modes : NULL; 300 const __DRIconfig *config, 305 return dri2CreateContextAttribs(screen, api, config, shared, 0, NULL, 310 dri2CreateNewContext(__DRIscreen *screen, const __DRIconfig *config, argument 314 config, shared, data); 471 const __DRIconfig *config, 491 if (!driDriverAPI.CreateBuffer(screen, pdraw, &config->modes, GL_FALSE)) { 161 dri2CreateContextAttribs(__DRIscreen *screen, int api, const __DRIconfig *config, __DRIcontext *shared, unsigned num_attribs, const uint32_t *attribs, unsigned *error, void *data) argument 299 dri2CreateNewContextForAPI(__DRIscreen *screen, int api, const __DRIconfig *config, __DRIcontext *shared, void *data) argument 470 dri2CreateNewDrawable(__DRIscreen *screen, const __DRIconfig *config, void *data) argument
|
H A D | drisw_util.c | 98 const __DRIconfig *config, 106 const struct gl_config *modes = (config != NULL) ? &config->modes : NULL; 190 const __DRIconfig *config, 195 return driCreateContextAttribs(psp, api, config, shared, 0, NULL, 200 driCreateNewContext(__DRIscreen *psp, const __DRIconfig *config, argument 204 config, shared, data); 298 const __DRIconfig *config, void *data) 313 if (!driDriverAPI.CreateBuffer(psp, pdp, &config->modes, GL_FALSE)) { 97 driCreateContextAttribs(__DRIscreen *screen, int api, const __DRIconfig *config, __DRIcontext *shared, unsigned num_attribs, const uint32_t *attribs, unsigned *error, void *data) argument 189 driCreateNewContextForAPI(__DRIscreen *psp, int api, const __DRIconfig *config, __DRIcontext *shared, void *data) argument 297 driCreateNewDrawable(__DRIscreen *psp, const __DRIconfig *config, void *data) argument
|
H A D | utils.c | 499 driGetConfigAttribIndex(const __DRIconfig *config, argument 508 if (config->modes.visualRating == GLX_NON_CONFORMANT_CONFIG) 510 else if (config->modes.visualRating == GLX_SLOW_CONFIG) 521 *value = config->modes.floatMode; 527 ((char *) &config->modes + attribMap[index].offset); 543 driGetConfigAttrib(const __DRIconfig *config, argument 550 return driGetConfigAttribIndex(config, i, value); 564 driIndexConfigAttrib(const __DRIconfig *config, int index, argument 569 return driGetConfigAttribIndex(config, index, value);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_screen.c | 69 __DRIconfig **config; local 71 config = driCreateConfigs(fb_formats[i].format, 80 assert(config); 82 configs = driConcatConfigs(configs, config);
|
H A D | nouveau_surface.c | 39 union nouveau_bo_config config = {}; local 55 config.nv04.surf_pitch = s->pitch; 58 config.nv04.surf_flags = NV04_BO_32BPP; 60 config.nv04.surf_flags = NV04_BO_16BPP; 63 config.nv04.surf_flags |= NV04_BO_ZETA; 71 &config, &s->bo);
|
H A D | nv10_state_fb.c | 65 union nouveau_bo_config config = { local 72 &config, &nfb->hierz.bo); local
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | fakeglx.c | 47 #include "main/config.h" 1955 Fake_glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config, argument 1958 XMesaVisual v = (XMesaVisual) config; 1960 (void) config; 1962 if (!dpy || !config || !value) 2011 GLXFBConfig *config = (GLXFBConfig *) malloc(sizeof(XMesaVisual)); local 2012 if (!config) { 2017 config[0] = (GLXFBConfig) xmvis; 2018 return (GLXFBConfig *) config; 2028 Fake_glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config ) 2050 Fake_glXCreateWindow( Display *dpy, GLXFBConfig config, Window win, const int *attribList ) argument 2081 Fake_glXCreatePixmap( Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList ) argument 2201 Fake_glXCreatePbuffer( Display *dpy, GLXFBConfig config, const int *attribList ) argument 2319 Fake_glXCreateNewContext( Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool direct ) argument 2517 Fake_glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) argument 2530 Fake_glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) argument 2539 Fake_glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct) argument 2566 Fake_glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) argument 2589 Fake_glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attribList) argument [all...] |
H A D | glxapi.c | 450 glXCreateNewContext(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool direct) argument 456 return (t->CreateNewContext)(dpy, config, renderType, shareList, direct); 461 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) argument 467 return (t->CreatePbuffer)(dpy, config, attribList); 472 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) argument 478 return (t->CreatePixmap)(dpy, config, pixmap, attribList); 483 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) argument 489 return (t->CreateWindow)(dpy, config, win, attribList); 535 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *value) argument 541 return (t->GetFBConfigAttrib)(dpy, config, attribut 567 glXGetVisualFromFBConfig(Display *dpy, GLXFBConfig config) argument 762 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) argument 782 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) argument 792 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct) argument 802 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) argument 826 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list) argument [all...] |