Home
last modified time | relevance | path

Searched refs:cull_face (Results 1 – 25 of 112) sorted by relevance

12345

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c115 raster->cull_face = PIPE_FACE_FRONT; in st_update_rasterizer()
118 raster->cull_face = PIPE_FACE_BACK; in st_update_rasterizer()
121 raster->cull_face = PIPE_FACE_FRONT_AND_BACK; in st_update_rasterizer()
126 raster->cull_face = PIPE_FACE_NONE; in st_update_rasterizer()
143 if (raster->cull_face & PIPE_FACE_FRONT) { in st_update_rasterizer()
147 if (raster->cull_face & PIPE_FACE_BACK) { in st_update_rasterizer()
291 raster->cull_face |= PIPE_FACE_FRONT; in st_update_rasterizer()
293 raster->cull_face |= PIPE_FACE_BACK; in st_update_rasterizer()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c44 unsigned cull_face; /**< which face(s) to cull (one of PIPE_FACE_x) */ member
180 if ((face & cull_stage(stage)->cull_face) == 0) { in cull_tri()
191 if ((PIPE_FACE_BACK & cull_stage(stage)->cull_face) == 0) { in cull_tri()
233 cull->cull_face = stage->draw->rasterizer->cull_face; in cull_first_tri()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c88 if (cso->cull_face & PIPE_FACE_FRONT) in fd4_rasterizer_state_create()
90 if (cso->cull_face & PIPE_FACE_BACK) in fd4_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c90 if (cso->cull_face & PIPE_FACE_FRONT) in fd3_rasterizer_state_create()
92 if (cso->cull_face & PIPE_FACE_BACK) in fd3_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c79 if (cso->cull_face & PIPE_FACE_FRONT) in fd5_rasterizer_state_create()
81 if (cso->cull_face & PIPE_FACE_BACK) in fd5_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); in define_rasterizer_object()
188 rast->cullmode = svga_translate_cullmode(templ->cull_face, templ->front_ccw); in svga_create_rasterizer_state()
263 switch (templ->cull_face) { in svga_create_rasterizer_state()
306 templ->cull_face != PIPE_FACE_NONE)) { in svga_create_rasterizer_state()
Dsvga_pipe_draw.c206 svga->curr.rast->templ.cull_face == PIPE_FACE_FRONT_AND_BACK) in svga_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_rasterizer.c87 if (cso->cull_face & PIPE_FACE_FRONT) in fd2_rasterizer_state_create()
89 if (cso->cull_face & PIPE_FACE_BACK) in fd2_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h49 translate_cull_face(unsigned cull_face, unsigned front_ccw) in translate_cull_face() argument
51 switch (cull_face) { in translate_cull_face()
61 DBG("Unhandled cull face mode %i", cull_face); in translate_cull_face()
Detnaviv_rasterizer.c51 translate_cull_face(so->cull_face, so->front_ccw) | in etna_rasterizer_state_create()
/external/mesa3d/src/mesa/main/
Dpolygon.c54 cull_face(struct gl_context *ctx, GLenum mode, bool no_error) in cull_face() function
78 cull_face(ctx, mode, true); in _mesa_CullFace_no_error()
90 cull_face(ctx, mode, false); in _mesa_CullFace()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.h230 swr_convert_cull_mode(const UINT cull_face) in swr_convert_cull_mode() argument
232 switch (cull_face) { in swr_convert_cull_mode()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c151 if (cso->cull_face == PIPE_FACE_FRONT_AND_BACK) in nv30_rasterizer_state_create()
154 if (cso->cull_face == PIPE_FACE_FRONT) in nv30_rasterizer_state_create()
161 SB_DATA (so, cso->cull_face != PIPE_FACE_NONE); in nv30_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c115 state->lp_state.cull_face, in llvmpipe_bind_rasterizer_state()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c91 p->rasterizer.cull_face = PIPE_FACE_NONE; in pp_init_prog()
/external/mesa3d/src/gallium/tests/graw/
Dtri.c127 rasterizer.cull_face = PIPE_FACE_NONE; in init()
Dtri-large.c130 rasterizer.cull_face = PIPE_FACE_NONE; in init()
Dquad-tex.c192 rasterizer.cull_face = PIPE_FACE_NONE; in init()
Dtri-gs.c256 rasterizer.cull_face = PIPE_FACE_NONE; in init()
Dshader-leak.c251 rasterizer.cull_face = PIPE_FACE_NONE; in init()
/external/deqp/modules/gles2/functional/
Des2fNegativeFragmentApiTests.cpp181 ES2F_ADD_API_CASE(cull_face, "Invalid glCullFace() usage", in init()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c114 unsigned cull_face; /* which faces cull */ member
389 if (face & setup->cull_face) in setup_sort_vertices()
1487 setup->cull_face = sp->rasterizer->cull_face; in sp_setup_prepare()
1491 setup->cull_face = PIPE_FACE_NONE; in sp_setup_prepare()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h91 unsigned cull_face:2; /**< PIPE_FACE_x */ member
/external/deqp/modules/gles31/functional/
Des31fNegativeFragmentApiTests.cpp277 void cull_face (NegativeTestContext& ctx) in cull_face() function
493 {cull_face, "cull_face", "Invalid glCullFace() usage" }, in getNegativeFragmentApiTestFunctions()
/external/virglrenderer/tests/
Dtest_virgl_cmd.c395 rasterizer.cull_face = PIPE_FACE_NONE; in START_TEST()
659 rasterizer.cull_face = PIPE_FACE_NONE; in START_TEST()
904 rasterizer.cull_face = PIPE_FACE_NONE; in START_TEST()

12345