/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 | 85 SWcontext *swrast = SWRAST_CONTEXT(ctx); in sprite_point() local 107 span.facing = swrast->PointLineFacing; in sprite_point() 245 SWcontext *swrast = SWRAST_CONTEXT(ctx); in smooth_point() local 280 span.facing = swrast->PointLineFacing; in smooth_point() 365 SWcontext *swrast = SWRAST_CONTEXT(ctx); in large_point() local 383 span.facing = swrast->PointLineFacing; in large_point() 454 SWcontext *swrast = SWRAST_CONTEXT(ctx); in pixel_point() local 460 SWspan *span = &(swrast->PointSpan); in pixel_point() 470 span->arrayAttribs = swrast->_ActiveAttribMask; /* we'll produce these vals */ in pixel_point() 479 (swrast->_RasterMask & (BLEND_BIT | LOGIC_OP_BIT | MASKING_BIT)) || in pixel_point() [all …]
|
D | s_lines.c | 43 SWcontext *swrast = SWRAST_CONTEXT(ctx); in compute_stipple_mask() local 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; in compute_stipple_mask() 54 swrast->StippleCounter++; in compute_stipple_mask() 206 swrast->Line = lineFunc; \ 211 #define USE(lineFunc) swrast->Line = lineFunc 227 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_line() local 236 ASSERT(swrast->Line); in _swrast_choose_line() 240 || swrast->_FogEnabled in _swrast_choose_line()
|
D | s_context.h | 350 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_start() local 351 if (swrast->Driver.SpanRenderStart) in swrast_render_start() 352 swrast->Driver.SpanRenderStart(ctx); in swrast_render_start() 360 SWcontext *swrast = SWRAST_CONTEXT(ctx); in swrast_render_finish() local 361 if (swrast->Driver.SpanRenderFinish) in swrast_render_finish() 362 swrast->Driver.SpanRenderFinish(ctx); in swrast_render_finish() 451 for (a = 0; a < swrast->_NumActiveAttribs; a++) { \ 452 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_stencil.c | 213 SWcontext *swrast = SWRAST_CONTEXT(ctx); in do_stencil_test() local 214 GLubyte *fail = swrast->stencil_temp.buf2; in do_stencil_test() 351 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local 359 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span() 407 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_stencil_and_ztest_span() local 408 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span() 409 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span() 410 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span() 496 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_write_stencil_span() local 526 GLubyte *destVals = swrast->stencil_temp.buf1; in _swrast_write_stencil_span() [all …]
|
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() 598 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_texture_span() local 602 if (!swrast->TexelBuffer) { in _swrast_texture_span() [all …]
|
D | s_fragprog.c | 85 SWcontext *swrast = SWRAST_CONTEXT(ctx); in fetch_texel_lod() local 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, in fetch_texel_lod() 114 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() 217 SWcontext *swrast = SWRAST_CONTEXT(ctx); in run_program() local 220 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() 196 const GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; in NAME() 221 swrast->StippleCounter++; in NAME()
|
D | s_blend.c | 905 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_choose_blend_func() local 913 swrast->BlendFunc = blend_general; in _swrast_choose_blend_func() 919 swrast->BlendFunc = _mesa_mmx_blend_min; in _swrast_choose_blend_func() 923 swrast->BlendFunc = blend_min; in _swrast_choose_blend_func() 929 swrast->BlendFunc = _mesa_mmx_blend_max; in _swrast_choose_blend_func() 933 swrast->BlendFunc = blend_max; in _swrast_choose_blend_func() 936 swrast->BlendFunc = blend_general; in _swrast_choose_blend_func() 942 swrast->BlendFunc = _mesa_mmx_blend_transparency; in _swrast_choose_blend_func() 948 swrast->BlendFunc = blend_transparency_ubyte; in _swrast_choose_blend_func() 950 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 | 82 SWcontext *swrast = SWRAST_CONTEXT(ctx); in _swrast_feedback_line() local 84 if (swrast->StippleCounter == 0) in _swrast_feedback_line() 98 swrast->StippleCounter++; in _swrast_feedback_line()
|
/external/mesa3d/docs/ |
D | GL3.txt | 17 Conditional rendering (GL_NV_conditional_render) DONE (i965, r300, r600, swrast) 18 Map buffer subranges (GL_ARB_map_buffer_range) DONE (i965, r300, r600, swrast) 22 GL_EXT_texture_shared_exponent DONE (i965, r600, swrast) 24 Framebuffer objects (GL_ARB_framebuffer_object) DONE (i965, r300, r600, swrast) 28 Per-buffer blend and masks (GL_EXT_draw_buffers2) DONE (i965, r600, swrast) 29 GL_EXT_texture_compression_rgtc DONE (i965, r300, r600, swrast) 30 Red and red/green texture formats DONE (i965, swrast, gallium) 32 Vertex array objects (GL_APPLE_vertex_array_object) DONE (i965, r300, r600, swrast) 46 Instanced drawing (GL_ARB_draw_instanced) DONE (i965, gallium, swrast) 47 Buffer copying (GL_ARB_copy_buffer) DONE (i965, r300, r600, swrast) [all …]
|
/external/mesa3d/src/mesa/ |
D | sources.mak | 129 $(SRCDIR)swrast/s_aaline.c \ 130 $(SRCDIR)swrast/s_aatriangle.c \ 131 $(SRCDIR)swrast/s_alpha.c \ 132 $(SRCDIR)swrast/s_atifragshader.c \ 133 $(SRCDIR)swrast/s_bitmap.c \ 134 $(SRCDIR)swrast/s_blend.c \ 135 $(SRCDIR)swrast/s_blit.c \ 136 $(SRCDIR)swrast/s_clear.c \ 137 $(SRCDIR)swrast/s_copypix.c \ 138 $(SRCDIR)swrast/s_context.c \ [all …]
|
D | SConscript | 156 'swrast/s_aaline.c', 157 'swrast/s_aatriangle.c', 158 'swrast/s_alpha.c', 159 'swrast/s_atifragshader.c', 160 'swrast/s_bitmap.c', 161 'swrast/s_blend.c', 162 'swrast/s_blit.c', 163 'swrast/s_clear.c', 164 'swrast/s_copypix.c', 165 'swrast/s_context.c', [all …]
|
/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 | shader.doxy | 45 swrast.tag=../swrast \ 49 GENERATE_TAGFILE = swrast.tag
|
D | glapi.doxy | 45 swrast.tag=../swrast \ 49 GENERATE_TAGFILE = swrast.tag
|
D | doxy.bat | 4 doxygen swrast.doxy 15 doxygen swrast.doxy
|
D | math.doxy | 45 swrast.tag=../swrast \
|
/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() 446 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in can_do_DrawPixels_5R6G5B() local 448 if (swrast->NewState) in can_do_DrawPixels_5R6G5B() 451 if ((swrast->_RasterMask & ~CLIP_BIT) == 0) /* no blend, z-test, etc */ { in can_do_DrawPixels_5R6G5B() 481 const SWcontext *swrast = SWRAST_CONTEXT( ctx ); in xmesa_DrawPixels_5R6G5B() local 488 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/src/mesa/drivers/osmesa/ |
D | osmesa.c | 195 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line_function() local 208 if (swrast->_RasterMask==DEPTH_BIT in osmesa_choose_line_function() 215 if (swrast->_RasterMask == 0) { in osmesa_choose_line_function() 296 const SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle_function() local 309 if (swrast->_RasterMask == DEPTH_BIT && in osmesa_choose_triangle_function() 332 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_triangle() local 334 swrast->Triangle = osmesa_choose_triangle_function( ctx ); in osmesa_choose_triangle() 335 if (!swrast->Triangle) in osmesa_choose_triangle() 342 SWcontext *swrast = SWRAST_CONTEXT(ctx); in osmesa_choose_line() local 344 swrast->Line = osmesa_choose_line_function( ctx ); in osmesa_choose_line() [all …]
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 50 const __DRIswrastExtension *swrast; member 443 if (psc->swrast->base.version < 3) in drisw_create_context_attribs() 486 (*psc->swrast->createContextAttribs) (psc->driScreen, in drisw_create_context_attribs() 524 const __DRIswrastExtension *swrast = psc->swrast; in driswCreateDrawable() local 543 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp); in driswCreateDrawable() 610 if (psc->swrast->base.version >= 3) { in driswBindExtensions() 663 psc->swrast = (__DRIswrastExtension *) extensions[i]; in driswCreateScreen() 666 if (psc->core == NULL || psc->swrast == NULL) { in driswCreateScreen() 672 psc->swrast->createNewScreen(screen, loader_extensions, in driswCreateScreen()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/ |
D | d3d10misc.h | 37 HMODULE swrast, UINT flags, UINT sdk_version, ID3D10Device **device); 40 HMODULE swrast, UINT flags, UINT sdk_version, DXGI_SWAP_CHAIN_DESC *swapchain_desc,
|