diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-10-05 11:35:57 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-10-05 11:35:57 +0000 |
commit | 68da677ae29c0c38ca1bce1ce78087b9c7cf0e1a (patch) | |
tree | f33ecf4a73064473b54c325bd7828998864caf16 /src/mesa/drivers/dri/i965/intel_context.h | |
parent | 1eca12a7d9f26ab5b68c5ba665c81c8aadec34fb (diff) |
Accelerate glBitmap with a color expand blit. Nice speedup for demos
like 'fire' that display a help message or fps number this way.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.h b/src/mesa/drivers/dri/i965/intel_context.h index d0354cfc8f..4ca356beff 100644 --- a/src/mesa/drivers/dri/i965/intel_context.h +++ b/src/mesa/drivers/dri/i965/intel_context.h @@ -486,6 +486,14 @@ void intelCopyPixels(GLcontext * ctx, GLsizei width, GLsizei height, GLint destx, GLint desty, GLenum type); +GLboolean intel_check_blit_fragment_ops(GLcontext * ctx); + +void intelBitmap(GLcontext * ctx, + GLint x, GLint y, + GLsizei width, GLsizei height, + const struct gl_pixelstore_attrib *unpack, + const GLubyte * pixels); + #define _NEW_WINDOW_POS 0x40000000 |