np_functions: remove duplicate callback
handle_graphics_expose_event: simplify code
ppb_graphics2d_flush: add fast path if scaling is not required
add transparency support for graphics2d