~ilya-yanok/ubuntu/precise/grub2/fix-for-948716

« back to all changes in this revision

Viewing changes to include/grub/i386/pc/vbeblit.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-25 19:00:53 UTC
  • mfrom: (1.6.3 upstream)
  • mto: (17.4.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20090725190053-uv3lm6ya3zxs77ep
ImportĀ upstreamĀ versionĀ 1.96+20090725

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  GRUB  --  GRand Unified Bootloader
 
3
 *  Copyright (C) 2006,2007,2008  Free Software Foundation, Inc.
 
4
 *
 
5
 *  GRUB is free software: you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation, either version 3 of the License, or
 
8
 *  (at your option) any later version.
 
9
 *
 
10
 *  GRUB is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#ifndef GRUB_VBEBLIT_MACHINE_HEADER
 
20
#define GRUB_VBEBLIT_MACHINE_HEADER     1
 
21
 
 
22
/* NOTE: This header is private header for vbe driver and should not be used
 
23
   in other parts of the code.  */
 
24
 
 
25
struct grub_video_i386_vbeblit_info;
 
26
 
 
27
void
 
28
grub_video_i386_vbeblit_replace (struct grub_video_i386_vbeblit_info *dst,
 
29
                                 struct grub_video_i386_vbeblit_info *src,
 
30
                                 int x, int y, int width, int height,
 
31
                                 int offset_x, int offset_y);
 
32
 
 
33
void
 
34
grub_video_i386_vbeblit_replace_directN (struct grub_video_i386_vbeblit_info *dst,
 
35
                                         struct grub_video_i386_vbeblit_info *src,
 
36
                                         int x, int y, int width, int height,
 
37
                                         int offset_x, int offset_y);
 
38
 
 
39
void
 
40
grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888 (struct grub_video_i386_vbeblit_info *dst,
 
41
                                                   struct grub_video_i386_vbeblit_info *src,
 
42
                                                   int x, int y, int width, int height,
 
43
                                                   int offset_x, int offset_y);
 
44
 
 
45
void
 
46
grub_video_i386_vbeblit_replace_BGRX8888_RGB888 (struct grub_video_i386_vbeblit_info *dst,
 
47
                                                 struct grub_video_i386_vbeblit_info *src,
 
48
                                                 int x, int y,
 
49
                                                 int width, int height,
 
50
                                                 int offset_x, int offset_y);
 
51
 
 
52
void
 
53
grub_video_i386_vbeblit_replace_BGR888_RGBX8888 (struct grub_video_i386_vbeblit_info *dst,
 
54
                                                 struct grub_video_i386_vbeblit_info *src,
 
55
                                                 int x, int y,
 
56
                                                 int width, int height,
 
57
                                                 int offset_x, int offset_y);
 
58
 
 
59
void
 
60
grub_video_i386_vbeblit_replace_BGR888_RGB888 (struct grub_video_i386_vbeblit_info *dst,
 
61
                                               struct grub_video_i386_vbeblit_info *src,
 
62
                                               int x, int y,
 
63
                                               int width, int height,
 
64
                                               int offset_x, int offset_y);
 
65
 
 
66
void
 
67
grub_video_i386_vbeblit_replace_RGBX8888_RGB888 (struct grub_video_i386_vbeblit_info *dst,
 
68
                                                 struct grub_video_i386_vbeblit_info *src,
 
69
                                                 int x, int y,
 
70
                                                 int width, int height,
 
71
                                                 int offset_x, int offset_y);
 
72
 
 
73
void
 
74
grub_video_i386_vbeblit_replace_RGB888_RGBX8888 (struct grub_video_i386_vbeblit_info *dst,
 
75
                                                 struct grub_video_i386_vbeblit_info *src,
 
76
                                                 int x, int y,
 
77
                                                 int width, int height,
 
78
                                                 int offset_x, int offset_y);
 
79
 
 
80
void
 
81
grub_video_i386_vbeblit_replace_index_RGBX8888 (struct grub_video_i386_vbeblit_info *dst,
 
82
                                                struct grub_video_i386_vbeblit_info *src,
 
83
                                                int x, int y,
 
84
                                                int width, int height,
 
85
                                                int offset_x, int offset_y);
 
86
 
 
87
void
 
88
grub_video_i386_vbeblit_replace_index_RGB888 (struct grub_video_i386_vbeblit_info *dst,
 
89
                                              struct grub_video_i386_vbeblit_info *src,
 
90
                                              int x, int y, int width, int height,
 
91
                                              int offset_x, int offset_y);
 
92
 
 
93
void
 
94
grub_video_i386_vbeblit_blend (struct grub_video_i386_vbeblit_info *dst,
 
95
                               struct grub_video_i386_vbeblit_info *src,
 
96
                               int x, int y, int width, int height,
 
97
                               int offset_x, int offset_y);
 
98
 
 
99
void
 
100
grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888 (struct grub_video_i386_vbeblit_info *dst,
 
101
                                                 struct grub_video_i386_vbeblit_info *src,
 
102
                                                 int x, int y,
 
103
                                                 int width, int height,
 
104
                                                 int offset_x, int offset_y);
 
105
 
 
106
void
 
107
grub_video_i386_vbeblit_blend_BGR888_RGBA8888 (struct grub_video_i386_vbeblit_info *dst,
 
108
                                               struct grub_video_i386_vbeblit_info *src,
 
109
                                               int x, int y,
 
110
                                               int width, int height,
 
111
                                               int offset_x, int offset_y);
 
112
 
 
113
void
 
114
grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888 (struct grub_video_i386_vbeblit_info *dst,
 
115
                                                 struct grub_video_i386_vbeblit_info *src,
 
116
                                                 int x, int y,
 
117
                                                 int width, int height,
 
118
                                                 int offset_x, int offset_y);
 
119
 
 
120
void
 
121
grub_video_i386_vbeblit_blend_RGB888_RGBA8888 (struct grub_video_i386_vbeblit_info *dst,
 
122
                                               struct grub_video_i386_vbeblit_info *src,
 
123
                                               int x, int y,
 
124
                                               int width, int height,
 
125
                                               int offset_x, int offset_y);
 
126
 
 
127
void
 
128
grub_video_i386_vbeblit_blend_index_RGBA8888 (struct grub_video_i386_vbeblit_info *dst,
 
129
                                              struct grub_video_i386_vbeblit_info *src,
 
130
                                              int x, int y,
 
131
                                              int width, int height,
 
132
                                              int offset_x, int offset_y);
 
133
 
 
134
#endif /* ! GRUB_VBEBLIT_MACHINE_HEADER */