/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/ganesh/ops/GrOp.h" std::atomic<uint32_t> GrOp::gCurrOpClassID { … }; std::atomic<uint32_t> GrOp::gCurrOpUniqueID{ … }; GrOp::GrOp(uint32_t classID) : … { … } GrOp::CombineResult GrOp::combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps) { … } void GrOp::chainConcat(GrOp::Owner next) { … } GrOp::Owner GrOp::cutChain() { … } #ifdef SK_DEBUG void GrOp::validateChain(GrOp* expectedTail) const { … } #endif