blob: 566c6618c5202fb648f87047372101a6392197ff (
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
|
/*
* gccore.h
*
* Copyright (C) 2010-2011 Vivante Corporation.
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef GCCORE_H
#define GCCORE_H
#include "sched.h"
#include "gcioctl.h"
/* Command buffer submission. */
void gc_commit(struct gccommit *gccommit, bool fromuser);
/* Surface management. */
void gc_map(struct gcmap *gcmap, bool fromuser);
void gc_unmap(struct gcmap *gcmap, bool fromuser);
/* Process cleanup. */
void gc_release(void);
#endif
|