1/*
2 * Copyright 2006 The Android Open Source Project
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7#ifndef SkBitmapProcShader_DEFINED
8#define SkBitmapProcShader_DEFINED
9
10#include "src/core/SkImagePriv.h"
11#include "src/shaders/SkShaderBase.h"
12
13class SkImage_Base;
14
15class SkBitmapProcLegacyShader : public SkShaderBase {
16private:
17 friend class SkImageShader;
18
19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
20 const SkImage_Base*, const ContextRec&, SkArenaAlloc* alloc);
21
22 typedef SkShaderBase INHERITED;
23};
24
25#endif
26