Home
last modified time | relevance | path

Searched refs:ViewportArray (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/main/
Dviewport.c68 if (ctx->ViewportArray[idx].X == x && in set_viewport_no_notify()
69 ctx->ViewportArray[idx].Width == width && in set_viewport_no_notify()
70 ctx->ViewportArray[idx].Y == y && in set_viewport_no_notify()
71 ctx->ViewportArray[idx].Height == height) in set_viewport_no_notify()
77 ctx->ViewportArray[idx].X = x; in set_viewport_no_notify()
78 ctx->ViewportArray[idx].Width = width; in set_viewport_no_notify()
79 ctx->ViewportArray[idx].Y = y; in set_viewport_no_notify()
80 ctx->ViewportArray[idx].Height = height; in set_viewport_no_notify()
290 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
291 ctx->ViewportArray[idx].Far == farval) in set_depth_range_no_notify()
[all …]
Drastpos.c425 ctx->ViewportArray[0].Near, in _mesa_RasterPos()
426 ctx->ViewportArray[0].Far); in _mesa_RasterPos()
674 * (ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near) in window_pos3f()
675 + ctx->ViewportArray[0].Near; in window_pos3f()
Dget.c760 v->value_float_4[0] = ctx->ViewportArray[0].X; in find_custom_value()
761 v->value_float_4[1] = ctx->ViewportArray[0].Y; in find_custom_value()
762 v->value_float_4[2] = ctx->ViewportArray[0].Width; in find_custom_value()
763 v->value_float_4[3] = ctx->ViewportArray[0].Height; in find_custom_value()
767 v->value_double_2[0] = ctx->ViewportArray[0].Near; in find_custom_value()
768 v->value_double_2[1] = ctx->ViewportArray[0].Far; in find_custom_value()
2279 v->value_float_4[0] = ctx->ViewportArray[index].X; in find_value_indexed()
2280 v->value_float_4[1] = ctx->ViewportArray[index].Y; in find_value_indexed()
2281 v->value_float_4[2] = ctx->ViewportArray[index].Width; in find_value_indexed()
2282 v->value_float_4[3] = ctx->ViewportArray[index].Height; in find_value_indexed()
[all …]
Dcontext.c1500 dst->ViewportArray[i] = src->ViewportArray[i]; in _mesa_copy_context()
Dattrib.c550 (void*)&ctx->ViewportArray)) in _mesa_PushAttrib()
Dmtypes.h4817 struct gl_viewport_attrib ViewportArray[MAX_VIEWPORTS]; /**< Viewport attributes */ member
/external/mesa3d/src/mesa/swrast/
Ds_depth.c174 if (ctx->ViewportArray[0].Near < ctx->ViewportArray[0].Far) { in _swrast_depth_clamp_span()
175 min_f = ctx->ViewportArray[0].Near; in _swrast_depth_clamp_span()
176 max_f = ctx->ViewportArray[0].Far; in _swrast_depth_clamp_span()
178 min_f = ctx->ViewportArray[0].Far; in _swrast_depth_clamp_span()
179 max_f = ctx->ViewportArray[0].Near; in _swrast_depth_clamp_span()
Ds_context.c78 if ( ctx->ViewportArray[0].X < 0 in _swrast_update_rasterflags()
79 || ctx->ViewportArray[0].X + ctx->ViewportArray[0].Width > (GLfloat) ctx->DrawBuffer->Width in _swrast_update_rasterflags()
80 || ctx->ViewportArray[0].Y < 0 in _swrast_update_rasterflags()
81 … || ctx->ViewportArray[0].Y + ctx->ViewportArray[0].Height > (GLfloat) ctx->DrawBuffer->Height) { in _swrast_update_rasterflags()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h146 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; in get_viewport_scale()
163 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; in get_viewport_translate()
Dnv10_state_fb.c180 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; in nv10_emit_viewport()
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.cpp49 namespace ViewportArray namespace
4801 addChild(new ViewportArray::APIErrors(m_context, m_extParams)); in init()
4802 addChild(new ViewportArray::Queries(m_context, m_extParams)); in init()
4803 addChild(new ViewportArray::ViewportAPI(m_context, m_extParams)); in init()
4804 addChild(new ViewportArray::ScissorAPI(m_context, m_extParams)); in init()
4805 addChild(new ViewportArray::DepthRangeAPI(m_context, m_extParams)); in init()
4806 addChild(new ViewportArray::ScissorTestStateAPI(m_context, m_extParams)); in init()
4807 addChild(new ViewportArray::DrawToSingleLayerWithMultipleViewports(m_context, m_extParams)); in init()
4808 addChild(new ViewportArray::DynamicViewportIndex(m_context, m_extParams)); in init()
4809 addChild(new ViewportArray::DrawMulitpleViewportsWithSingleInvocation(m_context, m_extParams)); in init()
[all …]
DglcSeparableProgramsTransformFeedbackTests.cpp37 using namespace glcts::ViewportArray;
DglcViewportArrayTests.hpp43 namespace ViewportArray namespace
/external/mesa3d/src/mesa/program/
Dprog_statevars.c361 value[0] = ctx->ViewportArray[0].Near; /* near */ in _mesa_fetch_state()
362 value[1] = ctx->ViewportArray[0].Far; /* far */ in _mesa_fetch_state()
363 value[2] = ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near; /* far - near */ in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c724 save->ViewportX = ctx->ViewportArray[0].X; in _mesa_meta_begin()
725 save->ViewportY = ctx->ViewportArray[0].Y; in _mesa_meta_begin()
726 save->ViewportW = ctx->ViewportArray[0].Width; in _mesa_meta_begin()
727 save->ViewportH = ctx->ViewportArray[0].Height; in _mesa_meta_begin()
729 if (ctx->ViewportArray[0].X != 0 || in _mesa_meta_begin()
730 ctx->ViewportArray[0].Y != 0 || in _mesa_meta_begin()
731 ctx->ViewportArray[0].Width != (float) ctx->DrawBuffer->Width || in _mesa_meta_begin()
732 ctx->ViewportArray[0].Height != (float) ctx->DrawBuffer->Height) { in _mesa_meta_begin()
737 save->DepthNear = ctx->ViewportArray[0].Near; in _mesa_meta_begin()
738 save->DepthFar = ctx->ViewportArray[0].Far; in _mesa_meta_begin()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c2199 const struct gl_viewport_attrib *vp = &ctx->ViewportArray[i];
2246 bbox[0] = MAX2(ctx->ViewportArray[i].X, 0);
2247 bbox[1] = MIN2(bbox[0] + ctx->ViewportArray[i].Width, fb_width);
2248 bbox[2] = MAX2(ctx->ViewportArray[i].Y, 0);
2249 bbox[3] = MIN2(bbox[2] + ctx->ViewportArray[i].Height, fb_height);
2488 ctx->ViewportArray[i].X + ctx->ViewportArray[i].Width;
2490 ctx->ViewportArray[i].Y + ctx->ViewportArray[i].Height;
2493 sfv.XMinViewPort = ctx->ViewportArray[i].X;
2495 sfv.YMinViewPort = ctx->ViewportArray[i].Y;
2498 sfv.XMinViewPort = ctx->ViewportArray[i].X;
[all …]