Wrapping renderdriver calls, implementing surface functions