intel: Reserve less batchbuffer space.
[mesa.git] / src / mesa / drivers / dri / intel / intel_regions.h
index 56f6ec56bec508da5481f526acda88dd953dc5e7..1fb6b2757721bd102f56018b07b5179dbb855e73 100644 (file)
@@ -87,6 +87,12 @@ intel_region_alloc_for_handle(struct intel_screen *screen,
                              GLuint width, GLuint height, GLuint pitch,
                              unsigned int handle, const char *name);
 
+struct intel_region *
+intel_region_alloc_for_fd(struct intel_screen *screen,
+                          GLuint cpp,
+                          GLuint width, GLuint height, GLuint pitch,
+                          int fd, const char *name);
+
 bool
 intel_region_flink(struct intel_region *region, uint32_t *name);
 
@@ -97,19 +103,6 @@ void intel_region_release(struct intel_region **ib);
 
 void intel_recreate_static_regions(struct intel_context *intel);
 
-/* Copy rectangular sub-regions
- */
-bool
-intel_region_copy(struct intel_context *intel,
-                 struct intel_region *dest,
-                 GLuint dest_offset,
-                 GLuint destx, GLuint desty,
-                 struct intel_region *src,
-                 GLuint src_offset,
-                 GLuint srcx, GLuint srcy, GLuint width, GLuint height,
-                 bool flip,
-                 GLenum logicop);
-
 void
 intel_region_get_tile_masks(struct intel_region *region,
                             uint32_t *mask_x, uint32_t *mask_y,