gfx/skia/trunk/src/utils/SkTextureCompressor_LATC.h
author George Wright <george@mozilla.com>
Mon, 28 Jul 2014 15:06:12 -0400
changeset 220765 883cd6be06d294600562435ebea87d2804bca957
permissions -rw-r--r--
[PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream

/*
 * Copyright 2014 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkTextureCompressor_LATC_DEFINED
#define SkTextureCompressor_LATC_DEFINED

#include "SkBlitter.h"

namespace SkTextureCompressor {

    bool CompressA8ToLATC(uint8_t* dst, const uint8_t* src,
                          int width, int height, int rowBytes);

    SkBlitter* CreateLATCBlitter(int width, int height, void* outputBuffer);
}

#endif  // SkTextureCompressor_LATC_DEFINED