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 8 #ifndef DrawAtlasOp_DEFINED 9 #define DrawAtlasOp_DEFINED 10 11 #include "include/core/SkColor.h" 12 #include "src/gpu/ganesh/ops/GrOp.h" 13 14 class GrPaint; 15 class GrRecordingContext; 16 class SkMatrix; 17 enum class GrAAType : unsigned int; 18 struct SkRSXform; 19 struct SkRect; 20 21 namespace skgpu::ganesh::DrawAtlasOp { 22 23 GrOp::Owner Make(GrRecordingContext*, 24 GrPaint&&, 25 const SkMatrix& viewMatrix, 26 GrAAType, 27 int spriteCount, 28 const SkRSXform* xforms, 29 const SkRect* rects, 30 const SkColor* colors); 31 32 } // namespace skgpu::ganesh::DrawAtlasOp 33 34 #endif // DrawAtlasOp_DEFINED 35