Summary: | Remove gallium draw_arrays() and draw_arrays_instanced() functions | ||
---|---|---|---|
Product: | Mesa | Reporter: | Brian Paul <brianp> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Brian Paul
2013-06-05 15:15:03 UTC
I'll take this task. And what should we do with void draw_vbo(struct draw_context *draw, const struct pipe_draw_info *info); function in that file? Because I couldn't find it declared in any *.h file. If we'd move this function to st_draw_feedback.c too, we'd need to move a bunch of other static functions from draw_pt.c that are needed by draw_vbo(). Maybe we should declare this function in some *.h file? draw_vbo() should not be touched. It's called by a number of gallium drivers. See also src/gallium/auxiliary/draw/draw_context.h:241:void draw_vbo(struct draw_context *draw, ... Wow, I was so confused that it's not there and only now I realized that I accidently deleted it together with draw_arrays() and draw_arrays_instanced() from that .h file... commit 3069357ef0cfa112c3c77a25c010df7f9af4467d Author: Arnas Milasevicius <giant1gf@gmail.com> Date: Fri Jun 7 01:21:19 2013 +0300 gallium: Remove draw_arrays() and draw_arrays_instanced() functions Moved draw_arrays() to st_draw_feedback.c and removed draw_arrays_instanced(). draw_arrays() was used by nobody else. Now there's just one "draw" entrypoint into the draw module. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.