/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_surface.c | 73 if (sp->framebuffer.zsbuf != fb->zsbuf) { 78 pipe_surface_reference(&sp->framebuffer.zsbuf, fb->zsbuf); 81 sp_tile_cache_set_surface(sp->zsbuf_cache, fb->zsbuf); 84 if (sp->framebuffer.zsbuf) { 87 depth_bits = util_format_get_component_bits(sp->framebuffer.zsbuf->format,
|
H A D | sp_clear.c | 74 struct pipe_surface *ps = softpipe->framebuffer.zsbuf;
|
H A D | sp_quad_pipe.c | 47 sp->framebuffer.zsbuf &&
|
H A D | sp_flush.c | 94 debug_dump_surface_bmp(softpipe, filename, softpipe->framebuffer.zsbuf);
|
H A D | sp_context.c | 123 pipe_surface_reference(&softpipe->framebuffer.zsbuf, NULL); 177 if (softpipe->framebuffer.zsbuf && 178 softpipe->framebuffer.zsbuf->texture == texture) {
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_framebuffer.c | 68 if (dst->zsbuf != src->zsbuf) { 96 pipe_surface_reference(&dst->zsbuf, src->zsbuf); 109 pipe_surface_reference(&fb->zsbuf, NULL); 133 if (fb->zsbuf) { 134 w = MIN2(w, fb->zsbuf->width); 135 h = MIN2(h, fb->zsbuf->height);
|
H A D | u_clear.h | 54 struct pipe_surface *ps = framebuffer->zsbuf;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_surface.c | 64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); 68 if (lp->framebuffer.zsbuf) { 71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format,
|
H A D | lp_scene.c | 155 if (fb->zsbuf) { 156 struct pipe_surface *zsbuf = scene->fb.zsbuf; local 157 assert(zsbuf->u.tex.first_layer == zsbuf->u.tex.last_layer); 158 scene->zsbuf.stride = llvmpipe_resource_stride(zsbuf->texture, zsbuf->u.tex.level); 159 scene->zsbuf.blocksize = 160 util_format_get_blocksize(zsbuf 194 struct pipe_surface *zsbuf = scene->fb.zsbuf; local [all...] |
H A D | lp_flush.c | 70 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
|
H A D | lp_rast_priv.h | 160 if (!scene->zsbuf.map) { 161 /* Either out of memory or no zsbuf. Can't tell without access 164 * zsbuf. 169 depth = (scene->zsbuf.map + 170 scene->zsbuf.stride * y + 171 scene->zsbuf.blocksize * x * TILE_VECTOR_HEIGHT);
|
H A D | lp_rast.c | 111 struct pipe_surface *zsbuf = task->scene->fb.zsbuf; local 112 if (zsbuf) { 113 struct llvmpipe_resource *lpt = llvmpipe_resource(zsbuf->texture); 124 zsbuf->u.tex.first_layer, 125 zsbuf->u.tex.level, 220 const unsigned block_size = scene->zsbuf.blocksize; 221 const unsigned dst_stride = scene->zsbuf.stride * TILE_VECTOR_HEIGHT;
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_misc.c | 62 pipe_surface_reference(&curr->zsbuf, NULL); 63 pipe_surface_reference(&hw->zsbuf, NULL); 104 if (fb->zsbuf && fb->cbufs[i]) { 105 assert(fb->zsbuf->width == fb->cbufs[i]->width); 106 assert(fb->zsbuf->height == fb->cbufs[i]->height); 114 pipe_surface_reference(&dst->zsbuf, fb->zsbuf); 117 if (svga->curr.framebuffer.zsbuf) 119 switch (svga->curr.framebuffer.zsbuf->format) {
|
H A D | svga_pipe_flush.c | 62 if (0 && fb->zsbuf) { 64 debug_dump_surface_bmp(&svga->pipe, filename, fb->zsbuf);
|
H A D | svga_pipe_clear.c | 70 if ((buffers & PIPE_CLEAR_DEPTHSTENCIL) && fb->zsbuf) { 74 if ((svga->curr.framebuffer.zsbuf->format == PIPE_FORMAT_S8_UINT_Z24_UNORM) && 78 rect.w = MAX2(rect.w, fb->zsbuf->width); 79 rect.h = MAX2(rect.h, fb->zsbuf->height);
|
H A D | svga_state_framebuffer.c | 71 if (curr->zsbuf != hw->zsbuf || 72 (reemit && hw->zsbuf)) { 73 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf); 77 if (curr->zsbuf && 78 curr->zsbuf->format == PIPE_FORMAT_S8_UINT_Z24_UNORM) { 79 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, curr->zsbuf); 89 pipe_surface_reference(&hw->zsbuf, curr->zsbuf); 124 if (hw->zsbuf) { [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_msaa.c | 45 if (framebuffer->zsbuf) 46 sample_count = framebuffer->zsbuf->texture->nr_samples;
|
H A D | st_atom_framebuffer.c | 151 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); 157 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); 160 pipe_surface_reference(&framebuffer->zsbuf, NULL); 168 if (framebuffer->zsbuf) { 169 assert(framebuffer->zsbuf->texture->bind & PIPE_BIND_DEPTH_STENCIL);
|
/external/mesa3d/src/gallium/drivers/rbug/ |
H A D | rbug_context.h | 57 struct rbug_resource *zsbuf; member in struct:rbug_context::__anon14659
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/ |
H A D | d3d11spikysphere.cpp | 157 ID3D11Texture2D* zsbuf; local 167 ensure(dev->CreateTexture2D(&zsbufd, 0, &zsbuf)); 168 ensure(dev->CreateDepthStencilView(zsbuf, 0, &zsv)); 169 zsbuf->Release();
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_blit.c | 138 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; 146 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; 264 r300_depth_clear_value(fb->zsbuf->format, depth, stencil); 377 if (fb->zsbuf->texture == dst->texture) { 417 fb.zsbuf = r300->locked_zbuffer; 570 if (fb->zsbuf->texture == src || 571 fb->zsbuf->texture == dst) {
|
H A D | r300_hyperz.c | 139 fb->zsbuf ? r300_resource(fb->zsbuf->texture) : NULL; 155 if (zstex->tex.zcomp8x8[fb->zsbuf->u.tex.level]) {
|
H A D | r300_state.c | 787 if (state->zsbuf) { 789 r300_resource(state->zsbuf->texture), 790 state->zsbuf->u.tex.level); 847 } else if (state->zsbuf) { 883 if (old_state->zsbuf && r300->zmask_in_use && !r300->locked_zbuffer) { 885 if (state->zsbuf) { 886 if (!pipe_surface_equal(old_state->zsbuf, state->zsbuf)) { 893 pipe_surface_reference(&r300->locked_zbuffer, old_state->zsbuf); 897 if (state->zsbuf) { [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
H A D | rbug_context.h | 119 rbug_texture_t zsbuf; member in struct:rbug_proto_context_info_reply 180 rbug_texture_t zsbuf,
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_state_validate.c | 62 if (fb->zsbuf && util_format_get_blocksize(fb->zsbuf->format) > 2) 68 if (fb->zsbuf) { 69 rt_format |= nv30_format(pscreen, fb->zsbuf->format)->hw; 70 if (nv30_miptree(fb->zsbuf->texture)->swizzled) 119 if ((nv30->state.rt_enable & NV30_3D_RT_ENABLE_COLOR0) || fb->zsbuf) { 121 struct nv30_surface *zsf = nv30_surface(fb->zsbuf);
|