aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_tex_copy.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-20 11:43:48 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:23 -0700
commit279f0bce47be8f11d2ba2561179af166fe6c37bf (patch)
tree146c13d620ae27a832fdfd0345161dc5bb95ef19 /src/mesa/drivers/dri/i915/intel_tex_copy.c
parentf26104eb5b0a458e896b3903ee890b6fc6dcf3d0 (diff)
i915: Remove the I915 macro from the formerly shared code.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tex_copy.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tex_copy.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex_copy.c b/src/mesa/drivers/dri/i915/intel_tex_copy.c
index 5a34a4c62ca..599d6019488 100644
--- a/src/mesa/drivers/dri/i915/intel_tex_copy.c
+++ b/src/mesa/drivers/dri/i915/intel_tex_copy.c
@@ -41,9 +41,6 @@
#include "intel_fbo.h"
#include "intel_tex.h"
#include "intel_blit.h"
-#ifndef I915
-#include "brw_context.h"
-#endif
#define FILE_DEBUG_FLAG DEBUG_TEXTURE
@@ -91,14 +88,7 @@ intelCopyTexSubImage(struct gl_context *ctx, GLuint dims,
{
struct intel_context *intel = intel_context(ctx);
-#ifndef I915
- /* Try BLORP first. It can handle almost everything. */
- if (brw_blorp_copytexsubimage(intel, rb, texImage, slice, x, y,
- xoffset, yoffset, width, height))
- return;
-#endif
-
- /* Next, try the BLT engine. */
+ /* Try the BLT engine. */
if (intel_copy_texsubimage(intel,
intel_texture_image(texImage),
xoffset, yoffset, slice,
@@ -106,7 +96,7 @@ intelCopyTexSubImage(struct gl_context *ctx, GLuint dims,
return;
}
- /* Finally, fall back to meta. This will likely be slow. */
+ /* Otherwise, fall back to meta. This will likely be slow. */
perf_debug("%s - fallback to swrast\n", __FUNCTION__);
_mesa_meta_CopyTexSubImage(ctx, dims, texImage,
xoffset, yoffset, slice,