annotate packages/io/framebuf/current/cdl/framebuf.cdl @ 2863:7d8c61e6225c default tip

* Added execute permissions to files missed in conversion from CVS
author alexs
date Thu, 26 Mar 2009 20:39:18 +0000
parents 35f991d79d4c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
1 # ====================================================================
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
2 #
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
3 # framebuf.cdl
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
4 #
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
5 # Generic framebuffer package configuration data
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
6 #
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
7 # ====================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
8 # ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
9 # -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
10 # This file is part of eCos, the Embedded Configurable Operating System.
2770
35f991d79d4c * devs/framebuf/synth/current/cdl/framebuf_synth.cdl,
jld
parents: 2729
diff changeset
11 # Copyright (C) 2008, 2009 Free Software Foundation, Inc.
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
12 #
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
13 # eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
14 # the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
15 # Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
16 # version.
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
17 #
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
18 # eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
19 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
20 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
21 # for more details.
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
22 #
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
23 # You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
24 # along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
25 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
26 #
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
27 # As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
28 # macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
29 # and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
30 # this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
31 # the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
32 # must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
33 # General Public License v2.
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
34 #
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
35 # This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
36 # on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
37 # -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2565
diff changeset
38 # ####ECOSGPLCOPYRIGHTEND####
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
39 # ====================================================================
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
40 ######DESCRIPTIONBEGIN####
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
41 #
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
42 # Author(s): bartv
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
43 # Date: 2005-03-29
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
44 #
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
45 #####DESCRIPTIONEND####
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
46 #========================================================================
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
47
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
48 cdl_package CYGPKG_IO_FRAMEBUF {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
49 display "Framebuffer support"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
50 doc ref/io-framebuf.html
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
51 requires CYGPKG_INFRA CYGPKG_HAL CYGPKG_ERROR
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
52 include_dir cyg/io
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
53 compile framebuf.c linear.c palette.c
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
54
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
55 # A custom build step to generate a single header with details of all
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
56 # the framebuffers for this target. The dependency on <pkgconf/system.h>
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
57 # copes with the case of a framebuffer device driver package being removed
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
58 make -priority 2 {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
59 $(PREFIX)/include/cyg/io/framebufs/framebufs.h : $(REPOSITORY)/$(PACKAGE)/src/gen_framebufs.tcl \
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
60 $(PREFIX)/include/pkgconf/system.h \
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
61 $(subst $(PREFIX)/include/cyg/io/framebufs/framebufs.h,,$(wildcard $(PREFIX)/include/cyg/io/framebufs/*.h*))
2770
35f991d79d4c * devs/framebuf/synth/current/cdl/framebuf_synth.cdl,
jld
parents: 2729
diff changeset
62 tclsh $< $(dir $@)
2565
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
63 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
64
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
65 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
66 The generic framebuffer package provides an API for accessing
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
67 one or more framebuffers, plus support for appropriate device
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
68 drivers."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
69
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
70 cdl_interface CYGINT_IO_FRAMEBUF_DEVICES {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
71 display "Number of available framebuffer devices"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
72 flavor data
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
73 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
74 This interface specifies the number of framebuffer devices
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
75 supported by device driver(s) on this platform."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
76 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
77
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
78 cdl_option CYGDAT_IO_FRAMEBUF_DEVICES {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
79 display "Names of available framebuffer devices"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
80 default_value { "" }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
81 flavor data
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
82 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
83 This option provides a list of the framebuffer devices available
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
84 on the current platform. It is controlled by the appropriate
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
85 device driver(s) and should not be edited by users."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
86 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
87
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
88 cdl_option CYGDAT_IO_FRAMEBUF_TEST_DEVICE {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
89 display "Framebuffer device to use for testing"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
90 active_if CYGINT_IO_FRAMEBUF_DEVICES
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
91 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
92 default_value 0
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
93 requires { is_substr(CYGDAT_IO_FRAMEBUF_DEVICES, " " . CYGDAT_IO_FRAMEBUF_TEST_DEVICE . " ") }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
94 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
95 This option determines the framebuffer device to be used for running
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
96 the testcases. By default the build system will automatically select
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
97 the first entry in CYGDAT_IO_FRAMEBUF_DEVICES, which will be the
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
98 only entry if there is only framebuffer device in the system."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
99 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
100
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
101 cdl_component CYGPKG_IO_FRAMEBUF_FUNCTIONALITY {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
102 display "Functionality supported by the platform's framebuffer(s)"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
103 flavor none
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
104 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
105 This component holds details of the functionality provided by the
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
106 framebuffer device driver(s) for the current platform."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
107
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
108 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_32BPP {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
109 display "32bpp pixel support required"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
110 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
111 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
112 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
113 device drivers for the current platform provides a 32 bits
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
114 per pixel display. This constrains the cyg_colour data type
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
115 to be at least 32 bits."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
116 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
117
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
118 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_TRUE_COLOUR {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
119 display "Framebuffer supports true colour mode"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
120 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
121 define CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_TRUE_COLOR
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
122 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
123 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
124 device drivers for the current platform support true colour
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
125 operation. In other words the contents of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
126 defines the colours directly and there is no indirection via
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
127 a palette."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
128 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
129
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
130 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_PALETTE {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
131 display "Framebuffer uses a palette for colours"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
132 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
133 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
134 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
135 device drivers for the current platform use a palette. In
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
136 other words the contents of the framebuffer's memory do not
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
137 represent colours directly, but instead are treated as indices
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
138 into a separate table known as the palette."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
139 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
140
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
141 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_WRITEABLE_PALETTE {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
142 display "Framebuffer uses a writeable palette for colours"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
143 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
144 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
145 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
146 device drivers for the current platform use a palette, and this
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
147 palette can be modified at run-time. In other words the contents
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
148 of the framebuffer's memory do not represent colours directly,
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
149 but instead are treated as indices into a separate table known
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
150 as the palette."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
151 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
152
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
153 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_VIEWPORT {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
154 display "Framebuffer provides viewport support"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
155 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
156 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
157 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
158 device drivers for the current platform provide viewport support.
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
159 In other words only a subset of the framebuffer, the viewport,
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
160 is actually visible on the display and application code can move
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
161 this viewport."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
162 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
163
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
164 cdl_interface CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_DOUBLE_BUFFER {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
165 display "Framebuffer provides double buffering support"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
166 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
167 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
168 This interface will be implemented if any of the framebuffer
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
169 device drivers for the current platform provide support for
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
170 double buffering. In other words the framebuffer memory that
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
171 is updated by graphics operations is not what actually gets
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
172 displayed. Instead there is a separate hidden area of memory
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
173 used for the display, and when drawing is complete a flush
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
174 operation is needed to move the framebuffer contents to that
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
175 hidden area. This makes it possible to update the display more
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
176 smoothly, at the cost of potentially expensive memory copy
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
177 operations."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
178 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
179 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
180
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
181 cdl_option CYGFUN_IO_FRAMEBUF_INSTALL_DEFAULT_PALETTE {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
182 display "Framebuffers should install a default palette"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
183 flavor bool
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
184 default_value 1
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
185 active_if CYGHWR_IO_FRAMEBUF_FUNCTIONALITY_WRITEABLE_PALETTE
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
186 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
187 Framebuffer devices which involve a writeable palette may set this
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
188 to a default palette when activated by cyg_fb_on() or equivalent
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
189 functionality. This is useful when the application will access the
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
190 framebuffer directly. It is less useful if a higher-level graphics
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
191 library is in use because typically that will install its own
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
192 palette, and typically there is a code/data overhead of approximately 1K."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
193 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
194
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
195 cdl_component CYGPKG_IO_FRAMEBUF_OPTIONS {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
196 display "Framebuffer build options"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
197 flavor none
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
198 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
199 Package specific build options including control over
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
200 compiler flags used only in building the generic frame
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
201 buffer package, and details of which tests are built."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
202
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
203 cdl_option CYGPKG_IO_FRAMEBUF_CFLAGS_ADD {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
204 display "Additional compiler flags"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
205 flavor data
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
206 no_define
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
207 default_value { "" }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
208 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
209 This option modifies the set of compiler flags for
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
210 building the generic framebuffer package. These flags
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
211 are used in addition to the set of global flags."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
212 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
213
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
214 cdl_option CYGPKG_IO_FRAMEBUF_CFLAGS_REMOVE {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
215 display "Suppressed compiler flags"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
216 flavor data
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
217 no_define
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
218 default_value { "" }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
219 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
220 This option modifies the set of compiler flags for
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
221 building the generic framebuffer package. These flags
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
222 are removed from the set of global flags if present."
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
223 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
224
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
225 cdl_option CYGPKG_IO_FRAMEBUF_TESTS {
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
226 display "Framebuffer tests"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
227 active_if CYGINT_IO_FRAMEBUF_DEVICES
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
228 flavor booldata
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
229 calculated { "tests/fb tests/fbmacro" }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
230 description "
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
231 This option specifies the set of tests for the framebuffer package"
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
232 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
233 }
f9d071633ee7 Contribute eCosCentric's framebuffer infrastructure.
bartv
parents:
diff changeset
234 }