diff options
author | Eric Anholt <[email protected]> | 2011-09-28 16:07:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-10-03 13:29:38 -0700 |
commit | b07c78bfe94c17e6fccba70923b03a29c751fde1 (patch) | |
tree | 84eb415a694401eb9e45f9aaf24c62c3735f2e77 /src/mesa/drivers/dri/intel/intel_regions.h | |
parent | 055995abc4e2f4a73122bd008a0e6f0558300d82 (diff) |
intel: Consolidate texture validation copy code, and reuse it correctly.
The path for ->Data was failing to be called for the FBO draw offset
fallback, and also had mismatched compressed texture support code.
This drops the intel_prepare_render() in the blit path. We aren't
copying to/from a GL_FRONT buffer, so it doesn't matter.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_regions.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_regions.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_regions.h b/src/mesa/drivers/dri/intel/intel_regions.h index 61a284aa6ae..e639895ec8f 100644 --- a/src/mesa/drivers/dri/intel/intel_regions.h +++ b/src/mesa/drivers/dri/intel/intel_regions.h @@ -101,16 +101,6 @@ GLubyte *intel_region_map(struct intel_context *intel, void intel_region_unmap(struct intel_context *intel, struct intel_region *ib); - -/* Upload data to a rectangular sub-region - */ -void intel_region_data(struct intel_context *intel, - struct intel_region *dest, - GLuint dest_offset, - GLuint destx, GLuint desty, - const void *src, GLuint src_stride, - GLuint srcx, GLuint srcy, GLuint width, GLuint height); - /* Copy rectangular sub-regions */ GLboolean |