gapi input layout