2db4ba1caf
This is a reland of 4c4c80fa12
Original change's description:
> Remove ARC from tools lib.
>
> Trying this in baby steps to manage leaks better.
>
> Change-Id: Id8597ba236c752bcbf1c7ec94f6c1021e636d547
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/372556
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Adlai Holler <adlai@google.com>
Change-Id: Ib5c949ee9e8ac9f47de1991297aec718f3185424
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/373616
Reviewed-by: Adlai Holler <adlai@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
22 lines
594 B
C
22 lines
594 B
C
/*
|
|
* Copyright 2020 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef GrMtlBackendContext_DEFINED
|
|
#define GrMtlBackendContext_DEFINED
|
|
|
|
#include "include/gpu/mtl/GrMtlTypes.h"
|
|
|
|
// The BackendContext contains all of the base Metal objects needed by the GrMtlGpu. The assumption
|
|
// is that the client will set these up and pass them to the GrMtlGpu constructor.
|
|
struct SK_API GrMtlBackendContext {
|
|
sk_cfp<GrMTLHandle> fDevice;
|
|
sk_cfp<GrMTLHandle> fQueue;
|
|
sk_cfp<GrMTLHandle> fBinaryArchive;
|
|
};
|
|
|
|
#endif
|