| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2015-2016 secunet Security Networks AG |
| 3 | -- |
| 4 | -- This program is free software; you can redistribute it and/or modify |
| 5 | -- it under the terms of the GNU General Public License as published by |
| 6 | -- the Free Software Foundation; version 2 of the License. |
| 7 | -- |
| 8 | -- This program is distributed in the hope that it will be useful, |
| 9 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | -- GNU General Public License for more details. |
| 12 | -- |
| 13 | |
| 14 | with System; |
| 15 | |
| 16 | with HW; |
| 17 | |
| 18 | use type HW.Int32; |
| 19 | |
| 20 | package HW.GFX.Framebuffer_Filler |
| 21 | is |
| 22 | |
| 23 | procedure Fill (Linear_FB : Word64; Framebuffer : Framebuffer_Type) |
| 24 | with |
| 25 | Pre => |
| 26 | Framebuffer.Width <= Framebuffer.Stride; |
| 27 | |
| 28 | end HW.GFX.Framebuffer_Filler; |