blob: 706a5927f57a23c8e04b19dc8758c7cf32ac8189 (
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
|
#ifndef __lib_gdi_compositing_h
#define __lib_gdi_compositing_h
#include <lib/gdi/gpixmap.h>
#include <vector>
class gDC;
struct gContext
{
ePtr<gDC> m_pixmap;
int m_reg_int[256];
float m_reg_float[256];
~gContext();
};
struct gCompositingElement
{
std::vector<unsigned int> m_code;
gContext m_context;
};
class gCompositingData: public Object
{
DECLARE_REF(gCompositingData);
public:
int execute(void); /* returns ticks until next execution */
private:
std::vector<gCompositingElement> m_elements;
gContext m_globals;
};
#endif
|