Changes in uspace/drv/fb/kfb/port.c [6d5e378:7dba813] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/kfb/port.c
r6d5e378 r7dba813 163 163 /* Faster damage routine ignoring offsets. */ 164 164 for (sysarg_t y = y0; y < height + y0; ++y) { 165 pixel_t *pixel = pixelmap_pixel_at(map, x0, y); 165 166 for (sysarg_t x = x0; x < width + x0; ++x) { 166 kfb.pixel2visual(kfb.addr + FB_POS(x, y), 167 *pixelmap_pixel_at(map, x, y)); 167 kfb.pixel2visual(kfb.addr + FB_POS(x, y), *pixel++); 168 168 } 169 169 } … … 344 344 return ENOMEM; 345 345 } 346 fun_vs->ops = &graph_vsl_device_ops;346 ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops); 347 347 348 348 visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t)); … … 380 380 } 381 381 382 vs->reg_svc_handle = fun_vs->handle;382 vs->reg_svc_handle = ddf_fun_get_handle(fun_vs); 383 383 ddf_fun_add_to_category(fun_vs, "visualizer"); 384 384
Note:
See TracChangeset
for help on using the changeset viewer.