diff options
author | 2011-10-12 13:43:52 +0000 | |
---|---|---|
committer | 2011-10-12 13:43:52 +0000 | |
commit | 58af9a64701540c7f8083bc22a42d0bae3a5583c (patch) | |
tree | 259bd88ab550ae5306205ce8909054883190d740 /include | |
parent | c42d35daa77febcd6791b5dcb0d5f7ec0f5aa84c (diff) |
separate SkBlitMask decl into its own header
git-svn-id: http://skia.googlecode.com/svn/trunk@2461 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkBlitRow.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/include/core/SkBlitRow.h b/include/core/SkBlitRow.h index 30e5654d9e..fb62f5ab53 100644 --- a/include/core/SkBlitRow.h +++ b/include/core/SkBlitRow.h @@ -1,10 +1,10 @@ - /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ + #ifndef SkBlitRow_DEFINED #define SkBlitRow_DEFINED @@ -91,29 +91,4 @@ private: }; }; -/** - * Factory for blitmask procs - */ -class SkBlitMask { -public: - /** - * Function pointer that blits the mask into a device (dst) colorized - * by color. The number of pixels to blit is specified by width and height, - * but each scanline is offset by dstRB (rowbytes) and srcRB respectively. - */ - typedef void (*Proc)(void* dst, size_t dstRB, SkBitmap::Config dstConfig, - const uint8_t* mask, size_t maskRB, SkColor color, - int width, int height); - - /* Public entry-point to return a blitmask function ptr - */ - static Proc Factory(SkBitmap::Config dstConfig, SkColor color); - - /* return either platform specific optimized blitmask function-ptr, - * or NULL if no optimized - */ - static Proc PlatformProcs(SkBitmap::Config dstConfig, SkColor color); -}; - - #endif |