Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrTextureResolveRenderTask.h
Go to the documentation of this file.
1/*
2 * Copyright 2019 Google LLC
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 GrTextureResolveRenderTask_DEFINED
9#define GrTextureResolveRenderTask_DEFINED
10
11#include "include/core/SkRect.h"
18
20class GrOpFlushState;
23
25public:
27
30#if defined(GR_TEST_UTILS)
32#endif
33
34private:
35 bool onIsUsed(GrSurfaceProxy* proxy) const override {
36 return false;
37 }
38 void gatherProxyIntervals(GrResourceAllocator*) const override;
39
43
44 bool onExecute(GrOpFlushState*) override;
45
46#if defined(GR_TEST_UTILS)
47 const char* name() const final { return "TextureResolve"; }
48#endif
49#ifdef SK_DEBUG
50 void visitProxies_debugOnly(const GrVisitProxyFunc&) const override;
51#endif
52
53 struct Resolve {
56 SkIRect fMSAAResolveRect;
57 };
58
60};
61
62#endif
std::function< void(GrSurfaceProxy *, skgpu::Mipmapped)> GrVisitProxyFunc
uint16_t fFlags
bool onExecute(GrOpFlushState *) override
ExpectedOutcome onMakeClosed(GrRecordingContext *, SkIRect *) override
void gatherProxyIntervals(GrResourceAllocator *) const override
void addProxy(GrDrawingManager *, sk_sp< GrSurfaceProxy > proxy, GrSurfaceProxy::ResolveFlags, const GrCaps &)
bool onIsUsed(GrSurfaceProxy *proxy) const override
FlutterSemanticsFlag flags
const char * name
Definition fuchsia.cc:50