summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-10 13:35:58 -0600
committerBrian Paul <[email protected]>2009-08-10 13:55:31 -0600
commit33a838beb913c011b5ee8158c2717b7c8c351b17 (patch)
tree04e09b9fba2730467ab03427578547acaeac7780 /src/mesa/sources.mak
parente9d9dab0cd8614898ecc2aceb49d8faf354cdbdf (diff)
mesa: new driver meta-ops module
Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates.
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r--src/mesa/sources.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index b4b36368cfb..d1c109c2c59 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -303,7 +303,8 @@ SPARC_API = \
sparc/glapi_sparc.S
COMMON_DRIVER_SOURCES = \
- drivers/common/driverfuncs.c
+ drivers/common/driverfuncs.c \
+ drivers/common/meta.c
# Sources for building non-Gallium drivers