Flutter Engine
The Flutter Engine
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"
19
21class GrOpFlushState;
24
26public:
28
31#if defined(GR_TEST_UTILS)
33#endif
34
35private:
36 bool onIsUsed(GrSurfaceProxy* proxy) const override {
37 return false;
38 }
39 void gatherProxyIntervals(GrResourceAllocator*) const override;
40
41 ExpectedOutcome onMakeClosed(GrRecordingContext*, SkIRect*) override {
43 }
44
45 bool onExecute(GrOpFlushState*) override;
46
47#if defined(GR_TEST_UTILS)
48 const char* name() const final { return "TextureResolve"; }
49#endif
50#ifdef SK_DEBUG
51 void visitProxies_debugOnly(const GrVisitProxyFunc&) const override;
52#endif
53
54 struct Resolve {
57 SkIRect fMSAAResolveRect;
58 };
59
61};
62
63#endif
std::function< void(GrSurfaceProxy *, skgpu::Mipmapped)> GrVisitProxyFunc
Definition: GrTypesPriv.h:943
uint16_t fFlags
Definition: ShapeLayer.cpp:106
Definition: GrCaps.h:57
void addProxy(GrDrawingManager *, sk_sp< GrSurfaceProxy > proxy, GrSurfaceProxy::ResolveFlags, const GrCaps &)
FlutterSemanticsFlag flags
static FunctionPtr Resolve(Thread *thread, Zone *zone, const GrowableArray< const Instance * > &caller_arguments, const Class &receiver_class, const String &name, const Array &descriptor)
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32
Definition: SkRect.h:32