Merge "Swap isOutputBuffer and createProtectedImage bits for invalid texture" into sc-dev