Home
last modified time | relevance | path

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

123456

/external/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()
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 …]
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()
352 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local
360 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span()
408 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local
409 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span()
410 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span()
411 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span()
497 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_write_stencil_span() local
527 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()
/external/mesa3d/src/mesa/
DMakefile.sources311 swrast/s_aaline.c \
312 swrast/s_aaline.h \
313 swrast/s_aalinetemp.h \
314 swrast/s_aatriangle.c \
315 swrast/s_aatriangle.h \
316 swrast/s_aatritemp.h \
317 swrast/s_alpha.c \
318 swrast/s_alpha.h \
319 swrast/s_atifragshader.c \
320 swrast/s_atifragshader.h \
[all …]
Dmeson.build391 'swrast/s_aaline.c',
392 'swrast/s_aaline.h',
393 'swrast/s_aalinetemp.h',
394 'swrast/s_aatriangle.c',
395 'swrast/s_aatriangle.h',
396 'swrast/s_aatritemp.h',
397 'swrast/s_alpha.c',
398 'swrast/s_alpha.h',
399 'swrast/s_atifragshader.c',
400 'swrast/s_atifragshader.h',
[all …]
/external/mesa3d/doxygen/
Dswrast.doxy8 PROJECT_NAME = "Mesa Software Rasterization (swrast)"
12 INPUT = ../src/mesa/swrast/
26 HTML_OUTPUT = swrast
48 GENERATE_TAGFILE = swrast.tag
Ddoxy.bat4 doxygen swrast.doxy
17 doxygen swrast.doxy
Dmath.doxy45 swrast.tag=../swrast \
Dswrast_setup.doxy46 swrast.tag=../swrast \
/external/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
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c314 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 …]
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()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c206 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/egl/drivers/dri2/
Dplatform_surfaceless.c225 surfaceless_probe_device(_EGLDisplay *disp, bool swrast) in surfaceless_probe_device() argument
228 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
247 disp->Device = _eglAddDevice(dri2_dpy->fd, swrast); in surfaceless_probe_device()
255 if (swrast) { in surfaceless_probe_device()
284 if (swrast) in surfaceless_probe_device()
/external/mesa3d/docs/
Dosmesa.rst18 #. swrast - this is the legacy Mesa software rasterizer
29 …meson builddir -Dosmesa=gallium -Dgallium-drivers=swrast -Ddri-drivers=[] -Dvulkan-drivers=[] -Dpr…
39 $PWD/builddir/install/lib/libOSMesa.so (swrast-based OSMesa)

123456