Home
last modified time | relevance | path

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

123

/external/mesa3d/src/glx/
Ddri3_glx.c105 struct dri3_screen *psc = (struct dri3_screen *) priv->base.psc; in glx_dri3_in_current_context() local
107 return (&pcp->base != &dummyContext) && pcp->base.psc == &psc->base; in glx_dri3_in_current_context()
124 struct dri3_screen *psc = (struct dri3_screen *) pcp->base.psc; in glx_dri3_get_dri_screen() local
126 return (gc != &dummyContext && psc) ? psc->driScreen : NULL; in glx_dri3_get_dri_screen()
140 ((struct dri3_screen *) priv->base.psc)->show_fps_interval; in glx_dri3_show_fps()
175 struct dri3_screen *psc = (struct dri3_screen *) context->psc; in dri3_destroy_context() local
181 (*psc->core->destroyContext) (pcp->driContext); in dri3_destroy_context()
191 struct dri3_screen *psc = (struct dri3_screen *) pcp->base.psc; in dri3_bind_context() local
210 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read)) in dri3_bind_context()
214 (*psc->f->invalidate)(dri_draw); in dri3_bind_context()
[all …]
Ddri2_glx.c117 struct dri2_screen *psc = (struct dri2_screen *) context->psc; in dri2_destroy_context() local
123 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context()
133 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_bind_context() local
136 struct glx_display *dpyPriv = psc->base.display; in dri2_bind_context()
154 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read)) in dri2_bind_context()
162 dri2InvalidateBuffers(psc->base.dpy, pdraw->base.xDrawable); in dri2_bind_context()
164 dri2InvalidateBuffers(psc->base.dpy, pread->base.xDrawable); in dri2_bind_context()
174 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_unbind_context() local
176 (*psc->core->unbindContext) (pcp->driContext); in dri2_unbind_context()
185 struct dri2_screen *psc = (struct dri2_screen *) base; in dri2_create_context() local
[all …]
Ddrisw_glx.c100 Display *dpy = pdraw->psc->dpy; in swrastGetDrawableInfo()
142 Display *dpy = pdraw->psc->dpy; in swrastPutImage2()
186 Display *dpy = pread->psc->dpy; in swrastGetImage2()
234 struct drisw_screen *psc = (struct drisw_screen *) context->psc; in drisw_destroy_context() local
240 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context()
250 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_bind_context() local
258 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context()
270 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_unbind_context() local
272 (*psc->core->unbindContext) (pcp->driContext); in drisw_unbind_context()
284 struct drisw_screen *psc; in drisw_bind_tex_image() local
[all …]
Ddri_glx.c320 struct glx_screen *psc = glxDraw->psc; in __glXReportDamage() local
321 Display *dpy = psc->dpy; in __glXReportDamage()
330 drawable = RootWindow(dpy, psc->scr); in __glXReportDamage()
371 struct glx_screen *psc = glxDraw->psc; in __glXDRIGetDrawableInfo() local
372 Display *dpy = psc->dpy; in __glXDRIGetDrawableInfo()
374 return XF86DRIGetDrawableInfo(dpy, psc->scr, glxDraw->drawable, in __glXDRIGetDrawableInfo()
410 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen() argument
526 psp = (*psc->legacy->createNewScreen) (scrn, in CallCreateNewScreen()
534 &driver_configs, psc); in CallCreateNewScreen()
541 configs = driConvertConfigs(psc->core, psc->base.configs, driver_configs); in CallCreateNewScreen()
[all …]
Ddri_common_query_renderer.c85 struct dri2_screen *const psc = (struct dri2_screen *) base; in dri2_query_renderer_integer() local
94 if (psc->rendererQuery == NULL) in dri2_query_renderer_integer()
97 ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute, in dri2_query_renderer_integer()
108 struct dri2_screen *const psc = (struct dri2_screen *) base; in dri2_query_renderer_string() local
116 if (psc->rendererQuery == NULL) in dri2_query_renderer_string()
119 return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value); in dri2_query_renderer_string()
128 struct dri3_screen *const psc = (struct dri3_screen *) base; in dri3_query_renderer_integer() local
137 if (psc->rendererQuery == NULL) in dri3_query_renderer_integer()
140 ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute, in dri3_query_renderer_integer()
151 struct dri3_screen *const psc = (struct dri3_screen *) base; in dri3_query_renderer_string() local
[all …]
Dquery_renderer.c29 __glXQueryRendererInteger(struct glx_screen *psc, int attribute, in __glXQueryRendererInteger() argument
39 if (psc->vtable->query_renderer_integer == NULL) in __glXQueryRendererInteger()
67 err = psc->vtable->query_renderer_integer(psc, attribute, buffer); in __glXQueryRendererInteger()
83 struct glx_screen *psc; in glXQueryRendererIntegerMESA() local
91 psc = GetGLXScreenConfigs(dpy, screen); in glXQueryRendererIntegerMESA()
92 if (psc == NULL) in glXQueryRendererIntegerMESA()
101 return __glXQueryRendererInteger(psc, attribute, value); in glXQueryRendererIntegerMESA()
112 return __glXQueryRendererInteger(gc->psc, attribute, value); in glXQueryCurrentRendererIntegerMESA()
116 __glXQueryRendererString(struct glx_screen *psc, int attribute) in __glXQueryRendererString() argument
124 if (psc->vtable->query_renderer_integer == NULL) in __glXQueryRendererString()
[all …]
Ddri_common_interop.c39 struct dri2_screen *psc = (struct dri2_screen*)ctx->psc; in dri2_interop_query_device_info() local
42 if (!psc->interop) in dri2_interop_query_device_info()
45 return psc->interop->query_device_info(drictx->driContext, out); in dri2_interop_query_device_info()
53 struct dri2_screen *psc = (struct dri2_screen*)ctx->psc; in dri2_interop_export_object() local
56 if (!psc->interop) in dri2_interop_export_object()
59 return psc->interop->export_object(drictx->driContext, in, out); in dri2_interop_export_object()
68 struct dri3_screen *psc = (struct dri3_screen*)ctx->psc; in dri3_interop_query_device_info() local
71 if (!psc->interop) in dri3_interop_query_device_info()
74 return psc->interop->query_device_info(drictx->driContext, out); in dri3_interop_query_device_info()
82 struct dri3_screen *psc = (struct dri3_screen*)ctx->psc; in dri3_interop_export_object() local
[all …]
Ddriwindows_glx.c166 struct driwindows_screen *psc = (struct driwindows_screen *) base; in driwindows_create_context() local
169 if (!psc->base.driScreen) in driwindows_create_context()
192 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { in driwindows_create_context()
223 struct driwindows_screen *psc = (struct driwindows_screen *) base; in driwindows_create_context_attribs() local
243 if (!psc->base.driScreen) in driwindows_create_context_attribs()
267 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { in driwindows_create_context_attribs()
304 struct driwindows_screen *psc = (struct driwindows_screen *) base; in driwindowsCreateDrawable() local
312 pdp->base.psc = &psc->base; in driwindowsCreateDrawable()
325 if (!XWindowsDRIQueryDrawable(psc->base.dpy, base->scr, drawable, &type, &handle)) in driwindowsCreateDrawable()
386 struct driwindows_screen *psc = (struct driwindows_screen *) base; in driwindowsDestroyScreen() local
[all …]
Dglxcmds.c260 struct glx_screen *psc, struct glx_config *config) in glx_context_init() argument
262 gc->majorOpcode = __glXSetupForCommand(psc->display->dpy); in glx_context_init()
266 gc->screen = psc->scr; in glx_context_init()
267 gc->psc = psc; in glx_context_init()
288 struct glx_screen *psc; in CreateContext() local
293 psc = GetGLXScreenConfigs(dpy, screen); in CreateContext()
294 if (psc == NULL) in CreateContext()
302 gc = applegl_create_context(psc, config, shareList, renderType); in CreateContext()
304 if (allowDirect && psc->vtable->create_context) in CreateContext()
305 gc = psc->vtable->create_context(psc, config, shareList, renderType); in CreateContext()
[all …]
Dglxext.c210 struct glx_screen *psc; in FreeScreenConfigs() local
216 psc = priv->screens[i]; in FreeScreenConfigs()
217 glx_screen_cleanup(psc); in FreeScreenConfigs()
220 if (psc->driScreen) { in FreeScreenConfigs()
221 psc->driScreen->destroyScreen(psc); in FreeScreenConfigs()
223 free(psc); in FreeScreenConfigs()
226 free(psc); in FreeScreenConfigs()
676 getVisualConfigs(struct glx_screen *psc, in getVisualConfigs() argument
685 psc->visuals = NULL; in getVisualConfigs()
694 psc->visuals = createConfigsFromProperties(dpy, in getVisualConfigs()
[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()
177 struct glx_screen *psc; in applegl_create_screen() local
179 psc = calloc(1, sizeof *psc); in applegl_create_screen()
[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_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB()
Dindirect_glx.c138 Display *dpy = gc->psc->dpy; in indirect_bind_context()
141 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { in indirect_bind_context()
161 Display *dpy = gc->psc->dpy; in indirect_unbind_context()
170 if (!new || new->isDirect || new->psc->dpy != dpy) { in indirect_unbind_context()
343 indirect_create_context(struct glx_screen *psc, in indirect_create_context() argument
352 opcode = __glXSetupForCommand(psc->dpy); in indirect_create_context()
364 glx_context_init(gc, psc, mode); in indirect_create_context()
385 bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq; in indirect_create_context()
476 struct glx_screen *psc; in indirect_create_screen() local
478 psc = calloc(1, sizeof *psc); in indirect_create_screen()
[all …]
Dglxclient.h109 void (*destroyScreen)(struct glx_screen *psc);
111 struct glx_context *(*createContext)(struct glx_screen *psc,
116 __GLXDRIdrawable *(*createDrawable)(struct glx_screen *psc,
125 int (*getDrawableMSC)(struct glx_screen *psc, __GLXDRIdrawable *pdraw,
143 struct glx_screen *psc; member
299 struct glx_screen *psc; member
445 struct glx_screen *psc, struct glx_config *fbconfig);
487 struct glx_context *(*create_context)(struct glx_screen *psc,
492 struct glx_context *(*create_context_attribs)(struct glx_screen *psc,
498 int (*query_renderer_integer)(struct glx_screen *psc,
[all …]
Ddri_common.c194 return __glxGetMscRate(glxDraw->psc, numerator, denominator); in __driGetMSCRate()
400 driInferDrawableConfig(struct glx_screen *psc, GLXDrawable draw) in driInferDrawableConfig() argument
404 if (__glXGetDrawableAttribute(psc->dpy, draw, GLX_FBCONFIG_ID, &fbconfig)) { in driInferDrawableConfig()
405 return glx_config_find_fbconfig(psc->configs, fbconfig); in driInferDrawableConfig()
414 struct glx_display *const priv = __glXInitialize(gc->psc->dpy); in driFetchDrawable()
416 struct glx_screen *psc; in driFetchDrawable() local
425 psc = priv->screens[gc->screen]; in driFetchDrawable()
435 config = driInferDrawableConfig(gc->psc, glxDrawable); in driFetchDrawable()
439 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, glxDrawable, in driFetchDrawable()
459 const struct glx_display *priv = gc->psc->display; in driReleaseDrawables()
Dglxextensions.c348 static void __glXExtensionsCtrScreen(struct glx_screen * psc);
432 __glXEnableDirectExtension(struct glx_screen * psc, const char *name) in __glXEnableDirectExtension() argument
435 __glXExtensionsCtrScreen(psc); in __glXEnableDirectExtension()
438 name, strlen(name), GL_TRUE, psc->direct_support); in __glXEnableDirectExtension()
510 __glXExtensionsCtrScreen(struct glx_screen * psc) in __glXExtensionsCtrScreen() argument
512 if (psc->ext_list_first_time) { in __glXExtensionsCtrScreen()
513 psc->ext_list_first_time = GL_FALSE; in __glXExtensionsCtrScreen()
514 (void) memcpy(psc->direct_support, direct_glx_support, in __glXExtensionsCtrScreen()
530 __glXExtensionBitIsEnabled(struct glx_screen * psc, unsigned bit) in __glXExtensionBitIsEnabled() argument
534 if (psc != NULL) { in __glXExtensionBitIsEnabled()
[all …]
/external/u-boot/arch/arm/dts/
Dkeystone-k2hk-clocks.dtsi58 compatible = "ti,keystone,psc-clock";
68 compatible = "ti,keystone,psc-clock";
78 compatible = "ti,keystone,psc-clock";
88 compatible = "ti,keystone,psc-clock";
98 compatible = "ti,keystone,psc-clock";
108 compatible = "ti,keystone,psc-clock";
118 compatible = "ti,keystone,psc-clock";
128 compatible = "ti,keystone,psc-clock";
138 compatible = "ti,keystone,psc-clock";
148 compatible = "ti,keystone,psc-clock";
[all …]
Dkeystone-k2l-clocks.dtsi49 compatible = "ti,keystone,psc-clock";
59 compatible = "ti,keystone,psc-clock";
69 compatible = "ti,keystone,psc-clock";
79 compatible = "ti,keystone,psc-clock";
89 compatible = "ti,keystone,psc-clock";
99 compatible = "ti,keystone,psc-clock";
109 compatible = "ti,keystone,psc-clock";
119 compatible = "ti,keystone,psc-clock";
129 compatible = "ti,keystone,psc-clock";
139 compatible = "ti,keystone,psc-clock";
[all …]
Dkeystone-clocks.dtsi165 compatible = "ti,keystone,psc-clock";
176 compatible = "ti,keystone,psc-clock";
186 compatible = "ti,keystone,psc-clock";
197 compatible = "ti,keystone,psc-clock";
207 compatible = "ti,keystone,psc-clock";
217 compatible = "ti,keystone,psc-clock";
227 compatible = "ti,keystone,psc-clock";
237 compatible = "ti,keystone,psc-clock";
247 compatible = "ti,keystone,psc-clock";
257 compatible = "ti,keystone,psc-clock";
[all …]
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h69 fake_glx_context(struct glx_screen *psc, struct glx_config *mode) in fake_glx_context() argument
75 this->screen = psc->scr; in fake_glx_context()
76 this->psc = psc; in fake_glx_context()
103 fake_glx_context_direct(struct glx_screen *psc, struct glx_config *mode) in fake_glx_context_direct() argument
104 : fake_glx_context(psc, mode) in fake_glx_context_direct()
109 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, in create() argument
115 return new fake_glx_context_direct(psc, mode); in create()
118 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs() argument
130 return new fake_glx_context_direct(psc, mode); in create_attribs()
Dcreate_context_unittest.cpp39 struct glx_screen *psc; variable
43 struct glx_screen *psc, struct glx_config *config) in glx_context_init() argument
46 gc->screen = psc->scr; in glx_context_init()
47 gc->psc = psc; in glx_context_init()
64 return psc; in GetGLXScreenConfigs()
141 psc = new fake_glx_screen(NULL, 0, ""); in SetUp()
153 new fake_glx_screen_direct(psc->display, in use_direct_rendering_screen()
154 psc->scr, in use_direct_rendering_screen()
155 psc->serverGLXexts); in use_direct_rendering_screen()
157 delete psc; in use_direct_rendering_screen()
[all …]
Dquery_renderer_unittest.cpp31 extern struct glx_screen *psc;
57 fake_query_renderer_integer(struct glx_screen *psc, int attribute, in fake_query_renderer_integer() argument
60 (void) psc; in fake_query_renderer_integer()
70 fake_query_renderer_string(struct glx_screen *psc, int attribute, in fake_query_renderer_string() argument
73 (void) psc; in fake_query_renderer_string()
107 psc = &scr; in SetUp()
215 psc = NULL; in TEST_F()
373 psc = NULL; in TEST_F()
/external/autotest/server/cros/faft/utils/
Dmode_switcher.py98 psc = self.servo.get_power_state_controller()
99 psc.power_on(psc.REC_ON)
155 psc = self.servo.get_power_state_controller()
156 psc.power_on(psc.REC_ON)
225 psc = self.servo.get_power_state_controller()
226 psc.power_on(psc.REC_ON)
586 psc = self.servo.get_power_state_controller()
587 psc.power_off()
590 psc.power_on(psc.REC_ON)
602 psc = self.servo.get_power_state_controller()
[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);
/external/u-boot/drivers/timer/
Dstm32_timer.c36 u32 psc; member
71 u32 rate, psc; in stm32_timer_probe() local
98 psc = (rate / CONFIG_SYS_HZ_CLOCK) - 1; in stm32_timer_probe()
99 writel(psc, &regs->psc); in stm32_timer_probe()

123