gallium: remove remaining references to origin_lower_left
authorKeith Whitwell <keith@tungstengraphics.com>
Sat, 21 Mar 2009 10:37:33 +0000 (10:37 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 21 Mar 2009 10:55:45 +0000 (10:55 +0000)
src/gallium/drivers/trace/tr_state.c
src/gallium/include/pipe/p_state.h
src/gallium/state_trackers/g3dvl/vl_context.c
src/mesa/state_tracker/st_atom_rasterizer.c

index b6a1ce0d6252a6830da8afdc336200ac076ef109..f9fbe9aee79099c8d5e6551232f70fe82e145807 100644 (file)
@@ -123,7 +123,6 @@ void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state)
    trace_dump_member(uint, state, line_stipple_pattern);
    trace_dump_member(bool, state, line_last_pixel);
    trace_dump_member(bool, state, bypass_vs_clip_and_viewport);
-   trace_dump_member(bool, state, origin_lower_left);
    trace_dump_member(bool, state, flatshade_first);
    trace_dump_member(bool, state, gl_rasterization_rules);
 
index aad41fab110c0c5b39c95533417cc473331733cc..9c7baa3d92e2331001df4a0d35be4feec0478fd0 100644 (file)
@@ -117,7 +117,6 @@ struct pipe_rasterizer_state
     */
    unsigned bypass_vs_clip_and_viewport:1;
 
-   unsigned origin_lower_left:1;  /**< Is (0,0) the lower-left corner? */
    unsigned flatshade_first:1;   /**< take color attribute from the first vertex of a primitive */
    unsigned gl_rasterization_rules:1; /**< enable tweaks for GL rasterization?  */
 
index 1d8ad0b046905ffa2598239c465fdb28abc2239a..5cfd233c4c100cbde0cc4aa587bffe774c426719 100644 (file)
@@ -42,7 +42,6 @@ static int vlInitCommon(struct vlContext *context)
        rast.line_stipple_pattern = 0;
        rast.line_last_pixel = 0;
        rast.bypass_vs_clip_and_viewport = 0;
-       rast.origin_lower_left = 0;
        rast.line_width = 1;
        rast.point_smooth = 0;
        rast.point_size = 1;
index 5bdcaa4a0147544a9244803f32a08825d6dd6c1f..61687fbc3e285c7049691517133e28532452ec1b 100644 (file)
@@ -79,9 +79,6 @@ static void update_raster_state( struct st_context *st )
 
    memset(raster, 0, sizeof(*raster));
 
-   /* XXX obsolete field, remove someday */
-   raster->origin_lower_left = 1; /* Always true for OpenGL */
-   
    /* _NEW_POLYGON, _NEW_BUFFERS
     */
    {