diff options
author | Max Horn | 2008-09-01 12:41:46 +0000 |
---|---|---|
committer | Max Horn | 2008-09-01 12:41:46 +0000 |
commit | 83cc4e1c921eb7d17cfbf830b68c3564926bdf17 (patch) | |
tree | b3bafb4acbf378c2ea7abbe796dc0439a7b29ab9 /graphics/VectorRendererSpec.h | |
parent | b53220d2cc97afa1ecc1a3b499a8571a5e8885e4 (diff) | |
download | scummvm-rg350-83cc4e1c921eb7d17cfbf830b68c3564926bdf17.tar.gz scummvm-rg350-83cc4e1c921eb7d17cfbf830b68c3564926bdf17.tar.bz2 scummvm-rg350-83cc4e1c921eb7d17cfbf830b68c3564926bdf17.zip |
Use memcpy instead of hand-rolled colorCopy (on many systems, memcpy is hand-optimized asm or even a compiler built-in and *way* faster than any C code you could roll yourself -- it's way faster on my system, too)
svn-id: r34238
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r-- | graphics/VectorRendererSpec.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h index 4d30e5a75a..04f28d4020 100644 --- a/graphics/VectorRendererSpec.h +++ b/graphics/VectorRendererSpec.h @@ -227,17 +227,6 @@ protected: * @param color Color of the pixel */ virtual inline void colorFill(PixelType *first, PixelType *last, PixelType color); - - /** - * Copies several pixes in a row from a surface to another one. - * Used for surface blitting. - * See colorFill() for optimization guidelines. - * - * @param src Source surface. - * @param dst Destination surface. - * @param count Amount of pixels to copy over. - */ - virtual inline void colorCopy(PixelType *src, PixelType *dst, int count); virtual void areaConvolution(const Common::Rect &area, const int filter[3][3], int filterDiv, int offset); |