pdf R2 initial GPU support + parser in plugin