svga: Performance fixes
[mesa.git] / src / gallium / drivers / svga / svga_screen.h
index 8e8620a1c989a4108a697c24a0a7ca4530b41321..aa0001b11e539707474f102ca5b0ee33c3b14349 100644 (file)
@@ -33,8 +33,6 @@
 #include "svga_screen_cache.h"
 
 
-#define HOST_LOG_PREFIX  "Mesa: "
-
 struct svga_winsys_screen;
 struct svga_winsys_context;
 struct SVGACmdMemory;
@@ -52,10 +50,13 @@ struct svga_screen
    /** Device caps */
    boolean haveProvokingVertex;
    boolean haveLineStipple, haveLineSmooth;
+   boolean haveBlendLogicops;
    float maxLineWidth, maxLineWidthAA;
    float maxPointSize;
+   float pointSmoothThreshold; /** Disable point AA for sizes less than this */
    unsigned max_color_buffers;
    unsigned max_const_buffers;
+   unsigned max_viewports;
    unsigned ms_samples;
 
    struct {
@@ -88,6 +89,7 @@ struct svga_screen
       /** Memory used by all resources (buffers and surfaces) */
       uint64_t total_resource_bytes;
       uint64_t num_resources;
+      uint64_t num_failed_allocations;
    } hud;
 };