mesa: add bool param to _mesa_free_context_data
[mesa.git] / src / mesa / drivers / dri / i965 / intel_blit.h
index 2604417e2d5f47560835de1a368c66abe756363c..babdfa4ba725f7c687f97237a73c88f5664e2fa9 100644 (file)
 
 #include "brw_context.h"
 
-bool
-intelEmitCopyBlit(struct brw_context *brw,
-                  GLuint cpp,
-                  int32_t src_pitch,
-                  struct brw_bo *src_buffer,
-                  GLuint src_offset,
-                  uint32_t src_tiling,
-                  int32_t dst_pitch,
-                  struct brw_bo *dst_buffer,
-                  GLuint dst_offset,
-                  uint32_t dst_tiling,
-                  GLshort srcx, GLshort srcy,
-                  GLshort dstx, GLshort dsty,
-                  GLshort w, GLshort h,
-                  GLenum logicop);
-
 bool intel_miptree_blit_compatible_formats(mesa_format src, mesa_format dst);
 
 bool intel_miptree_blit(struct brw_context *brw,
@@ -54,7 +38,7 @@ bool intel_miptree_blit(struct brw_context *brw,
                         int dst_level, int dst_slice,
                         uint32_t dst_x, uint32_t dst_y, bool dst_flip,
                         uint32_t width, uint32_t height,
-                        GLenum logicop);
+                        enum gl_logicop_mode logicop);
 
 bool intel_miptree_copy(struct brw_context *brw,
                         struct intel_mipmap_tree *src_mt,
@@ -73,15 +57,9 @@ intelEmitImmediateColorExpandBlit(struct brw_context *brw,
                                  GLshort dst_pitch,
                                  struct brw_bo *dst_buffer,
                                  GLuint dst_offset,
-                                 uint32_t dst_tiling,
+                                  enum isl_tiling dst_tiling,
                                  GLshort x, GLshort y,
                                  GLshort w, GLshort h,
-                                 GLenum logic_op);
-void intel_emit_linear_blit(struct brw_context *brw,
-                           struct brw_bo *dst_bo,
-                           unsigned int dst_offset,
-                           struct brw_bo *src_bo,
-                           unsigned int src_offset,
-                           unsigned int size);
+                                 enum gl_logicop_mode logic_op);
 
 #endif