SkBitmapProcShader.h 661 B

12345678910111213141516171819202122232425
  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. #include "src/core/SkImagePriv.h"
  10. #include "src/shaders/SkShaderBase.h"
  11. class SkBitmapProvider;
  12. class SkBitmapProcLegacyShader : public SkShaderBase {
  13. private:
  14. friend class SkImageShader;
  15. static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
  16. const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
  17. typedef SkShaderBase INHERITED;
  18. };
  19. #endif