svga: use upload buffer for upload texture.
[mesa.git] / src / gallium / drivers / svga / svga_winsys.h
index 5eb730874709b07786bf6fc5e2913efe54efeaa9..f226581774e0307b1eaed473978c618ad14dc6c9 100644 (file)
@@ -169,8 +169,8 @@ enum svga_stats_time {
    SVGA_STATS_PREFIX "RasterizerState",       \
    SVGA_STATS_PREFIX "Sampler",               \
    SVGA_STATS_PREFIX "SamplerView",           \
-   SVGA_STATS_PREFIX "TextureReadback",       \
    SVGA_STATS_PREFIX "SurfaceWriteFlush",     \
+   SVGA_STATS_PREFIX "TextureReadback",       \
    SVGA_STATS_PREFIX "VertexElement"          \
 
 #define SVGA_STATS_TIME_NAMES                       \
@@ -424,6 +424,9 @@ struct svga_winsys_context
 
    /** To report perf/conformance/etc issues to the state tracker */
    struct pipe_debug_callback *debug_callback;
+
+   /** The more recent command issued to command buffer */
+   SVGAFifo3dCmdId last_command;
 };
 
 
@@ -708,6 +711,7 @@ struct svga_winsys_screen
 
    boolean have_generate_mipmap_cmd;
    boolean have_set_predication_cmd;
+   boolean have_transfer_from_buffer_cmd;
 };