Home
last modified time | relevance | path

Searched refs:swrast (Results 1 – 25 of 129) sorted by relevance

123456

/third_party/mesa3d/src/mesa/swrast/
Ds_context.c58 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_rasterflags() local
65 if (swrast->_FogEnabled) rasterMask |= FOG_BIT; in _swrast_update_rasterflags()
167 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_fog_hint() local
168 swrast->_PreferPixelFog = (!swrast->AllowVertexFog || in _swrast_update_fog_hint()
171 swrast->AllowPixelFog)); in _swrast_update_fog_hint()
182 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_texture_env() local
185 swrast->_TextureCombinePrimary = GL_FALSE; in _swrast_update_texture_env()
193 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env()
197 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env()
213 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_deferred_texture() local
[all …]
Ds_points.c84 SWcontext *swrast = SWRAST_CONTEXT(ctx); in sprite_point() local
106 span.facing = swrast->PointLineFacing; in sprite_point()
237 SWcontext *swrast = SWRAST_CONTEXT(ctx); in smooth_point() local
272 span.facing = swrast->PointLineFacing; in smooth_point()
357 SWcontext *swrast = SWRAST_CONTEXT(ctx); in large_point() local
375 span.facing = swrast->PointLineFacing; in large_point()
446 SWcontext *swrast = SWRAST_CONTEXT(ctx); in pixel_point() local
452 SWspan *span = &(swrast->PointSpan); in pixel_point()
462 span->arrayAttribs = swrast->_ActiveAttribMask; /* we'll produce these vals */ in pixel_point()
471 (swrast->_RasterMask & (BLEND_BIT | LOGIC_OP_BIT | MASKING_BIT)) || in pixel_point()
[all …]
Ds_lines.c42 SWcontext *swrast = SWRAST_CONTEXT(ctx); in compute_stipple_mask() local
46 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; in compute_stipple_mask()
53 swrast->StippleCounter++; in compute_stipple_mask()
205 swrast->Line = lineFunc; \
210 #define USE(lineFunc) swrast->Line = lineFunc
226 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_line() local
235 assert(swrast->Line); in _swrast_choose_line()
239 || swrast->_FogEnabled in _swrast_choose_line()
Ds_context.h367 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_start() local
368 if (swrast->Driver.SpanRenderStart) in swrast_render_start()
369 swrast->Driver.SpanRenderStart(ctx); in swrast_render_start()
377 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_finish() local
378 if (swrast->Driver.SpanRenderFinish) in swrast_render_finish()
379 swrast->Driver.SpanRenderFinish(ctx); in swrast_render_finish()
471 for (a = 0; a < swrast->_NumActiveAttribs; a++) { \
472 const GLuint attr = swrast->_ActiveAttribs[a];
DNOTES8 The swrast module 'stands alone', relying only on interfaces to core
34 There is no explicit call to put the swrast module to sleep.
43 Drivers may add additional triangle/line/point functions to swrast by
51 The swrast device driver provides swrast primarily with span- and
55 See the definition of struct swrast_device_driver in swrast.h.
Ds_texcombine.c50 get_texel_array(SWcontext *swrast, GLuint unit) in get_texel_array() argument
53 …return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4 * omp_get_num_threads() +… in get_texel_array()
55 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4); in get_texel_array()
86 SWcontext *swrast = SWRAST_CONTEXT(ctx); in texture_combine() local
147 argRGB[term] = get_texel_array(swrast, unit); in texture_combine()
195 argRGB[term] = get_texel_array(swrast, srcUnit); in texture_combine()
243 argA[term] = get_texel_array(swrast, unit); in texture_combine()
285 argA[term] = get_texel_array(swrast, srcUnit); in texture_combine()
589 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_texture_span() local
593 if (!swrast->TexelBuffer) { in _swrast_texture_span()
[all …]
Ds_stencil.c214 SWcontext *swrast = SWRAST_CONTEXT(ctx); in do_stencil_test() local
215 GLubyte *fail = swrast->stencil_temp.buf2; in do_stencil_test()
412 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local
420 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span()
468 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local
469 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span()
470 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span()
471 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span()
557 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_write_stencil_span() local
587 GLubyte *destVals = swrast->stencil_temp.buf1; in _swrast_write_stencil_span()
[all …]
Ds_fragprog.c86 SWcontext *swrast = SWRAST_CONTEXT(ctx); in fetch_texel_lod() local
92 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, in fetch_texel_lod()
115 SWcontext *swrast = SWRAST_CONTEXT(ctx); in fetch_texel_deriv() local
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, in fetch_texel_deriv()
205 SWcontext *swrast = SWRAST_CONTEXT(ctx); in run_program() local
208 struct gl_program_machine *machine = &swrast->FragProgMachine; in run_program()
Ds_aalinetemp.h39 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in NAME() local
45 (void) swrast; in NAME()
108 SWcontext *swrast = SWRAST_CONTEXT(ctx); in NAME() local
131 line.span.facing = swrast->PointLineFacing; in NAME()
165 if (swrast->_InterpMode[attr] == GL_FLAT) { in NAME()
199 const GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; in NAME()
224 swrast->StippleCounter++; in NAME()
Ds_blend.c902 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_blend_func() local
910 swrast->BlendFunc = blend_general; in _swrast_choose_blend_func()
916 swrast->BlendFunc = _mesa_mmx_blend_min; in _swrast_choose_blend_func()
920 swrast->BlendFunc = blend_min; in _swrast_choose_blend_func()
926 swrast->BlendFunc = _mesa_mmx_blend_max; in _swrast_choose_blend_func()
930 swrast->BlendFunc = blend_max; in _swrast_choose_blend_func()
933 swrast->BlendFunc = blend_general; in _swrast_choose_blend_func()
939 swrast->BlendFunc = _mesa_mmx_blend_transparency; in _swrast_choose_blend_func()
945 swrast->BlendFunc = blend_transparency_ubyte; in _swrast_choose_blend_func()
947 swrast->BlendFunc = blend_transparency_ushort; in _swrast_choose_blend_func()
[all …]
Ds_triangle.c60 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_culltriangle() local
67 if (c * swrast->_BackfaceSign * swrast->_BackfaceCullSign <= 0.0F) in _swrast_culltriangle()
147 GLubyte (*rgba)[4] = swrast->SpanArrays->rgba8; \
205 GLubyte (*rgba)[4] = swrast->SpanArrays->rgba8; \
206 GLubyte *mask = swrast->SpanArrays->mask; \
982 swrast->Triangle = triFunc; \
987 #define USE(triFunc) swrast->Triangle = triFunc;
1004 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_triangle() local
1018 assert(swrast->Triangle); in _swrast_choose_triangle()
1047 swrast->_FogEnabled) { in _swrast_choose_triangle()
[all …]
Ds_feedback.c81 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_feedback_line() local
83 if (swrast->StippleCounter == 0) in _swrast_feedback_line()
97 swrast->StippleCounter++; in _swrast_feedback_line()
Ds_linetemp.h68 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in NAME() local
97 (void) swrast; in NAME()
271 if (swrast->_InterpMode[attr] == GL_FLAT) { in NAME()
294 span.facing = swrast->PointLineFacing; in NAME()
/third_party/mesa3d/src/mesa/
Dmeson.build392 'swrast/s_aaline.c',
393 'swrast/s_aaline.h',
394 'swrast/s_aalinetemp.h',
395 'swrast/s_aatriangle.c',
396 'swrast/s_aatriangle.h',
397 'swrast/s_aatritemp.h',
398 'swrast/s_alpha.c',
399 'swrast/s_alpha.h',
400 'swrast/s_atifragshader.c',
401 'swrast/s_atifragshader.h',
[all …]
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c321 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_8R8G8B() local
323 if (swrast->NewState) in can_do_DrawPixels_8R8G8B()
326 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_8R8G8B()
355 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_8R8G8B() local
362 if (swrast->NewState) in xmesa_DrawPixels_8R8G8B()
452 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_5R6G5B() local
454 if (swrast->NewState) in can_do_DrawPixels_5R6G5B()
457 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_5R6G5B()
487 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_5R6G5B() local
494 if (swrast->NewState) in xmesa_DrawPixels_5R6G5B()
[all …]
Dxm_line.c95 SWcontext *swrast = SWRAST_CONTEXT(ctx); in xmesa_choose_point()
99 && swrast->_RasterMask == 0 in xmesa_choose_point()
102 swrast->Point = draw_points_ANY_pixmap; in xmesa_choose_point()
450 SWcontext *swrast = SWRAST_CONTEXT(ctx); in get_line_func() local
462 if (swrast->_RasterMask & MULTI_DRAW_BIT) return (swrast_line_func) NULL; in get_line_func()
467 && swrast->_RasterMask==DEPTH_BIT in get_line_func()
492 && swrast->_RasterMask==0 in get_line_func()
516 && swrast->_RasterMask == LOGIC_OP_BIT in get_line_func()
536 SWcontext *swrast = SWRAST_CONTEXT(ctx); in xmesa_choose_line() local
538 if (!(swrast->Line = get_line_func( ctx ))) in xmesa_choose_line()
/third_party/mesa3d/docs/relnotes/
D7.8.rst33 - GL_NV_conditional_render extension (swrast driver only)
34 - GL_EXT_draw_buffers2 extension (swrast and i965 driver only)
35 - GL_ARB_fragment_coord_conventions extension (for swrast, i965, and
37 - GL_EXT_texture_array extension (swrast driver only)
38 - GL_APPLE_object_purgeable extension (swrast and i945/i965 DRI
D9.2.5.rst46 [swrast] piglit glean fbo regression
48 [swrast] piglit glean pointSprite regression
79 - mesa/swrast: fix inverted front buffer rendering with old-school
80 swrast
82 - swrast: fix readback regression since inversion fix
D9.1.rst53 - Removed swrast support for GL_NV_vertex_program
54 - Removed swrast support for GL_NV_fragment_program
D7.11.rst33 - GL_ARB_draw_instanced extension (gallium drivers, swrast)
35 - GL_ARB_occlusion_query2 (gallium drivers, swrast)
41 - GL_ARB_texture_compression_rgtc (gallium drivers, swrast, i965)
44 - GL_EXT_texture_compression_latc (gallium drivers, swrast)
45 - GL_EXT_texture_compression_rgtc (gallium drivers, swrast, i965)
46 - GL_EXT_texture_filter_anisotropic (swrast)
47 - GL_EXT_texture_shared_exponent (gallium drivers, swrast)
48 - GL_EXT_texture_sRGB_decode (gallium drivers, swrast, i965)
54 - GL_ATI_texture_compression_3dc (gallium drivers, swrast)
105 [swrast] glean pixelFormats regression
[all …]
D10.0.1.rst49 [swrast] piglit glean fbo regression
51 [swrast] piglit glean pointSprite regression
76 - swrast: fix readback regression since inversion fix
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c226 surfaceless_probe_device(_EGLDisplay *disp, bool swrast) in surfaceless_probe_device() argument
229 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
248 disp->Device = _eglAddDevice(dri2_dpy->fd, swrast); in surfaceless_probe_device()
256 if (swrast) { in surfaceless_probe_device()
285 if (swrast) in surfaceless_probe_device()
Dplatform_ohos.c1006 ohos_load_driver(_EGLDisplay *disp, bool swrast) in ohos_load_driver() argument
1023 if (swrast) { in ohos_load_driver()
1079 ohos_probe_device(_EGLDisplay *disp, bool swrast) in ohos_probe_device() argument
1085 if (!ohos_load_driver(disp, swrast)) in ohos_probe_device()
1098 ohos_open_device(_EGLDisplay *disp, bool swrast) in ohos_open_device() argument
1103 if (swrast) in ohos_open_device()
1122 return ohos_probe_device(disp, swrast); in ohos_open_device()
1126 ohos_open_device(_EGLDisplay *disp, bool swrast) in ohos_open_device() argument
1139 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
1182 if (ohos_probe_device(disp, swrast)) in ohos_open_device()
/third_party/mesa3d/src/glx/
Ddrisw_glx.c519 if (psc->swrast->base.version < 3) in drisw_create_context_attribs()
576 (*psc->swrast->createContextAttribs) (psc->driScreen, in drisw_create_context_attribs()
613 const __DRIswrastExtension *swrast = psc->swrast; in driswCreateDrawable() local
655 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp); in driswCreateDrawable()
741 if (psc->swrast->base.version >= 3) { in driswBindExtensions()
766 if (psc->swrast->base.version >= 3 in driswBindExtensions()
845 psc->swrast = (__DRIswrastExtension *) extensions[i]; in driswCreateScreen()
850 if (psc->core == NULL || psc->swrast == NULL) { in driswCreateScreen()
855 if (psc->swrast->base.version >= 4) { in driswCreateScreen()
857 psc->swrast->createNewScreen2(screen, loader_extensions_local, in driswCreateScreen()
[all …]
/third_party/mesa3d/src/mesa/swrast_setup/
DNOTES5 swrast vertices from the t&l vertex_buffer structs, and to use them to
60 These are called before and after the completion of all swrast drawing
61 activity. As swrast doesn't call callbacks during triangle, line or

123456