#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, Client *client) |
void | populatePlainPipeline (RenderPipeline *pipeline, Client *client) |
video::ECOLOR_FORMAT | selectColorFormat (video::IVideoDriver *driver) |
video::ECOLOR_FORMAT | selectDepthFormat (video::IVideoDriver *driver) |
RenderStep * addUpscaling | ( | RenderPipeline * | pipeline, |
RenderStep * | previousStep, | ||
v2f | downscale_factor, | ||
Client * | client ) |
References RenderPipeline::addStep(), RenderPipeline::createOwned(), g_settings, Settings::getBool(), selectColorFormat(), selectDepthFormat(), 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().
video::ECOLOR_FORMAT selectColorFormat | ( | video::IVideoDriver * | driver | ) |
Referenced by addPostProcessing(), addUpscaling(), and populateSideBySidePipeline().
video::ECOLOR_FORMAT selectDepthFormat | ( | video::IVideoDriver * | driver | ) |
Referenced by addPostProcessing(), addUpscaling(), and populateSideBySidePipeline().