Home | History | Annotate | Download | only in shaders
      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 "SkImagePriv.h"
     11 #include "SkShaderBase.h"
     12 
     13 class SkBitmapProvider;
     14 
     15 class SkBitmapProcLegacyShader : public SkShaderBase {
     16 private:
     17     friend class SkImageShader;
     18 
     19     static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
     20                                 const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
     21 
     22     typedef SkShaderBase INHERITED;
     23 };
     24 
     25 #endif
     26