drawing texture on video encoding surface