Remove mapping fields from struct pipe_surface.
[mesa.git] / src / mesa / pipe / p_state.h
index f9c5bfb6c657196b2ca133d6e25bc7a941b4135d..ccd2a5f9e2f2773430f57a8f1810bf38bc16be4c 100644 (file)
@@ -242,8 +242,6 @@ struct pipe_sampler_state
 struct pipe_surface
 {
    struct pipe_buffer_handle *buffer; /**< driver private buffer handle */
-   ubyte *map;    /**< only non-NULL when surface is actually mapped */
-   unsigned map_refcount;  /**< Reference count for mapping */
    enum pipe_format format;      /**< PIPE_FORMAT_x */
    unsigned cpp;                 /**< bytes per pixel */
    unsigned width, height;