ac: import linear/perspective PS input parameters from radv/radeonsi
[mesa.git] / src / gallium / drivers / i915 / i915_winsys.h
index 8823c549a3312e0dfe7ce37a8040aa1379f40e8c..509e6cca13bbb0eabc1b02a897894e3aaf2821fd 100644 (file)
@@ -176,6 +176,7 @@ struct i915_winsys {
    struct i915_winsys_buffer *
       (*buffer_from_handle)(struct i915_winsys *iws,
                             struct winsys_handle *whandle,
+                            unsigned height,
                             enum i915_winsys_buffer_tile *tiling,
                             unsigned *stride);
 
@@ -247,6 +248,11 @@ struct i915_winsys {
                        struct pipe_fence_handle *fence);
    /*@}*/
 
+   /**
+    * Retrieve the aperture size (in MiB) of the device.
+    */
+   int (*aperture_size)(struct i915_winsys *iws);
+
 
    /**
     * Destroy the winsys.