Path: blob/21.2-virgl/src/gallium/drivers/nouveau/nv30/nv30_screen.h
4574 views
#ifndef __NV30_SCREEN_H__1#define __NV30_SCREEN_H__23#include <stdio.h>45#include "util/list.h"67#include "nouveau_debug.h"8#include "nouveau_screen.h"9#include "nouveau_fence.h"10#include "nouveau_heap.h"11#include "nv30/nv30_winsys.h"12#include "nv30/nv30_resource.h"1314struct nv30_context;1516struct nv30_screen {17struct nouveau_screen base;1819struct nv30_context *cur_ctx;2021struct nouveau_bo *notify;2223struct nouveau_object *ntfy;24struct nouveau_object *fence;2526struct nouveau_object *query;27struct nouveau_heap *query_heap;28struct list_head queries;2930struct nouveau_object *null;31struct nouveau_object *eng3d;32struct nouveau_object *m2mf;33struct nouveau_object *surf2d;34struct nouveau_object *swzsurf;35struct nouveau_object *sifm;3637/*XXX: nvfx state */38struct nouveau_heap *vp_exec_heap;39struct nouveau_heap *vp_data_heap;4041unsigned max_sample_count;42};4344static inline struct nv30_screen *45nv30_screen(struct pipe_screen *pscreen)46{47return (struct nv30_screen *)pscreen;48}4950#endif515253