| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_surfaces.c | 38 struct pipe_surface *ps; local 45 ps = cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level)); 51 ps = us->u.array[level]; 54 if(ps && ps->context == ctx) 56 p_atomic_inc(&ps->reference.count); 57 *res = ps; 61 ps = (struct pipe_surface *)CALLOC(1, surface_struct_size); 62 if (!ps) 68 pipe_surface_init(ctx, ps, pt, level, layer) 116 struct pipe_surface *ps = us->u.array[i]; local [all...] |
| u_surfaces.h | 61 struct pipe_surface *ps = us->u.array[level]; local 62 if(ps && ps->context == ctx) 64 p_atomic_inc(&ps->reference.count); 65 *res = ps; 85 void util_surfaces_do_detach(struct util_surfaces *us, struct pipe_surface *ps); 88 util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps) 90 if(likely(ps->texture->target == PIPE_TEXTURE_2D || ps->texture->target == PIPE_TEXTURE_RECT)) 92 us->u.array[ps->u.tex.level] = 0 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_surface.c | 132 struct pipe_surface *ps; local 144 ps = CALLOC_STRUCT(pipe_surface); 145 if (ps) { 146 pipe_reference_init(&ps->reference, 1); 147 pipe_resource_reference(&ps->texture, pt); 148 ps->context = pipe; 149 ps->format = surf_tmpl->format; 153 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 154 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 155 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |
| /xsrc/external/mit/glu/dist/src/libnurbs/internals/ |
| curve.cc | 70 REAL *ps = geo->cpts; local 72 ps += qs->offset; 73 ps += qs->index * qs->order * qs->stride; 76 mapdesc->xformSampling( ps, qs->order, qs->stride, spts, stride ); 79 mapdesc->xformCulling( ps, qs->order, qs->stride, cpts, stride );
|
| quilt.cc | 84 REAL *ps = cpts; local 85 ps += qspec[0].offset; 86 ps += qspec[1].offset; 90 _glu_dprintf( "%g ", ps[i*qspec[0].stride + j*qspec[1].stride + k] ); 124 REAL *ps = cpts; local 125 ps += qspec[0].offset; 126 ps += qspec[1].offset; 127 ps += qspec[0].index * qspec[0].order * qspec[0].stride; 128 ps += qspec[1].index * qspec[1].order * qspec[1].stride; 129 backend.surfpts( mapdesc->getType(), ps, 139 REAL *ps = cpts; local [all...] |
| /xsrc/external/mit/libXmu/dist/test/ |
| EditResStream.c | 34 ProtocolStream ps = { 0, 0, NULL, NULL, NULL }; local 48 _XEditResResetStream(&ps); 50 _XEditResPut8(&ps, 8); 51 _XEditResPut16(&ps, 16); 52 _XEditResPut16(&ps, 0xface); 53 _XEditResPut32(&ps, 32); 54 _XEditResPut32(&ps, 0xbabeface); 55 _XEditResPutString8(&ps, test_string); 56 _XEditResPutWidgetInfo(&ps, &i); 60 ps.current = ps.top [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_winproc.c | 53 PAINTSTRUCT ps; /* Paint structure. */ local 90 BeginPaint(hwnd, &ps); /* Must have this for some Win32 reason. */ 91 EndPaint(hwnd, &ps);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| i915_clear.c | 231 struct pipe_surface *ps = framebuffer->cbufs[i]; local 233 if (ps) { 234 pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width, 235 ps->height, true); 241 struct pipe_surface *ps = framebuffer->zsbuf; local 242 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL, 243 depth, stencil, 0, 0, ps->width, ps->height,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/ |
| sb_psi_ops.cpp | 93 int ps = !predsel ? 3 : predsel == sh.get_pred_sel(0) ? 1 : 2; local 97 if (val->def->subtype == NST_PSI && ps == 3) { 109 if ((ps_mask & ps) == ps) { 113 ps_mask |= ps;
|
| sb_ssa_builder.cpp | 314 value* ps = sh.get_pred_sel(an->bc.pred_sel - PRED_SEL_0); local 315 if (pn->src[4] == ps)
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_cb_eglimage.c | 242 struct pipe_surface *ps, surf_tmpl; local 249 ps = pipe->create_surface(pipe, stimg.texture, &surf_tmpl); 252 if (!ps) 255 strb->Base.Format = st_pipe_format_to_mesa_format(ps->format); 256 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); 259 st_set_ws_renderbuffer_surface(strb, ps); 260 pipe_surface_reference(&ps, NULL);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| i915_clear.c | 229 struct pipe_surface *ps = framebuffer->cbufs[i]; local 231 if (ps) { 232 pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width, 233 ps->height, true); 239 struct pipe_surface *ps = framebuffer->zsbuf; local 240 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL, 242 0, 0, ps->width, ps->height, true);
|
| i915_surface.c | 360 struct pipe_surface *ps; local 367 ps = CALLOC_STRUCT(pipe_surface); 368 if (ps) { 370 pipe_reference_init(&ps->reference, 1); 371 pipe_resource_reference(&ps->texture, pt); 372 ps->format = surf_tmpl->format; 373 ps->width = u_minify(width0, surf_tmpl->u.tex.level); 374 ps->height = u_minify(height0, surf_tmpl->u.tex.level); 375 ps->u.tex.level = surf_tmpl->u.tex.level; 376 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/ |
| sb_psi_ops.cpp | 93 int ps = !predsel ? 3 : predsel == sh.get_pred_sel(0) ? 1 : 2; local 97 if (val->def->subtype == NST_PSI && ps == 3) { 109 if ((ps_mask & ps) == ps) { 113 ps_mask |= ps;
|
| sb_ssa_builder.cpp | 314 value* ps = sh.get_pred_sel(an->bc.pred_sel - PRED_SEL_0); local 315 if (pn->src[4] == ps)
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_cb_eglimage.c | 149 struct pipe_surface *ps, surf_tmpl; local 156 ps = pipe->create_surface(pipe, stimg.texture, &surf_tmpl); 159 if (!ps) 162 strb->Base.Format = st_pipe_format_to_mesa_format(ps->format); 163 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); 166 st_set_ws_renderbuffer_surface(strb, ps); 167 pipe_surface_reference(&ps, NULL);
|
| /xsrc/external/mit/libXpm/dist/src/ |
| hashtab.c | 159 xpmHashAtom *ps = xpmHashSlot(table, (*p)->name); local 161 *ps = *p;
|
| /xsrc/external/mit/xorg-server.old/dist/render/ |
| mitrap.c | 141 PictureScreenPtr ps = GetPictureScreen(pScreen); local 149 (*ps->RasterizeTrapezoid) (pDst, traps, 0, 0); 170 (*ps->RasterizeTrapezoid) (pPicture, traps,
|
| mitri.c | 81 PictureScreenPtr ps = GetPictureScreen(pScreen); local 88 (*ps->AddTriangles) (pDst, 0, 0, ntri, tris); 108 (*ps->AddTriangles) (pPicture, -bounds.x1, -bounds.y1, ntri, tris); 140 PictureScreenPtr ps = GetPictureScreen(pScreen); local 156 (*ps->Triangles) (op, pSrc, pDst, maskFormat, xSrc, ySrc, ntri, tris); 171 PictureScreenPtr ps = GetPictureScreen(pScreen); local 189 (*ps->Triangles) (op, pSrc, pDst, maskFormat, xSrc, ySrc, ntri, tris);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_surface.c | 187 struct pipe_surface *ps; local 199 ps = CALLOC_STRUCT(pipe_surface); 200 if (ps) { 201 pipe_reference_init(&ps->reference, 1); 202 pipe_resource_reference(&ps->texture, pt); 203 ps->context = pipe; 204 ps->format = surf_tmpl->format; 208 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 209 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 210 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_state_draw.cpp | 55 struct si_shader *ps = sctx->shader.ps.current; local 56 struct si_shader_info *psinfo = ps ? &ps->selector->info : NULL; 114 struct si_shader *old_ps = sctx->shader.ps.current; 116 old_ps ? old_ps->key.part.ps.epilog.spi_shader_col_format : 0; 248 r = si_shader_select(ctx, &sctx->shader.ps); 251 si_pm4_bind_state(sctx, ps, sctx->shader.ps.current); 253 if (si_pm4_state_changed(sctx, ps) || [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| sp_texture.c | 295 struct pipe_surface *ps; local 297 ps = CALLOC_STRUCT(pipe_surface); 298 if (ps) { 299 pipe_reference_init(&ps->reference, 1); 300 pipe_resource_reference(&ps->texture, pt); 301 ps->context = pipe; 302 ps->format = surf_tmpl->format; 305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 307 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/ |
| swr_context.cpp | 49 struct pipe_surface *ps; local 51 ps = CALLOC_STRUCT(pipe_surface); 52 if (ps) { 53 pipe_reference_init(&ps->reference, 1); 54 pipe_resource_reference(&ps->texture, pt); 55 ps->context = pipe; 56 ps->format = surf_tmpl->format; 59 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 60 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 61 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| sp_texture.c | 295 struct pipe_surface *ps; local 297 ps = CALLOC_STRUCT(pipe_surface); 298 if (ps) { 299 pipe_reference_init(&ps->reference, 1); 300 pipe_resource_reference(&ps->texture, pt); 301 ps->context = pipe; 302 ps->format = surf_tmpl->format; 305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 307 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/ |
| swr_context.cpp | 49 struct pipe_surface *ps; local 51 ps = CALLOC_STRUCT(pipe_surface); 52 if (ps) { 53 pipe_reference_init(&ps->reference, 1); 54 pipe_resource_reference(&ps->texture, pt); 55 ps->context = pipe; 56 ps->format = surf_tmpl->format; 59 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 60 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 61 ps->u.tex.level = surf_tmpl->u.tex.level [all...] |