Home
last modified time | relevance | path

Searched refs:flatshade (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c256 struct flat_stage *flatshade = CALLOC_STRUCT(flat_stage); in draw_flatshade_stage() local
257 if (flatshade == NULL) in draw_flatshade_stage()
260 flatshade->stage.draw = draw; in draw_flatshade_stage()
261 flatshade->stage.name = "flatshade"; in draw_flatshade_stage()
262 flatshade->stage.next = NULL; in draw_flatshade_stage()
263 flatshade->stage.point = draw_pipe_passthrough_point; in draw_flatshade_stage()
264 flatshade->stage.line = flatshade_first_line; in draw_flatshade_stage()
265 flatshade->stage.tri = flatshade_first_tri; in draw_flatshade_stage()
266 flatshade->stage.flush = flatshade_flush; in draw_flatshade_stage()
267 flatshade->stage.reset_stipple_counter = flatshade_reset_stipple_counter; in draw_flatshade_stage()
[all …]
Ddraw_pipe.c49 draw->pipeline.flatshade = draw_flatshade_stage( draw ); in draw_pipeline_init()
61 !draw->pipeline.flatshade || in draw_pipeline_init()
93 if (draw->pipeline.flatshade) in draw_pipeline_destroy()
94 draw->pipeline.flatshade->destroy( draw->pipeline.flatshade ); in draw_pipeline_destroy()
Ddraw_context.c705 boolean flatshade ) in draw_get_rasterizer_no_cull() argument
707 if (!draw->rasterizer_no_cull[scissor][flatshade]) { in draw_get_rasterizer_no_cull()
714 rast.flatshade = flatshade; in draw_get_rasterizer_no_cull()
718 draw->rasterizer_no_cull[scissor][flatshade] = in draw_get_rasterizer_no_cull()
721 return draw->rasterizer_no_cull[scissor][flatshade]; in draw_get_rasterizer_no_cull()
Ddraw_pipe_validate.c237 if (rast->flatshade && precalc_flat) { in validate_pipeline()
238 draw->pipeline.flatshade->next = next; in validate_pipeline()
239 next = draw->pipeline.flatshade; in validate_pipeline()
Ddraw_pt_decompose.h6 !(draw->rasterizer->flatshade && \
Ddraw_private.h108 struct draw_stage *flatshade; member
466 boolean flatshade );
Ddraw_pipe_wide_line.c161 r = draw_get_rasterizer_no_cull(draw, rast->scissor, rast->flatshade); in wideline_first_line()
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.cpp164 … this->rr::VertexShader::m_outputs[ndx].flatshade = decl.m_vertexToGeometryVaryings[ndx].flatshade; in ShaderProgram()
171 …this->rr::GeometryShader::m_outputs[ndx].flatshade = decl.m_geometryToFragmentVaryings[ndx].flatsh… in ShaderProgram()
181 … this->rr::VertexShader::m_outputs[ndx].flatshade = decl.m_vertexToFragmentVaryings[ndx].flatshade; in ShaderProgram()
DsglrShaderProgram.hpp67 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in VertexToFragmentVarying()
70 bool flatshade; member
75 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in VertexToGeometryVarying()
78 bool flatshade; member
83 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in GeometryToFragmentVarying()
86 bool flatshade; member
/external/deqp/framework/referencerenderer/
DrrShaders.hpp60 flatshade = false; in VertexVaryingInfo()
67 flatshade == other.flatshade; in operator ==()
71 bool flatshade; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c85 rast->shademode = svga_translate_flatshade( templ->flatshade ); in svga_create_rasterizer_state()
184 (templ->flatshade || in svga_create_rasterizer_state()
Dsvga_draw.h47 boolean flatshade,
Dsvga_pipe_draw.c237 svga->curr.rast->templ.flatshade, in retry_draw_range_elements()
288 svga->curr.rast->templ.flatshade, in retry_draw_arrays()
Dsvga_draw.c87 boolean flatshade, in svga_hwtnl_set_flatshade() argument
91 hwtnl->api_pv = (flatshade && !flatshade_first) ? PV_LAST : PV_FIRST; in svga_hwtnl_set_flatshade()
Dsvga_swtnl_state.c155 svga->curr.rast->templ.flatshade ? INTERP_CONSTANT : INTERP_LINEAR; in svga_swtnl_update_vdecl()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h63 unsigned flatshade:1; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_fs.c77 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; in shade_quad()
Dsp_state_derived.c117 if (softpipe->rasterizer->flatshade) in softpipe_get_vertex_info()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h45 bool flatshade; member
Dsi_state_draw.c123 rctx->queued.named.rasterizer->flatshade)) in si_pipe_shader_ps()
330 rctx->rasterizer && rctx->rasterizer->flatshade)) { in si_update_spi_map()
/external/mesa3d/src/gallium/tests/graw/
Dtri.c128 rasterizer.flatshade = FlatShade; in init()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h81 unsigned flatshade:1; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h182 boolean flatshade; member
244 unsigned flatshade; member
362 boolean flatshade; member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c88 raster->flatshade = 1; in update_raster_state()
/external/mesa3d/src/gallium/docs/source/cso/
Drasterizer.rst46 flatshade chapter
59 CONSTANT, LINEAR and PERSPECTIVE. The flatshade state is needed at

12