blob: 7c1d959e382dad7f72abf02533b8391f4717bcbd [file] [log] [blame]
Allan MacKinnon4359d522018-06-19 13:57:04 -07001/*
2 * Copyright 2016 Google Inc.
3 *
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 *
8 */
9
10#pragma once
11
12//
13//
14//
15
16#include "gl/GrGLInterface.h"
17
18//
19//
20//
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "skc.h"
27
28#ifdef __cplusplus
29}
30#endif
31
32//
33//
34//
35
Mike Kleinff0e8402018-10-31 15:30:18 -040036class SkContext_Compute : public SkNVRefCnt<SkContext_Compute>
Allan MacKinnon4359d522018-06-19 13:57:04 -070037{
38 public:
39
40 //
41 //
42 //
43
44 SkContext_Compute(GrGLInterface const * fInterface);
45
46 ~SkContext_Compute();
47
48 //
49 //
50 //
51
52 skc_context_t context;
53 skc_interop_t interop;
54 skc_surface_t surface;
55
56 //
57 //
58 //
59
60 private:
61
62 GrGLInterface const * fInterface;
63
64 //
65 //
66 //
67};
68
69//
70//
71//