diff options
author | Jerome Glisse <[email protected]> | 2011-01-09 21:04:41 -0500 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2011-01-09 21:04:41 -0500 |
commit | 3349517351059dcd70a81b31bdffe9835bd8f216 (patch) | |
tree | 8a16fcabdc11f69cd14d1bb2fcdecd0354759c44 /src/gallium/drivers/noop/noop_public.h | |
parent | ac6306e9ca904ae9674bf2a15222efe4cb861bf5 (diff) |
noop: make noop useable like trace or rbug
If you want to enable noop set GALLIUM_NOOP=1 as an env variable.
You need first to enable noop wrapping for your driver see change
to src/gallium/targets/dri-r600/ in this commit as an example.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/noop/noop_public.h')
-rw-r--r-- | src/gallium/drivers/noop/noop_public.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/noop/noop_public.h b/src/gallium/drivers/noop/noop_public.h index 8ce82bec698..180ea597fab 100644 --- a/src/gallium/drivers/noop/noop_public.h +++ b/src/gallium/drivers/noop/noop_public.h @@ -23,8 +23,7 @@ #ifndef NOOP_PUBLIC_H #define NOOP_PUBLIC_H -struct sw_winsys; - -struct pipe_screen *noop_screen_create(struct sw_winsys *winsys); +struct pipe_screen; +struct pipe_screen *noop_screen_create(struct pipe_screen *screen); #endif |