ab4d4ae9e2
This reverts commit ae5e846047
.
Reason for revert: Breaking Google3
Original change's description:
> [graphite] Move Graphite into Skia base directories.
>
> Change-Id: Ie0fb74f3766a8b33387c145bd1151344c25808cb
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528708
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Change-Id: Ia57992a22c42b17216b40fd29452865f957fb802
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528653
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
25 lines
693 B
C++
25 lines
693 B
C++
/*
|
|
* 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 skgpu_graphite_MtlBackendContext_DEFINED
|
|
#define skgpu_graphite_MtlBackendContext_DEFINED
|
|
|
|
#include "experimental/graphite/include/mtl/MtlTypes.h"
|
|
|
|
namespace skgpu::graphite {
|
|
|
|
// The MtlBackendContext contains all of the base Metal objects needed by the MtlGpu. The assumption
|
|
// is that the client will set these up and pass them to the MtlGpu constructor.
|
|
struct SK_API MtlBackendContext {
|
|
sk_cfp<CFTypeRef> fDevice;
|
|
sk_cfp<CFTypeRef> fQueue;
|
|
};
|
|
|
|
} // namespace skgpu::graphite
|
|
|
|
#endif // skgpu_graphite_MtlBackendContext_DEFINED
|