/external/mesa3d/src/mesa/swrast/ |
D | s_context.c | 57 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_rasterflags() local 64 if (swrast->_FogEnabled) rasterMask |= FOG_BIT; in _swrast_update_rasterflags() 172 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_fog_hint() local 173 swrast->_PreferPixelFog = (!swrast->AllowVertexFog || in _swrast_update_fog_hint() 176 swrast->AllowPixelFog)); in _swrast_update_fog_hint() 187 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_texture_env() local 190 swrast->_TextureCombinePrimary = GL_FALSE; in _swrast_update_texture_env() 198 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env() 202 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env() 218 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_deferred_texture() local [all …]
|
D | s_points.c | 84 SWcontext *swrast = SWRAST_CONTEXT(ctx); in sprite_point() local 106 span.facing = swrast->PointLineFacing; in sprite_point() 244 SWcontext *swrast = SWRAST_CONTEXT(ctx); in smooth_point() local 279 span.facing = swrast->PointLineFacing; in smooth_point() 364 SWcontext *swrast = SWRAST_CONTEXT(ctx); in large_point() local 382 span.facing = swrast->PointLineFacing; in large_point() 453 SWcontext *swrast = SWRAST_CONTEXT(ctx); in pixel_point() local 459 SWspan *span = &(swrast->PointSpan); in pixel_point() 469 span->arrayAttribs = swrast->_ActiveAttribMask; /* we'll produce these vals */ in pixel_point() 478 (swrast->_RasterMask & (BLEND_BIT | LOGIC_OP_BIT | MASKING_BIT)) || in pixel_point() [all …]
|
D | s_lines.c | 42 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()
|
D | s_context.h | 366 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_start() local 367 if (swrast->Driver.SpanRenderStart) in swrast_render_start() 368 swrast->Driver.SpanRenderStart(ctx); in swrast_render_start() 376 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_finish() local 377 if (swrast->Driver.SpanRenderFinish) in swrast_render_finish() 378 swrast->Driver.SpanRenderFinish(ctx); in swrast_render_finish() 470 for (a = 0; a < swrast->_NumActiveAttribs; a++) { \ 471 const GLuint attr = swrast->_ActiveAttribs[a];
|
D | NOTES | 8 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.
|
D | s_texcombine.c | 50 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 146 argRGB[term] = get_texel_array(swrast, unit); in texture_combine() 194 argRGB[term] = get_texel_array(swrast, srcUnit); in texture_combine() 242 argA[term] = get_texel_array(swrast, unit); in texture_combine() 284 argA[term] = get_texel_array(swrast, srcUnit); in texture_combine() 588 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_texture_span() local 592 if (!swrast->TexelBuffer) { in _swrast_texture_span() [all …]
|
D | s_stencil.c | 215 SWcontext *swrast = SWRAST_CONTEXT(ctx); in do_stencil_test() local 216 GLubyte *fail = swrast->stencil_temp.buf2; in do_stencil_test() 353 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local 361 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span() 409 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local 410 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span() 411 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span() 412 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span() 498 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_write_stencil_span() local 528 GLubyte *destVals = swrast->stencil_temp.buf1; in _swrast_write_stencil_span() [all …]
|
D | s_fragprog.c | 86 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()
|
D | s_aalinetemp.h | 39 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() 197 const GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; in NAME() 222 swrast->StippleCounter++; in NAME()
|
D | s_blend.c | 902 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 …]
|
D | s_triangle.c | 60 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 …]
|
D | s_feedback.c | 81 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()
|
/external/mesa3d/src/mesa/ |
D | Makefile.sources | 298 swrast/s_aaline.c \ 299 swrast/s_aaline.h \ 300 swrast/s_aalinetemp.h \ 301 swrast/s_aatriangle.c \ 302 swrast/s_aatriangle.h \ 303 swrast/s_aatritemp.h \ 304 swrast/s_alpha.c \ 305 swrast/s_alpha.h \ 306 swrast/s_atifragshader.c \ 307 swrast/s_atifragshader.h \ [all …]
|
D | meson.build | 388 'swrast/s_aaline.c', 389 'swrast/s_aaline.h', 390 'swrast/s_aalinetemp.h', 391 'swrast/s_aatriangle.c', 392 'swrast/s_aatriangle.h', 393 'swrast/s_aatritemp.h', 394 'swrast/s_alpha.c', 395 'swrast/s_alpha.h', 396 'swrast/s_atifragshader.c', 397 'swrast/s_atifragshader.h', [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 314 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_8R8G8B() local 316 if (swrast->NewState) in can_do_DrawPixels_8R8G8B() 319 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_8R8G8B() 348 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_8R8G8B() local 355 if (swrast->NewState) in xmesa_DrawPixels_8R8G8B() 445 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_5R6G5B() local 447 if (swrast->NewState) in can_do_DrawPixels_5R6G5B() 450 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_5R6G5B() 480 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_5R6G5B() local 487 if (swrast->NewState) in xmesa_DrawPixels_5R6G5B() [all …]
|
D | xm_line.c | 95 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()
|
/external/mesa3d/doxygen/ |
D | swrast.doxy | 8 PROJECT_NAME = "Mesa Software Rasterization (swrast)" 12 INPUT = ../src/mesa/swrast/ 26 HTML_OUTPUT = swrast 48 GENERATE_TAGFILE = swrast.tag
|
D | doxy.bat | 4 doxygen swrast.doxy 17 doxygen swrast.doxy
|
D | tnl_dd.doxy | 44 swrast.tag=../swrast \
|
D | vbo.doxy | 45 swrast.tag=../swrast \
|
D | swrast_setup.doxy | 46 swrast.tag=../swrast \
|
D | math.doxy | 45 swrast.tag=../swrast \
|
D | nir.doxy | 45 swrast.tag=../swrast \
|
/external/mesa3d/src/mesa/drivers/osmesa/ |
D | osmesa.c | 206 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line_function() local 231 if (swrast->_RasterMask == DEPTH_BIT in osmesa_choose_line_function() 238 if (swrast->_RasterMask == 0) { in osmesa_choose_line_function() 319 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle_function() local 347 if (swrast->_RasterMask == DEPTH_BIT && in osmesa_choose_triangle_function() 371 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle() local 373 swrast->Triangle = osmesa_choose_triangle_function( ctx ); in osmesa_choose_triangle() 374 if (!swrast->Triangle) in osmesa_choose_triangle() 381 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line() local 383 swrast->Line = osmesa_choose_line_function( ctx ); in osmesa_choose_line() [all …]
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 425 if (psc->swrast->base.version < 3) in drisw_create_context_attribs() 482 (*psc->swrast->createContextAttribs) (psc->driScreen, in drisw_create_context_attribs() 520 const __DRIswrastExtension *swrast = psc->swrast; in driswCreateDrawable() local 538 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp); in driswCreateDrawable() 628 if (psc->swrast->base.version >= 3) { in driswBindExtensions() 652 if (psc->swrast->base.version >= 3 in driswBindExtensions() 695 psc->swrast = (__DRIswrastExtension *) extensions[i]; in driswCreateScreen() 700 if (psc->core == NULL || psc->swrast == NULL) { in driswCreateScreen() 705 if (psc->swrast->base.version >= 4) { in driswCreateScreen() 707 psc->swrast->createNewScreen2(screen, loader_extensions, in driswCreateScreen() [all …]
|