GrAALinearizingConvexPathRenderer.h 541 B

1234567891011121314151617181920212223
  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 GrAALinearizingConvexPathRenderer_DEFINED
  8. #define GrAALinearizingConvexPathRenderer_DEFINED
  9. #include "src/gpu/GrPathRenderer.h"
  10. class GrAALinearizingConvexPathRenderer : public GrPathRenderer {
  11. public:
  12. GrAALinearizingConvexPathRenderer();
  13. private:
  14. CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
  15. bool onDrawPath(const DrawPathArgs&) override;
  16. };
  17. #endif