summaryrefslogtreecommitdiff
path: root/hw/winsys_gl.h
blob: 8428b268c72e2a41d0fd09c92253f41a5e467b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _QEMU_WINSYS_GL_H
#define _QEMU_WINSYS_GL_H

#include "winsys.h"

struct winsys_gl_surface
{
    struct winsys_surface base;

    GLuint (*get_texture)(struct winsys_gl_surface */*sfc*/);
};

struct winsys_gl_info
{
    struct winsys_info base;

    /*
     * OpenGL context that holds all winsys texture objects.
     */
    void *context;
};

#endif