ACP = Automatic Colt Pistol
GAP = Glock Automatic Pistol
The .45 ACP was developed around 1904 at the behest of the US Army. After some tweaking, it was adopted as the round for which manufacturers had to chamber the pistols they submitted to the Army for test. In 1911, both the .45 ACP and the M1911 Colt Automatic Pistol were adopted as the US standard sidearm.
The .45 GAP is a shorter case, loaded to higher pressure, which is ballistically identical (give or take a bit) to the .45 ACP and was developed to provide a better grip fit in double-column magazines.