/external/mesa3d/src/mesa/swrast/ |
D | s_context.c | 55 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_rasterflags() local 62 if (swrast->_FogEnabled) rasterMask |= FOG_BIT; in _swrast_update_rasterflags() 170 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_fog_hint() local 171 swrast->_PreferPixelFog = (!swrast->AllowVertexFog || in _swrast_update_fog_hint() 174 swrast->AllowPixelFog)); in _swrast_update_fog_hint() 185 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_update_texture_env() local 188 swrast->_TextureCombinePrimary = GL_FALSE; in _swrast_update_texture_env() 196 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env() 200 swrast->_TextureCombinePrimary = GL_TRUE; in _swrast_update_texture_env() 216 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 | 367 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];
|
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 | 59 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_culltriangle() local 66 if (c * swrast->_BackfaceSign * swrast->_BackfaceCullSign <= 0.0F) in _swrast_culltriangle() 146 GLubyte (*rgba)[4] = swrast->SpanArrays->rgba8; \ 204 GLubyte (*rgba)[4] = swrast->SpanArrays->rgba8; \ 205 GLubyte *mask = swrast->SpanArrays->mask; \ 981 swrast->Triangle = triFunc; \ 986 #define USE(triFunc) swrast->Triangle = triFunc; 1003 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_triangle() local 1017 assert(swrast->Triangle); in _swrast_choose_triangle() 1046 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 | 280 swrast/s_aaline.c \ 281 swrast/s_aaline.h \ 282 swrast/s_aalinetemp.h \ 283 swrast/s_aatriangle.c \ 284 swrast/s_aatriangle.h \ 285 swrast/s_aatritemp.h \ 286 swrast/s_alpha.c \ 287 swrast/s_alpha.h \ 288 swrast/s_atifragshader.c \ 289 swrast/s_atifragshader.h \ [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 313 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_8R8G8B() local 315 if (swrast->NewState) in can_do_DrawPixels_8R8G8B() 318 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_8R8G8B() 347 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_8R8G8B() local 354 if (swrast->NewState) in xmesa_DrawPixels_8R8G8B() 444 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_5R6G5B() local 446 if (swrast->NewState) in can_do_DrawPixels_5R6G5B() 449 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_5R6G5B() 479 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_5R6G5B() local 486 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 | math.doxy | 45 swrast.tag=../swrast \
|
D | swrast_setup.doxy | 46 swrast.tag=../swrast \
|
D | tnl_dd.doxy | 44 swrast.tag=../swrast \
|
D | vbo.doxy | 45 swrast.tag=../swrast \
|
D | tnl.doxy | 46 swrast.tag=../swrast \
|
/external/mesa3d/src/mesa/drivers/osmesa/ |
D | osmesa.c | 199 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line_function() local 225 if (swrast->_RasterMask == DEPTH_BIT in osmesa_choose_line_function() 232 if (swrast->_RasterMask == 0) { in osmesa_choose_line_function() 313 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle_function() local 341 if (swrast->_RasterMask == DEPTH_BIT && in osmesa_choose_triangle_function() 365 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle() local 367 swrast->Triangle = osmesa_choose_triangle_function( ctx ); in osmesa_choose_triangle() 368 if (!swrast->Triangle) in osmesa_choose_triangle() 375 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line() local 377 swrast->Line = osmesa_choose_line_function( ctx ); in osmesa_choose_line() [all …]
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 427 if (psc->swrast->base.version < 3) in drisw_create_context_attribs() 476 (*psc->swrast->createContextAttribs) (psc->driScreen, in drisw_create_context_attribs() 514 const __DRIswrastExtension *swrast = psc->swrast; in driswCreateDrawable() local 532 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp); in driswCreateDrawable() 622 if (psc->swrast->base.version >= 3) { in driswBindExtensions() 646 if (psc->swrast->base.version >= 3 in driswBindExtensions() 685 psc->swrast = (__DRIswrastExtension *) extensions[i]; in driswCreateScreen() 690 if (psc->core == NULL || psc->swrast == NULL) { in driswCreateScreen() 695 if (psc->swrast->base.version >= 4) { in driswCreateScreen() 697 psc->swrast->createNewScreen2(screen, loader_extensions, in driswCreateScreen() [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
D | Android.mk | 43 ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),) 47 ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),)
|