blob: 94f9128841a406fe052bfb363a1418781eef458b (
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
|
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*
*/
#pragma once
//
//
//
#include "skc.h"
#include "assert_state.h"
//
// SURFACE
//
struct skc_surface
{
struct skc_context * context;
struct skc_surface_impl * impl;
skc_int ref_count;
void (* release)(struct skc_surface_impl * const impl);
void (* render )(struct skc_surface_impl * const impl,
skc_styling_t styling,
skc_composition_t composition,
skc_framebuffer_t fb,
uint32_t const clip[4],
skc_surface_render_notify notify,
void * data);
};
//
//
//
|