diff options
author | Ole Loots <ole@monochrom.net> | 2012-03-12 21:20:18 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-03-12 21:20:18 +0000 |
commit | 4604f293b768aa806f951e260518c62b3f4367c1 (patch) | |
tree | 6fdbb1bad32d0f5e7929857e81e56b1be7139e66 /atari/plot/plotter.h | |
parent | b01229d9cc8d65e40b6a124b307d9dca57d65604 (diff) | |
download | netsurf-4604f293b768aa806f951e260518c62b3f4367c1.tar.gz netsurf-4604f293b768aa806f951e260518c62b3f4367c1.tar.bz2 |
Removed unused plotter members.
svn path=/trunk/netsurf/; revision=13511
Diffstat (limited to 'atari/plot/plotter.h')
-rwxr-xr-x | atari/plot/plotter.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/atari/plot/plotter.h b/atari/plot/plotter.h index cf07d434f..838451572 100755 --- a/atari/plot/plotter.h +++ b/atari/plot/plotter.h @@ -48,14 +48,20 @@ #endif
#define MAX_FRAMEBUFS 0x010
-#define C2P (1<<0) /* C2P convert buffer 1 to buffer 2 */
+#define C2P (1<<0) /* C2P convert buffer 1 to buffer 2 */
/* TODO: implement offscreen buffer switch */
-/* Plotter Flags: */
-#define PLOT_FLAG_OFFSCREEN 0x01 /* offsreen plotter should set/accept this flag */
-#define PLOT_FLAG_LOCKED 0x02 /* plotter should set this flag during screen updates */
-#define PLOT_FLAG_DITHER 0x04 /* true if the plotter shall dither images */
-#define PLOT_FLAG_TRANS 0x08 /* true if the plotter supports transparent operations */ +/* Plotter Option Flags: */
+#define PLOT_FLAG_DITHER 0x04 /* true if the plotter shall dither images */
+#define PLOT_FLAG_TRANS 0x08 /* true if the plotter supports transparent operations */ + +/* Plotter "feature" flags */ +#define PLOT_FLAG_HAS_DITHER 0x0400 +#define PLOT_FLAG_HAS_ALPHA 0x0800 +#define PLOT_FLAG_OFFSCREEN 0x1000 /* offsreen plotter should set this flag */ + +/* Plotter "internal" flags */ +#define PLOT_FLAG_LOCKED 0x08000 /* plotter should set this flag during screen updates */ /* Font Plotter flags: */ #define FONTPLOT_FLAG_MONOGLYPH 0x01 @@ -159,9 +165,6 @@ typedef void * (*_pmf_create_framebuffer)(GEM_PLOTTER self); typedef void * (*_pmf_switch_to_framebuffer)(GEM_PLOTTER self); typedef int (*_pmf_lock)(GEM_PLOTTER self);
typedef int (*_pmf_unlock)(GEM_PLOTTER self);
-typedef int (*_pmf_update_region)(GEM_PLOTTER self, GRECT region);
-typedef int (*_pmf_update_screen_region)( GEM_PLOTTER self, GRECT region );
-typedef int (*_pmf_update_screen)(GEM_PLOTTER self);
typedef int (*_pmf_put_pixel)(GEM_PLOTTER self, int x, int y, int color );
typedef int (*_pmf_copy_rect)(GEM_PLOTTER self, GRECT src, GRECT dst );
typedef int (*_pmf_clip)(GEM_PLOTTER self, const struct rect * clip );
@@ -205,9 +208,6 @@ struct s_gem_plotter _pmf_unlock unlock;
_pmf_create_framebuffer create_framebuffer;
_pmf_switch_to_framebuffer switch_to_framebuffer;
- _pmf_update_region update_region;
- _pmf_update_screen update_screen;
- _pmf_update_screen_region update_screen_region;
_pmf_put_pixel put_pixel;
_pmf_copy_rect copy_rect;
_pmf_clip clip;
|