Changeset ddb844e in mainline for uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.h
- Timestamp:
- 2020-07-03T23:00:34Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e79a025
- Parents:
- edb57bc6 (diff), 1a1c75e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.h
redb57bc6 rddb844e 1 1 /* 2 * Copyright (c) 2020 Jiri Svoboda 2 3 * Copyright (c) 2013 Jan Vesely 3 4 * All rights reserved. … … 37 38 #define AMDM37X_DISPC_H_ 38 39 39 #include <graph.h>40 40 #include <abi/fb/visuals.h> 41 #include <ddev_srv.h> 42 #include <ddf/driver.h> 43 #include <gfx/context.h> 44 #include <gfx/coord.h> 45 #include <io/pixel.h> 41 46 #include <pixconv.h> 42 47 #include <ddi.h> … … 45 50 46 51 typedef struct { 52 ddf_fun_t *fun; 47 53 amdm37x_dispc_regs_t *regs; 48 54 … … 53 59 unsigned pitch; 54 60 unsigned bpp; 55 unsigned idx;56 61 } active_fb; 57 62 63 pixel_t color; 64 gfx_rect_t rect; 58 65 size_t size; 59 66 void *fb_data; 60 61 vslmode_list_element_t modes[1];62 67 } amdm37x_dispc_t; 63 68 64 errno_t amdm37x_dispc_init(amdm37x_dispc_t *instance, visualizer_t *vis); 65 errno_t amdm37x_dispc_fini(amdm37x_dispc_t *instance); 69 typedef struct { 70 amdm37x_dispc_t *dispc; 71 gfx_bitmap_alloc_t alloc; 72 gfx_rect_t rect; 73 bool myalloc; 74 } amdm37x_bitmap_t; 75 76 extern ddev_ops_t amdm37x_ddev_ops; 77 extern gfx_context_ops_t amdm37x_gc_ops; 78 79 extern errno_t amdm37x_dispc_init(amdm37x_dispc_t *, ddf_fun_t *); 80 extern errno_t amdm37x_dispc_fini(amdm37x_dispc_t *); 66 81 67 82 #endif
Note:
See TracChangeset
for help on using the changeset viewer.