Home
last modified time | relevance | path

Searched refs:viewports (Results 1 – 25 of 126) sorted by relevance

123456

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c229 struct si_signed_scissor *vp = &ctx->viewports.as_scissor[0]; in si_emit_scissors()
242 max_vp_scissor = ctx->viewports.as_scissor[0]; in si_emit_scissors()
245 &ctx->viewports.as_scissor[i]); in si_emit_scissors()
255 si_emit_one_scissor(ctx, cs, &ctx->viewports.as_scissor[i], in si_emit_scissors()
275 ctx->viewports.states[index] = state[i]; in si_set_viewport_states()
277 &ctx->viewports.as_scissor[index]); in si_set_viewport_states()
281 ctx->viewports.dirty_mask |= mask; in si_set_viewport_states()
282 ctx->viewports.depth_range_dirty_mask |= mask; in si_set_viewport_states()
284 si_mark_atom_dirty(ctx, &ctx->viewports.atom); in si_set_viewport_states()
304 struct pipe_viewport_state *states = ctx->viewports.states; in si_emit_viewports()
[all …]
Dsi_hw_context.c262 ctx->viewports.dirty_mask = (1 << SI_MAX_VIEWPORTS) - 1; in si_begin_new_cs()
263 ctx->viewports.depth_range_dirty_mask = (1 << SI_MAX_VIEWPORTS) - 1; in si_begin_new_cs()
265 si_mark_atom_dirty(ctx, &ctx->viewports.atom); in si_begin_new_cs()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c247 struct r600_signed_scissor *vp = &rctx->viewports.as_scissor[0]; in r600_emit_scissors()
260 max_vp_scissor = rctx->viewports.as_scissor[0]; in r600_emit_scissors()
263 &rctx->viewports.as_scissor[i]); in r600_emit_scissors()
273 r600_emit_one_scissor(rctx, cs, &rctx->viewports.as_scissor[i], in r600_emit_scissors()
293 rctx->viewports.states[index] = state[i]; in r600_set_viewport_states()
295 &rctx->viewports.as_scissor[index]); in r600_set_viewport_states()
299 rctx->viewports.dirty_mask |= mask; in r600_set_viewport_states()
300 rctx->viewports.depth_range_dirty_mask |= mask; in r600_set_viewport_states()
302 rctx->set_atom_dirty(rctx, &rctx->viewports.atom, true); in r600_set_viewport_states()
322 struct pipe_viewport_state *states = rctx->viewports.states; in r600_emit_viewports()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_clip.c50 const struct pipe_viewport_state *viewports) in softpipe_set_viewport_states() argument
56 viewports); in softpipe_set_viewport_states()
58 memcpy(softpipe->viewports + start_slot, viewports, in softpipe_set_viewport_states()
Dsp_context.h89 struct pipe_viewport_state viewports[PIPE_MAX_VIEWPORTS]; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c50 const struct pipe_viewport_state *viewports) in llvmpipe_set_viewport_states() argument
56 viewports); in llvmpipe_set_viewport_states()
58 memcpy(llvmpipe->viewports + start_slot, viewports, in llvmpipe_set_viewport_states()
Dlp_setup.c759 const struct pipe_viewport_state *viewports) in lp_setup_set_viewports() argument
767 assert(viewports); in lp_setup_set_viewports()
775 util_viewport_zmin_zmax(&viewports[i], lp->rasterizer->clip_halfz, in lp_setup_set_viewports()
778 if (setup->viewports[i].min_depth != min_depth || in lp_setup_set_viewports()
779 setup->viewports[i].max_depth != max_depth) { in lp_setup_set_viewports()
780 setup->viewports[i].min_depth = min_depth; in lp_setup_set_viewports()
781 setup->viewports[i].max_depth = max_depth; in lp_setup_set_viewports()
1027 lp_scene_alloc(scene, sizeof setup->viewports); in try_update_scene_state()
1034 memcpy(stored, setup->viewports, sizeof setup->viewports); in try_update_scene_state()
1036 setup->fs.current.jit_context.viewports = stored; in try_update_scene_state()
Dlp_context.h82 struct pipe_viewport_state viewports[PIPE_MAX_VIEWPORTS]; member
Dlp_setup.h126 const struct pipe_viewport_state *viewports);
/external/deqp/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp42 const std::vector<VkViewport>& viewports, in makeGraphicsPipeline() argument
152viewports.empty() ? 1u : (deUint32)viewports.size(), // deUint32 … in makeGraphicsPipeline()
153viewports.empty() ? DE_NULL : &viewports[0], // const VkViewport* pVie… in makeGraphicsPipeline()
154viewports.empty() ? 1u : (deUint32)scissors.size(), // deUint32 … in makeGraphicsPipeline()
244 if (viewports.empty()) in makeGraphicsPipeline()
DvkObjUtil.hpp41 const std::vector<VkViewport>& viewports,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_cliptest_tmp.h71 float *scale = pvs->draw->viewports[0].scale; in TAG()
72 float *trans = pvs->draw->viewports[0].translate; in TAG()
80 scale = pvs->draw->viewports[viewport_index].scale; in TAG()
81 trans = pvs->draw->viewports[viewport_index].translate; in TAG()
Ddraw_pt_fetch_shade_pipeline_llvm.c315 llvm->jit_context.viewports = draw->viewports; in llvm_middle_end_bind_parameters()
316 llvm->gs_jit_context.viewports = draw->viewports; in llvm_middle_end_bind_parameters()
Ddraw_llvm.h127 struct pipe_viewport_state *viewports; member
206 struct pipe_viewport_state *viewports; member
/external/mesa3d/src/intel/vulkan/
Dgen8_cmd_buffer.c40 const VkViewport *viewports = in gen8_cmd_buffer_emit_viewport() local
41 cmd_buffer->state.gfx.dynamic.viewport.viewports; in gen8_cmd_buffer_emit_viewport()
46 const VkViewport *vp = &viewports[i]; in gen8_cmd_buffer_emit_viewport()
84 const VkViewport *viewports = in gen8_cmd_buffer_emit_depth_viewport() local
85 cmd_buffer->state.gfx.dynamic.viewport.viewports; in gen8_cmd_buffer_emit_depth_viewport()
90 const VkViewport *vp = &viewports[i]; in gen8_cmd_buffer_emit_depth_viewport()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_misc.c199 const struct pipe_viewport_state *viewports) in svga_set_viewport_states() argument
203 svga->curr.viewport = *viewports; /* struct copy */ in svga_set_viewport_states()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c612 int count, const VkViewport *viewports) in si_write_viewport() argument
624 get_viewport_xform(&viewports[i], scale, translate); in si_write_viewport()
636 float zmin = MIN2(viewports[i].minDepth, viewports[i].maxDepth); in si_write_viewport()
637 float zmax = MAX2(viewports[i].minDepth, viewports[i].maxDepth); in si_write_viewport()
672 const VkViewport *viewports, bool can_use_guardband) in si_write_scissors() argument
682 VkRect2D viewport_scissor = si_scissor_from_viewport(viewports + i); in si_write_scissors()
685 get_viewport_xform(viewports + i, scale, translate); in si_write_scissors()
Dradv_meta.c49 typed_memcpy(state->viewport.viewports, in radv_meta_save()
50 cmd_buffer->state.dynamic.viewport.viewports, in radv_meta_save()
109 typed_memcpy(cmd_buffer->state.dynamic.viewport.viewports, in radv_meta_restore()
110 state->viewport.viewports, in radv_meta_restore()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp451 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleTest() local
463 viewports, // const std::vector<VkViewport>& viewports in renderTriangleTest()
761 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleUnusedResolveAttachmentTest() local
773 viewports, // const std::vector<VkViewport>& viewports in renderTriangleUnusedResolveAttachmentTest()
/external/u-boot/drivers/usb/ulpi/
DKconfig32 This driver uses ULPI viewports that are specific for each SoC.
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp251 std::vector<VkViewport> viewports; in makeGraphicsPipeline() local
252 viewports.reserve(numViewports); in makeGraphicsPipeline()
259 viewports.push_back(viewport); in makeGraphicsPipeline()
270 &viewports[0], // const VkViewport* pViewports; in makeGraphicsPipeline()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp235 const std::vector<VkViewport> viewports (1, makeViewport(imageMSInfo.extent)); in iterate() local
264 viewports, // const std::vector<VkViewport>& viewports in iterate()
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp328 const VkViewport* viewports) { in setViewport() argument
331 if (memcmp(viewports, &fCachedViewport, sizeof(VkViewport))) { in setViewport()
335 viewports)); in setViewport()
336 fCachedViewport = viewports[0]; in setViewport()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSampleReadTests.cpp505 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(width, height))); in createRenderPipeline() local
531 viewports, // const std::vector<VkViewport>& viewports in createRenderPipeline()
619 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(width, height))); in createSubpassPipeline() local
645 viewports, // const std::vector<VkViewport>& viewports in createSubpassPipeline()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp380 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in GraphicsEnvironment() local
392 viewports, // const std::vector<VkViewport>& viewports in GraphicsEnvironment()

123456