i965: Drop i915-specific vtbl entries.
authorEric Anholt <eric@anholt.net>
Fri, 21 Jun 2013 16:47:32 +0000 (09:47 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Jun 2013 20:35:25 +0000 (13:35 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/i965/intel_context.h

index 5bc4eb2d54b7a2717fe666ba9ed34d8c50eb3e2d..fc4535429ffff67eb343cd66b67e1acf9ddc236d 100644 (file)
@@ -195,12 +195,6 @@ static bool brw_is_hiz_depth_format(struct intel_context *intel,
 
 void brwInitVtbl( struct brw_context *brw )
 {
-   brw->intel.vtbl.check_vertex_size = 0;
-   brw->intel.vtbl.emit_state = 0;
-   brw->intel.vtbl.reduced_primitive_state = 0;
-   brw->intel.vtbl.render_start = 0;
-   brw->intel.vtbl.update_texture_state = 0;
-
    brw->intel.vtbl.invalidate_state = brw_invalidate_state;
    brw->intel.vtbl.new_batch = brw_new_batch;
    brw->intel.vtbl.finish_batch = brw_finish_batch;
index 20c623d1568160469f9cc179e9865cfcf64fb62c..acb1e10710a6e787225eeedf9fd3936491c07204 100644 (file)
@@ -134,30 +134,14 @@ struct intel_context
    struct
    {
       void (*destroy) (struct intel_context * intel);
-      void (*emit_state) (struct intel_context * intel);
       void (*finish_batch) (struct intel_context * intel);
       void (*new_batch) (struct intel_context * intel);
-      void (*emit_invarient_state) (struct intel_context * intel);
-      void (*update_texture_state) (struct intel_context * intel);
-
-      void (*render_start) (struct intel_context * intel);
-      void (*render_prevalidate) (struct intel_context * intel);
-      void (*set_draw_region) (struct intel_context * intel,
-                               struct intel_region * draw_regions[],
-                               struct intel_region * depth_region,
-                              GLuint num_regions);
-      void (*update_draw_buffer)(struct intel_context *intel);
 
-      void (*reduced_primitive_state) (struct intel_context * intel,
-                                       GLenum rprim);
+      void (*update_draw_buffer)(struct intel_context *intel);
 
-      bool (*check_vertex_size) (struct intel_context * intel,
-                                     GLuint expected);
       void (*invalidate_state) (struct intel_context *intel,
                                GLuint new_state);
 
-      void (*assert_not_dirty) (struct intel_context *intel);
-
       void (*debug_batch)(struct intel_context *intel);
       void (*annotate_aub)(struct intel_context *intel);
       bool (*render_target_supported)(struct intel_context *intel,
@@ -167,10 +151,6 @@ struct intel_context
       bool (*is_hiz_depth_format)(struct intel_context *intel,
                                  gl_format format);
 
-      /**
-       * Surface state operations (i965+ only)
-       * \{
-       */
       void (*update_texture_surface)(struct gl_context *ctx,
                                      unsigned unit,
                                      uint32_t *binding_table,
@@ -187,7 +167,6 @@ struct intel_context
                                      uint32_t size,
                                      uint32_t *out_offset,
                                       bool dword_pitch);
-      /** \} */
 
       /**
        * Send the appropriate state packets to configure depth, stencil, and