Searched refs:nfb (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_fbo.c | 208 struct nouveau_framebuffer *nfb; in nouveau_framebuffer_new() local 210 nfb = CALLOC_STRUCT(nouveau_framebuffer); in nouveau_framebuffer_new() 211 if (!nfb) in nouveau_framebuffer_new() 214 _mesa_initialize_user_framebuffer(&nfb->base, name); in nouveau_framebuffer_new() 216 return &nfb->base; in nouveau_framebuffer_new() 222 struct nouveau_framebuffer *nfb; in nouveau_framebuffer_dri_new() local 224 nfb = CALLOC_STRUCT(nouveau_framebuffer); in nouveau_framebuffer_dri_new() 225 if (!nfb) in nouveau_framebuffer_dri_new() 228 _mesa_initialize_window_framebuffer(&nfb->base, visual); in nouveau_framebuffer_dri_new() 229 nfb->need_front = !visual->doubleBufferMode; in nouveau_framebuffer_dri_new() [all …]
|
D | nv10_state_fb.c | 59 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer(fb); in setup_hierz_buffer() local 64 if (!nfb->hierz.bo || nfb->hierz.bo->size != size) { in setup_hierz_buffer() 70 nouveau_bo_ref(NULL, &nfb->hierz.bo); in setup_hierz_buffer() 72 &config, &nfb->hierz.bo); in setup_hierz_buffer() 78 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in setup_hierz_buffer() 205 struct nouveau_framebuffer *nfb = in nv10_emit_zclear() local 208 if (nfb->hierz.bo) { in nv10_emit_zclear() 211 PUSH_DATA (push, nfb->hierz.clear_value | in nv10_emit_zclear()
|
D | nv20_state_fb.c | 59 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer(fb); in setup_hierz_buffer() local 64 if (!nfb->hierz.bo || nfb->hierz.bo->size != size) { in setup_hierz_buffer() 65 nouveau_bo_ref(NULL, &nfb->hierz.bo); in setup_hierz_buffer() 67 NULL, &nfb->hierz.bo); in setup_hierz_buffer() 74 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); in setup_hierz_buffer()
|
D | nouveau_context.c | 250 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer(fb); in nouveau_update_renderbuffers() local 259 if (nfb->need_front) in nouveau_update_renderbuffers() 407 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer(fb); in validate_framebuffer() local 412 if (nfb->need_front != need_front) { in validate_framebuffer() 413 nfb->need_front = need_front; in validate_framebuffer()
|
D | nv10_context.c | 99 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer(fb); in nv10_zclear() local 112 if (nfb->hierz.clear_value != value) { in nv10_zclear() 115 nfb->hierz.clear_value = value; in nv10_zclear() 148 struct nouveau_framebuffer *nfb = to_nouveau_framebuffer( in nv17_zclear() local 151 nfb->base.Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv17_zclear() 164 nfb->hierz.clear_value = in nv17_zclear()
|