GrLatticeOp.h 959 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright 2015 Google Inc.
  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 GLatticeOp_DEFINED
  8. #define GLatticeOp_DEFINED
  9. #include <memory>
  10. #include "include/core/SkRefCnt.h"
  11. #include "include/gpu/GrSamplerState.h"
  12. class GrColorSpaceXform;
  13. class GrDrawOp;
  14. class GrPaint;
  15. class SkLatticeIter;
  16. class GrRecordingContext;
  17. class GrTextureProxy;
  18. class SkMatrix;
  19. struct SkRect;
  20. namespace GrLatticeOp {
  21. std::unique_ptr<GrDrawOp> MakeNonAA(GrRecordingContext*,
  22. GrPaint&&,
  23. const SkMatrix& viewMatrix,
  24. sk_sp<GrTextureProxy>,
  25. sk_sp<GrColorSpaceXform>,
  26. GrSamplerState::Filter,
  27. std::unique_ptr<SkLatticeIter>,
  28. const SkRect& dst);
  29. };
  30. #endif