Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Ddri2_glx.c125 struct dri2_screen *psc = (struct dri2_screen *) context->psc; in dri2_destroy_context() local
132 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context()
142 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_bind_context() local
154 if (!(*psc->core->bindContext) (pcp->driContext, in dri2_bind_context()
161 pdp = (struct dri2_display *) psc->base.display; in dri2_bind_context()
163 dri2InvalidateBuffers(psc->base.dpy, pdraw->base.xDrawable); in dri2_bind_context()
165 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable); in dri2_bind_context()
175 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_unbind_context() local
177 (*psc->core->unbindContext) (pcp->driContext); in dri2_unbind_context()
186 struct dri2_screen *psc = (struct dri2_screen *) base; in dri2_create_context() local
[all …]
Ddrisw_glx.c138 Display *dpy = pdraw->psc->dpy; in swrastGetDrawableInfo()
180 Display *dpy = pdraw->psc->dpy; in swrastPutImage()
216 Display *dpy = pread->psc->dpy; in swrastGetImage()
254 struct drisw_screen *psc = (struct drisw_screen *) context->psc; in drisw_destroy_context() local
261 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context()
271 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_bind_context() local
282 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context()
293 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_unbind_context() local
295 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context()
307 struct drisw_screen *psc; in drisw_bind_tex_image() local
[all …]
Ddri_glx.c228 struct glx_screen *psc = glxDraw->psc; in __glXReportDamage() local
229 Display *dpy = psc->dpy; in __glXReportDamage()
238 drawable = RootWindow(dpy, psc->scr); in __glXReportDamage()
280 struct glx_screen *psc = glxDraw->psc; in __glXDRIGetDrawableInfo() local
281 Display *dpy = psc->dpy; in __glXDRIGetDrawableInfo()
283 return XF86DRIGetDrawableInfo(dpy, psc->scr, glxDraw->drawable, in __glXDRIGetDrawableInfo()
318 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen() argument
434 psp = (*psc->legacy->createNewScreen) (scrn, in CallCreateNewScreen()
442 &driver_configs, psc); in CallCreateNewScreen()
449 configs = driConvertConfigs(psc->core, psc->base.configs, driver_configs); in CallCreateNewScreen()
[all …]
Dapplegl_glx.c48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); in applegl_destroy_context()
55 Display *dpy = gc->psc->dpy; in applegl_bind_context()
83 dpy = gc->psc->dpy; in applegl_unbind_context()
101 Display *dpy = gc->psc->dpy; in applegl_wait_x()
124 applegl_create_context(struct glx_screen *psc, in applegl_create_context() argument
131 Display *dpy = psc->dpy; in applegl_create_context()
132 int screen = psc->scr; in applegl_create_context()
141 if (!glx_context_init(gc, psc, config)) { in applegl_create_context()
174 struct glx_screen *psc; in applegl_create_screen() local
176 psc = Xmalloc(sizeof *psc); in applegl_create_screen()
[all …]
Dglxcmds.c231 struct glx_screen *psc, struct glx_config *config) in glx_context_init() argument
233 gc->majorOpcode = __glXSetupForCommand(psc->display->dpy); in glx_context_init()
237 gc->screen = psc->scr; in glx_context_init()
238 gc->psc = psc; in glx_context_init()
259 struct glx_screen *psc; in CreateContext() local
264 psc = GetGLXScreenConfigs(dpy, screen); in CreateContext()
265 if (psc == NULL) in CreateContext()
273 gc = applegl_create_context(psc, config, shareList, renderType); in CreateContext()
275 if (allowDirect && psc->vtable->create_context) in CreateContext()
276 gc = psc->vtable->create_context(psc, config, shareList, renderType); in CreateContext()
[all …]
Dglxext.c199 struct glx_screen *psc; in FreeScreenConfigs() local
205 psc = priv->screens[i]; in FreeScreenConfigs()
206 glx_screen_cleanup(psc); in FreeScreenConfigs()
209 if (psc->driScreen) { in FreeScreenConfigs()
210 psc->driScreen->destroyScreen(psc); in FreeScreenConfigs()
212 Xfree(psc); in FreeScreenConfigs()
215 Xfree(psc); in FreeScreenConfigs()
650 getVisualConfigs(struct glx_screen *psc, in getVisualConfigs() argument
659 psc->visuals = NULL; in getVisualConfigs()
668 psc->visuals = createConfigsFromProperties(dpy, in getVisualConfigs()
[all …]
Dcreate_context.c46 struct glx_screen *psc; in glXCreateContextAttribsARB() local
59 psc = GetGLXScreenConfigs(dpy, cfg->screen); in glXCreateContextAttribsARB()
60 if (psc == NULL) in glXCreateContextAttribsARB()
63 assert(cfg->screen == psc->scr); in glXCreateContextAttribsARB()
73 if (direct && psc->vtable->create_context_attribs) { in glXCreateContextAttribsARB()
78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB()
85 gc = applegl_create_context(psc, cfg, share, 0); in glXCreateContextAttribsARB()
87 gc = indirect_create_context(psc, cfg, share, 0); in glXCreateContextAttribsARB()
Dindirect_glx.c134 Display *dpy = gc->psc->dpy; in indirect_bind_context()
137 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { in indirect_bind_context()
164 Display *dpy = gc->psc->dpy; in indirect_unbind_context()
175 if (!new || new->isDirect || new->psc->dpy != dpy) { in indirect_unbind_context()
344 indirect_create_context(struct glx_screen *psc, in indirect_create_context() argument
353 opcode = __glXSetupForCommand(psc->dpy); in indirect_create_context()
366 glx_context_init(gc, psc, mode); in indirect_create_context()
386 bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq; in indirect_create_context()
469 struct glx_screen *psc; in indirect_create_screen() local
471 psc = Xmalloc(sizeof *psc); in indirect_create_screen()
[all …]
Dglxclient.h103 void (*destroyScreen)(struct glx_screen *psc);
105 struct glx_context *(*createContext)(struct glx_screen *psc,
110 __GLXDRIdrawable *(*createDrawable)(struct glx_screen *psc,
119 int (*getDrawableMSC)(struct glx_screen *psc, __GLXDRIdrawable *pdraw,
136 struct glx_screen *psc; member
278 struct glx_screen *psc; member
424 struct glx_screen *psc, struct glx_config *fbconfig);
466 struct glx_context *(*create_context)(struct glx_screen *psc,
471 struct glx_context *(*create_context_attribs)(struct glx_screen *psc,
597 glx_screen_init(struct glx_screen *psc,
[all …]
Dglxextensions.c278 static void __glXExtensionsCtrScreen(struct glx_screen * psc);
362 __glXEnableDirectExtension(struct glx_screen * psc, const char *name) in __glXEnableDirectExtension() argument
365 __glXExtensionsCtrScreen(psc); in __glXEnableDirectExtension()
368 name, strlen(name), GL_TRUE, psc->direct_support); in __glXEnableDirectExtension()
440 __glXExtensionsCtrScreen(struct glx_screen * psc) in __glXExtensionsCtrScreen() argument
442 if (psc->ext_list_first_time) { in __glXExtensionsCtrScreen()
443 psc->ext_list_first_time = GL_FALSE; in __glXExtensionsCtrScreen()
444 (void) memcpy(psc->direct_support, direct_glx_support, in __glXExtensionsCtrScreen()
460 __glXExtensionBitIsEnabled(struct glx_screen * psc, unsigned bit) in __glXExtensionBitIsEnabled() argument
464 if (psc != NULL) { in __glXExtensionBitIsEnabled()
[all …]
Ddri_common.c388 struct glx_display *const priv = __glXInitialize(gc->psc->dpy); in driFetchDrawable()
390 struct glx_screen *psc; in driFetchDrawable() local
395 psc = priv->screens[gc->screen]; in driFetchDrawable()
404 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, in driFetchDrawable()
424 const struct glx_display *priv = gc->psc->display; in driReleaseDrawables()
Dglxextensions.h239 extern GLboolean __glXExtensionBitIsEnabled(struct glx_screen *psc,
242 extern void __glXCalculateUsableExtensions(struct glx_screen *psc,
258 __glXEnableDirectExtension(struct glx_screen *psc, const char *name);
Dglx_pbuffer.c197 struct glx_screen *psc; in CreateDRIDrawable() local
199 psc = priv->screens[config->screen]; in CreateDRIDrawable()
200 if (psc->driScreen == NULL) in CreateDRIDrawable()
203 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h71 fake_glx_context(struct glx_screen *psc, struct glx_config *mode) in fake_glx_context() argument
77 this->screen = psc->scr; in fake_glx_context()
78 this->psc = psc; in fake_glx_context()
91 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs() argument
103 return new fake_glx_context(psc, mode); in create_attribs()
120 fake_glx_context_direct(struct glx_screen *psc, struct glx_config *mode) in fake_glx_context_direct() argument
121 : fake_glx_context(psc, mode) in fake_glx_context_direct()
126 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, in create() argument
132 return new fake_glx_context_direct(psc, mode); in create()
135 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs() argument
[all …]
Dcreate_context_unittest.cpp41 struct glx_screen *psc; variable
45 struct glx_screen *psc, struct glx_config *config) in glx_context_init() argument
48 gc->screen = psc->scr; in glx_context_init()
49 gc->psc = psc; in glx_context_init()
62 return psc; in GetGLXScreenConfigs()
139 psc = new fake_glx_screen(NULL, 0, ""); in SetUp()
151 new fake_glx_screen_direct(psc->display, in use_direct_rendering_screen()
152 psc->scr, in use_direct_rendering_screen()
153 psc->serverGLXexts); in use_direct_rendering_screen()
155 delete psc; in use_direct_rendering_screen()
[all …]
Dfake_glx_screen.cpp50 indirect_create_context(struct glx_screen *psc, struct glx_config *mode, in indirect_create_context() argument
56 return new fake_glx_context(psc, mode); in indirect_create_context()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dglxinit.c190 __GLXscreenConfigs *psc; in FreeScreenConfigs() local
196 psc = priv->screenConfigs[i]; in FreeScreenConfigs()
197 if (!psc) in FreeScreenConfigs()
199 if (psc->configs) { in FreeScreenConfigs()
200 _gl_context_modes_destroy(psc->configs); in FreeScreenConfigs()
201 psc->configs = NULL; /* NOTE: just for paranoia */ in FreeScreenConfigs()
203 Xfree((char *) psc->serverGLXexts); in FreeScreenConfigs()
515 getFBConfigs(__GLXscreenConfigs *psc, __GLXdisplayPrivate *priv, int screen) in getFBConfigs() argument
523 psc->serverGLXexts = in getFBConfigs()
528 psc->configs = NULL; in getFBConfigs()
[all …]
/external/v8/tools/profviz/
Dstdio.js51 var psc = new PlotScriptComposer(kResX, kResY, log_error); variable
52 psc.collectData(readline, distortion_per_entry);
53 psc.findPlotRange(range_start_override, range_end_override);
56 psc.assembleOutput(print);
Dworker.js128 var psc = new PlotScriptComposer(resx, resy, log_error);
135 psc.collectData(input, distortion);
136 psc.findPlotRange(range_start_override,
148 objects = psc.assembleOutput(output);
/external/v8/test/mjsunit/tools/
Dprofviz.js67 var psc = new PlotScriptComposer(resx, resy); variable
68 psc.collectData(input, distortion);
69 psc.findPlotRange(undefined, undefined, set_range);
70 var objects = psc.assembleOutput(output);
/external/autotest/server/cros/faft/utils/
Dmode_switcher.py80 psc = self.servo.get_power_state_controller()
81 psc.power_on(psc.REC_ON)
328 psc = self.servo.get_power_state_controller()
329 psc.power_off()
332 psc.power_on(psc.REC_ON)
341 psc = self.servo.get_power_state_controller()
342 psc.power_off()
343 psc.power_on(psc.REC_OFF)
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c413 ieee802_1x_kay_init_receive_sa(struct receive_sc *psc, u8 an, u32 lowest_pn, in ieee802_1x_kay_init_receive_sa() argument
418 if (!psc || !key) in ieee802_1x_kay_init_receive_sa()
431 psa->sc = psc; in ieee802_1x_kay_init_receive_sa()
436 dl_list_add(&psc->sa_list, &psa->list); in ieee802_1x_kay_init_receive_sa()
439 (int) an, lowest_pn, psc->channel); in ieee802_1x_kay_init_receive_sa()
466 struct receive_sc *psc; in ieee802_1x_kay_init_receive_sc() local
471 psc = os_zalloc(sizeof(*psc)); in ieee802_1x_kay_init_receive_sc()
472 if (!psc) { in ieee802_1x_kay_init_receive_sc()
477 os_memcpy(&psc->sci, psci, sizeof(psc->sci)); in ieee802_1x_kay_init_receive_sc()
478 psc->channel = channel; in ieee802_1x_kay_init_receive_sc()
[all …]
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc65 SCRIPT_CACHE *psc,
84 SCRIPT_CACHE *psc,
132 SCRIPT_CACHE *psc, in hb_ScriptShapeOpenType() argument
151 psc, in hb_ScriptShapeOpenType()
165 SCRIPT_CACHE *psc, in hb_ScriptPlaceOpenType() argument
186 psc, in hb_ScriptPlaceOpenType()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt6028 "psc~e",
/external/chromium-trace/catapult/tracing/test_data/
Dddms_calculator_start.trace55366 ���psc�.���
72075 �psc�/���
89351 �P�psc�� ��
156058 �K�psc �r� ��