blob: 039766f109d70ecc0f8bf1eb1d322d6dafcb4ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
//
//
//
#include "SkImage_Compute.h"
//
//
//
#if SK_SUPPORT_GPU_COMPUTE
//
// C++
//
//
//
//
SkImage_Compute::SkImage_Compute(sk_sp<SkContext_Compute> compute,
GrGLuint const snap,
int const width,
int const height)
: SkImage(width,height,0), // FIXME -- who provides unique id?
compute(compute),
snap(snap)
{
;
}
SkImage_Compute::~SkImage_Compute()
{
// skc_interop_snap_dispose(compute->interop,snap); TODO skc.h
}
//
//
//
#endif
|