summaryrefslogtreecommitdiffstatsci
path: root/src/device_config.h
blob: 6a7dac35b8484021efa5aa22b0d380c9e4a187ee (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
/*
 * Copyright 2014 © Samsung Research America, Silicon Valley
 *
 * Use of this source code is governed by the 3-Clause BSD license
 * specified in the COPYING file included with this source code.
 */
#ifndef __DEVICE_CONFIG_H__    // -*- mode: c++ -*-
#define __DEVICE_CONFIG_H__

typedef struct _device_config {

    // General Settings
    const char *surface_type;
    int width;
    int height;

    // EGL Settings
    int egl_samples;
    int egl_sample_buffers;
    int egl_msaa_sample_count;
    int egl_gles_version;
    int egl_depth_size;
    int egl_luminance_size;
    int egl_min_swap_interval;
    int egl_max_swap_interval;
    int egl_match_native_pixmap;

} device_config_t;

#endif // __DEVICE_CONFIG_H__
/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :