#include "plain.h"
#include "secondstage.h"
#include "client/camera.h"
#include "client/client.h"
#include "client/clientmap.h"
#include "client/hud.h"
#include "client/minimap.h"
#include "client/shadows/dynamicshadowsrender.h"
Functions | |
std::unique_ptr< RenderStep > | create3DStage (Client *client, v2f scale) |
static v2f | getDownscaleFactor () |
RenderStep * | addUpscaling (RenderPipeline *pipeline, RenderStep *previousStep, v2f downscale_factor) |
void | populatePlainPipeline (RenderPipeline *pipeline, Client *client) |
RenderStep * addUpscaling | ( | RenderPipeline * | pipeline, |
RenderStep * | previousStep, | ||
v2f | downscale_factor ) |
References RenderPipeline::addStep(), RenderPipeline::createOwned(), g_settings, Settings::getBool(), RenderStep::setRenderSource(), RenderStep::setRenderTarget(), and TextureBuffer::setTexture().
Referenced by populatePlainPipeline().
std::unique_ptr< RenderStep > create3DStage | ( | Client * | client, |
v2f | scale ) |
References addPostProcessing(), RenderPipeline::addStep(), g_settings, Settings::getBool(), RenderPipeline::getOutput(), and RenderPipeline::own().
Referenced by populateAnaglyphPipeline(), populateInterlacedPipeline(), populatePlainPipeline(), and populateSideBySidePipeline().
|
static |
References g_settings, Settings::getU16(), and MYMAX.
Referenced by populatePlainPipeline().
void populatePlainPipeline | ( | RenderPipeline * | pipeline, |
Client * | client ) |
References RenderPipeline::addStep(), addUpscaling(), create3DStage(), RenderPipeline::createOwned(), getDownscaleFactor(), RenderPipeline::own(), and MapPostFxStep::setRenderTarget().
Referenced by createPipeline().