static void radeonSpanRenderStart(struct gl_context * ctx) { radeonContextPtr rmesa = RADEON_CONTEXT(ctx); radeon_firevertices(rmesa); _swrast_map_textures(ctx); radeon_map_framebuffer(ctx, ctx->DrawBuffer); if (ctx->ReadBuffer != ctx->DrawBuffer) radeon_map_framebuffer(ctx, ctx->ReadBuffer); }
/** called via swrast->Driver.SpanRenderStart() */ void _swrast_span_render_start(struct gl_context *ctx) { _swrast_map_textures(ctx); _swrast_map_renderbuffers(ctx); }