summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-06-06 10:59:56 -0700
committerPaul Berry <[email protected]>2012-06-07 11:03:15 -0700
commit9dbd0b677815f50a782149f4e20118bbce318f81 (patch)
treee80e37e30ed9a837c7fb4a74ee864985976c10f7 /src
parent040d0157341381708c35c2f27721ebffa2ee1db2 (diff)
i965/blorp: De-virtualize brw_blorp_{mip,surface}_info::set() function.
Even though brw_blorp_surface_info is derived from brw_blorp_mip_info, this function doesn't need to be virtual, because it is never accessed through a base class pointer. Making the function non-virtual will allow it to take additional parameters in the brw_blorp_surface_info case. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h
index bff7715ee84..0de3d1e5d24 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.h
+++ b/src/mesa/drivers/dri/i965/brw_blorp.h
@@ -46,8 +46,8 @@ class brw_blorp_mip_info
public:
brw_blorp_mip_info();
- virtual void set(struct intel_mipmap_tree *mt,
- unsigned int level, unsigned int layer);
+ void set(struct intel_mipmap_tree *mt,
+ unsigned int level, unsigned int layer);
void get_draw_offsets(uint32_t *draw_x, uint32_t *draw_y) const;
void get_miplevel_dims(uint32_t *width, uint32_t *height) const
@@ -66,8 +66,8 @@ class brw_blorp_surface_info : public brw_blorp_mip_info
public:
brw_blorp_surface_info();
- virtual void set(struct intel_mipmap_tree *mt,
- unsigned int level, unsigned int layer);
+ void set(struct intel_mipmap_tree *mt,
+ unsigned int level, unsigned int layer);
/* Setting this flag indicates that the buffer's contents are W-tiled
* stencil data, but the surface state should be set up for Y tiled