frameworks/native/ : Select texture target based on pixel format