… | |
… | |
34 | |
34 | |
35 | blurNeeded = 1 << 11, |
35 | blurNeeded = 1 << 11, |
36 | |
36 | |
37 | HAS_RENDER = 1 << 12, |
37 | HAS_RENDER = 1 << 12, |
38 | HAS_RENDER_CONV = 1 << 13, |
38 | HAS_RENDER_CONV = 1 << 13, |
|
|
39 | CLIENT_RENDER = 1 << 14, |
39 | |
40 | |
40 | isTransparent = 1 << 16, |
41 | isTransparent = 1 << 16, |
41 | isInvalid = 1 << 17, |
42 | isInvalid = 1 << 17, |
42 | hasChanged = 1 << 19, |
43 | hasChanged = 1 << 19, |
43 | sizeSensitive = 1 << 20, |
44 | sizeSensitive = 1 << 20, |
… | |
… | |
110 | # endif |
111 | # endif |
111 | double invalid_since, valid_since; |
112 | double invalid_since, valid_since; |
112 | |
113 | |
113 | Pixmap pixmap; |
114 | Pixmap pixmap; |
114 | unsigned int pmap_width, pmap_height; |
115 | unsigned int pmap_width, pmap_height; |
115 | unsigned int pmap_depth; |
|
|
116 | |
116 | |
117 | int target_x; |
117 | int target_x; |
118 | int target_y; |
118 | int target_y; |
119 | bool set_position (int x, int y); |
119 | bool set_position (int x, int y); |
120 | bool window_size_sensitive (); |
120 | bool window_size_sensitive (); |
121 | bool window_position_sensitive (); |
121 | bool window_position_sensitive (); |
122 | |
122 | |
123 | bool need_client_side_rendering (); |
|
|
124 | void apply (); |
123 | void apply (); |
125 | bool render (); |
124 | bool render (); |
126 | void invalidate () |
125 | void invalidate () |
127 | { |
126 | { |
128 | if (!(flags & isInvalid)) |
127 | if (!(flags & isInvalid)) |