Home
last modified time | relevance | path

Searched refs:num_viewports (Results 1 – 25 of 40) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom.c79 unsigned num_viewports = 1; in check_program_state() local
126 num_viewports = ctx->Const.MaxViewports; in check_program_state()
128 if (st->state.num_viewports != num_viewports) { in check_program_state()
129 st->state.num_viewports = num_viewports; in check_program_state()
132 if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports)) in check_program_state()
Dst_atom_viewport.c50 for (i = 0; i < st->state.num_viewports; i++) { in st_update_viewport()
66 if (st->state.num_viewports > 1) { in st_update_viewport()
69 pipe->set_viewport_states(pipe, 1, st->state.num_viewports - 1, in st_update_viewport()
Dst_atom_scissor.c56 for (i = 0 ; i < st->state.num_viewports; i++) { in st_update_scissor()
102 pipe->set_scissor_states(pipe, 0, st->state.num_viewports, scissor); in st_update_scissor()
Dst_context.h153 unsigned num_viewports; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_clip.c49 unsigned num_viewports, in softpipe_set_viewport_states() argument
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports, in softpipe_set_viewport_states()
59 sizeof(struct pipe_viewport_state) * num_viewports); in softpipe_set_viewport_states()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c49 unsigned num_viewports, in llvmpipe_set_viewport_states() argument
55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, in llvmpipe_set_viewport_states()
59 sizeof(struct pipe_viewport_state) * num_viewports); in llvmpipe_set_viewport_states()
Dlp_setup.h125 unsigned num_viewports,
Dlp_setup.c758 unsigned num_viewports, in lp_setup_set_viewports() argument
766 assert(num_viewports <= PIPE_MAX_VIEWPORTS); in lp_setup_set_viewports()
772 for (i = 0; i < num_viewports; i++) { in lp_setup_set_viewports()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c265 unsigned num_viewports, in si_set_viewport_states() argument
272 for (i = 0; i < num_viewports; i++) { in si_set_viewport_states()
280 mask = ((1 << num_viewports) - 1) << start_slot; in si_set_viewport_states()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c374 unsigned num_viewports, in draw_set_viewport_states() argument
381 debug_assert((start_slot + num_viewports) <= PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
384 sizeof(struct pipe_viewport_state) * num_viewports); in draw_set_viewport_states()
386 draw->identity_viewport = (num_viewports == 1) && in draw_set_viewport_states()
Ddraw_context.h81 unsigned num_viewports,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c283 unsigned num_viewports, in r600_set_viewport_states() argument
290 for (i = 0; i < num_viewports; i++) { in r600_set_viewport_states()
298 mask = ((1 << num_viewports) - 1) << start_slot; in r600_set_viewport_states()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_protocol.h229 #define VIRGL_SET_VIEWPORT_STATE_SIZE(num_viewports) ((6 * num_viewports) + 1) argument
Dvirgl_encode.h125 int num_viewports,
Dvirgl_encode.c353 int num_viewports, in virgl_encoder_set_viewport_states() argument
357 …d(ctx, VIRGL_CMD0(VIRGL_CCMD_SET_VIEWPORT_STATE, 0, VIRGL_SET_VIEWPORT_STATE_SIZE(num_viewports))); in virgl_encoder_set_viewport_states()
359 for (v = 0; v < num_viewports; v++) { in virgl_encoder_set_viewport_states()
/external/virglrenderer/src/
Dvirgl_protocol.h238 #define VIRGL_SET_VIEWPORT_STATE_SIZE(num_viewports) ((6 * num_viewports) + 1) argument
Dvrend_decode.c211 uint32_t num_viewports, start_slot; in vrend_decode_set_viewport_state() local
218 num_viewports = (length - 1) / 6; in vrend_decode_set_viewport_state()
221 if (num_viewports > PIPE_MAX_VIEWPORTS || in vrend_decode_set_viewport_state()
222 start_slot > (PIPE_MAX_VIEWPORTS - num_viewports)) in vrend_decode_set_viewport_state()
225 for (v = 0; v < num_viewports; v++) { in vrend_decode_set_viewport_state()
232 vrend_set_viewport_states(ctx->grctx, start_slot, num_viewports, vps); in vrend_decode_set_viewport_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_misc.c198 unsigned num_viewports, in svga_set_viewport_states() argument
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c405 unsigned num_viewports, in nv30_set_scissor_states() argument
417 unsigned num_viewports, in nv30_set_viewport_states() argument
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_context.c388 unsigned start_slot, unsigned num_viewports, in dd_context_set_viewport_states() argument
395 sizeof(*states) * num_viewports); in dd_context_set_viewport_states()
396 pipe->set_viewport_states(pipe, start_slot, num_viewports, states); in dd_context_set_viewport_states()
/external/virglrenderer/src/gallium/include/pipe/
Dp_context.h213 unsigned num_viewports,
/external/virglrenderer/tests/
Dtestvirgl_encode.h114 int num_viewports,
Dtestvirgl_encode.c339 int num_viewports, in virgl_encoder_set_viewport_states() argument
343 …d(ctx, VIRGL_CMD0(VIRGL_CCMD_SET_VIEWPORT_STATE, 0, VIRGL_SET_VIEWPORT_STATE_SIZE(num_viewports))); in virgl_encoder_set_viewport_states()
345 for (v = 0; v < num_viewports; v++) { in virgl_encoder_set_viewport_states()
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_state.c153 unsigned num_viewports, in noop_set_viewport_states() argument
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h297 unsigned num_viewports,

12