aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/surface_cl_12.h
blob: 43ea5428a5f93c1b0f4252e98056b019c89d1153 (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
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can
 * be found in the LICENSE file.
 *
 */

#ifndef SKC_SURFACE_CL_12_ONCE
#define SKC_SURFACE_CL_12_ONCE

//
// Unlike other object platform implementations, the surface object
// implementation needs to access the opaque platform-specfic outputs
// of the composition and styling objects.
//
//  Composition : { keys,   offsets, key_count, offset_count }
//  Styling     : { layers, groups,  commands                }
//
// With the OpenCL platform we'll handle this by simply exposing the
// argument value (void*) and its size (size_t).
//
// TODO: It might make sense in the future to support more complex
//       rendering jobs that simultaneously involve multiple surfaces,
//       compositions and stylings.
//

#endif

//
//
//