Browse Source

nvfx: move nv04_surface_2d.c into nvfx directory

It is only used on pre-nv50 and nvfx is the only Gallium pre-nv50 driver.
tags/mesa-7.9-rc1
Luca Barbieri 15 years ago
parent
commit
dbe63ed3b6

+ 1
- 2
src/gallium/drivers/nouveau/Makefile View File

@@ -4,7 +4,6 @@ include $(TOP)/configs/current
LIBNAME = nouveau

C_SOURCES = nouveau_screen.c \
nouveau_context.c \
nv04_surface_2d.c
nouveau_context.c

include ../../Makefile.template

+ 1
- 0
src/gallium/drivers/nvfx/Makefile View File

@@ -4,6 +4,7 @@ include $(TOP)/configs/current
LIBNAME = nvfx

C_SOURCES = \
nv04_surface_2d.c \
nvfx_context.c \
nvfx_clear.c \
nvfx_draw.c \

src/gallium/drivers/nouveau/nv04_surface_2d.c → src/gallium/drivers/nvfx/nv04_surface_2d.c View File

@@ -543,4 +543,3 @@ nv04_surface_wrap_for_render(struct pipe_screen *pscreen, struct nv04_surface_2d

return temp_ns;
}


src/gallium/drivers/nouveau/nv04_surface_2d.h → src/gallium/drivers/nvfx/nv04_surface_2d.h View File


+ 1
- 1
src/gallium/drivers/nvfx/nvfx_miptree.c View File

@@ -5,7 +5,7 @@
#include "util/u_math.h"

#include "nvfx_context.h"
#include "../nouveau/nv04_surface_2d.h"
#include "nv04_surface_2d.h"




+ 1
- 1
src/gallium/drivers/nvfx/nvfx_screen.h View File

@@ -2,7 +2,7 @@
#define __NVFX_SCREEN_H__

#include "nouveau/nouveau_screen.h"
#include "nouveau/nv04_surface_2d.h"
#include "nv04_surface_2d.h"

struct nvfx_screen {
struct nouveau_screen base;

Loading…
Cancel
Save