ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

zblit.cpp File Reference

#include "graphics/tinygl/zblit.h"
#include "graphics/tinygl/zgl.h"
#include "graphics/pixelbuffer.h"
#include "common/array.h"
#include "graphics/tinygl/zdirtyrect.h"
#include "graphics/tinygl/gl.h"
#include <math.h>
Include dependency graph for zblit.cpp:

Go to the source code of this file.

Classes

struct  Graphics::BlitImage
struct  Graphics::BlitImage::Line

Namespaces

namespace  Graphics
namespace  Graphics::Internal

Functions

Common::Point Graphics::transformPoint (float x, float y, int rotation)
Common::Rect Graphics::rotateRectangle (int x, int y, int width, int height, int rotation, int originX, int originY)
void Graphics::tglGetBlitImageSize (BlitImage *blitImage, int &width, int &height)
 Getter for current blit image width and height.
void Graphics::tglIncBlitImageRef (BlitImage *blitImage)
int Graphics::tglGetBlitImageVersion (BlitImage *blitImage)
 Provides a way to check if the image has been updated.
BlitImage * Graphics::tglGenBlitImage ()
 Generates a new blit image.
void Graphics::tglUploadBlitImage (BlitImage *blitImage, const Graphics::Surface &surface, uint32 colorKey, bool applyColorKey)
 Copies a surface data into the provided blit image.
void Graphics::tglDeleteBlitImage (BlitImage *blitImage)
 Destroys an instance of blit image.
void Graphics::tglBlit (BlitImage *blitImage, int x, int y)
 Blits an image to the color buffer.
void Graphics::tglBlit (BlitImage *blitImage, const BlitTransform &transform)
 Blits an image to the color buffer.
void Graphics::tglBlitNoBlend (BlitImage *blitImage, const BlitTransform &transform)
 Blits an image to the color buffer without performing any type of blending.
void Graphics::tglBlitFast (BlitImage *blitImage, int x, int y)
 Blits an image to the color buffer without performinc any type of blending, image transformation or tinting.
void Graphics::tglBlitZBuffer (BlitImage *blitImage, int x, int y)
 Blits an image to the depth buffer.
template<bool kEnableAlphaBlending, bool kDisableColor, bool kDisableTransform, bool kDisableBlend>
void Graphics::Internal::tglBlit (BlitImage *blitImage, const BlitTransform &transform)
template<bool kEnableAlphaBlending, bool kDisableColor, bool kDisableTransform>
void Graphics::Internal::tglBlit (BlitImage *blitImage, const BlitTransform &transform, bool disableBlend)
template<bool kEnableAlphaBlending, bool kDisableColor>
void Graphics::Internal::tglBlit (BlitImage *blitImage, const BlitTransform &transform, bool disableTransform, bool disableBlend)
template<bool kEnableAlphaBlending>
void Graphics::Internal::tglBlit (BlitImage *blitImage, const BlitTransform &transform, bool disableColor, bool disableTransform, bool disableBlend)
void Graphics::Internal::tglBlitNoBlend (BlitImage *blitImage, const BlitTransform &transform)
void Graphics::Internal::tglBlitFast (BlitImage *blitImage, int x, int y)
void Graphics::Internal::tglBlitZBuffer (BlitImage *blitImage, int x, int y)
void Graphics::Internal::tglCleanupImages ()
 Performs a cleanup of disposed blit images.
void Graphics::Internal::tglBlitSetScissorRect (const Common::Rect &rect)
 Sets up a scissor rectangle for blit calls: every blit call is affected by this rectangle.
void Graphics::Internal::tglBlitResetScissorRect (void)


Generated on Sat Feb 16 2019 05:03:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge