/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrDstProxyView_DEFINED #define GrDstProxyView_DEFINED #include "include/core/SkPoint.h" #include "include/private/base/SkTypeTraits.h" #include "include/private/gpu/ganesh/GrTypesPriv.h" #include "src/gpu/ganesh/GrSurfaceProxyView.h" #include <type_traits> #include <utility> class GrSurfaceProxy; /** * GrDstProxyView holds a texture containing the destination pixel values, and an integer-coordinate * offset from device-space to the space of the texture. When framebuffer fetch is not available, a * GrDstProxyView may be used to support blending in the fragment shader/xfer processor. */ class GrDstProxyView { … }; #endif