summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-12 12:05:25 +0100
committerEmil Velikov <[email protected]>2017-04-12 13:30:21 +0100
commitc0a73ddda801c6cde0183735625dea95842f9c27 (patch)
tree3215cafec72e8e298e1eea55166ba9dc29b9f0fb /src/gallium
parentf3ae08bd44533aac51134dee4c8ed94a0a86a966 (diff)
Revert "freedreno: fix memory leak"
This reverts commit c57a03585052e3bd7d61d1307cae9a922e663c20. As requested by Rob Clark "This seems to be causing a performance regression (reported by Nicolas).. and the leak it fixes is quite hypothetical. (Ie. hit by apps that destroy/create context many times.) On master, I think this can be solved by switching on 'reorder' by default but that is probably too much of a behaviour change for stable."
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_draw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c
index 319e2eb678e..cfe13cd6782 100644
--- a/src/gallium/drivers/freedreno/freedreno_draw.c
+++ b/src/gallium/drivers/freedreno/freedreno_draw.c
@@ -264,8 +264,6 @@ fd_blitter_clear(struct pipe_context *pctx, unsigned buffers,
util_blitter_restore_constant_buffer_state(blitter);
util_blitter_restore_vertex_states(blitter);
util_blitter_restore_fragment_states(blitter);
- util_blitter_restore_textures(blitter);
- util_blitter_restore_fb_state(blitter);
util_blitter_restore_render_cond(blitter);
util_blitter_unset_running_flag(blitter);