1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_RASTER_TEXTURE_COMPRESSOR_H_
6 #define CC_RASTER_TEXTURE_COMPRESSOR_H_
10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "cc/base/cc_export.h"
16 class CC_EXPORT TextureCompressor
{
28 static scoped_ptr
<TextureCompressor
> Create(Format format
);
29 virtual ~TextureCompressor() {}
31 virtual void Compress(const uint8_t* src
,
38 TextureCompressor() {}
41 DISALLOW_COPY_AND_ASSIGN(TextureCompressor
);
46 #endif // CC_RASTER_TEXTURE_COMPRESSOR_H_