Flutter Engine
The Flutter Engine
GrImageContext.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2019 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 */
8
12
13#include <utility>
14
16 : GrContext_Base(std::move(proxy)) {
17}
18
20
23}
24
27}
28
29sk_sp<GrImageContext> GrImageContext::MakeForPromiseImage(sk_sp<GrContextThreadSafeProxy> tsp) {
30 return sk_sp<GrImageContext>(new GrImageContext(std::move(tsp)));
31}
GrContextThreadSafeProxyPriv priv()
sk_sp< GrContextThreadSafeProxy > fThreadSafeProxy
GrImageContext(sk_sp< GrContextThreadSafeProxy >)
~GrImageContext() override
virtual SK_API void abandonContext()
virtual SK_API bool abandoned()
Definition: ref_ptr.h:256