It has integrated video using the AMD CPU. Any memory that is used for video is pulled from the normal memory. The more memory you give for video, the less memory is available for the operating system and programs.
That laptop uses the A10-8700P CPU, which is better than past AMD laptops with integrated video. Even so, it can only manage to play modern games at low settings. Some games, like Witcher 3, can't even be played on low. Basically the only games that you can play well are ones from 2013 or older, like CSGO. BioShock Infinite will run on low, but I would not really recommend it.
If you are looking for an HP laptop that you can do some gaming on, the cheapest one you can get is probably the Pavilion 15t:
http://store.hp.com/us/en/ConfigureView?catalogId=10051&urlLangId=&langId=-1&storeId=10151&catEntryId=998661&quantity=1
If you select the second CPU option (adds $70 to the total price), it will get a dedicated GeForce 940M video card with 2GB of memory. That makes the total price $520. That laptop will be able to play games, but only on low to medium settings.
You may want to select the 1080p display as well. It will make the laptop much more usable, but the higher resolution will lower its performance when gaming.
Basically, if you plan on doing any gaming you should get a laptop with dedicated video and at least an AMD Radeon R7 370 or NVIDIA GeForce 940M. That way you can play most games, just at low to medium settings.
If you want it to be better than that, the next option is to find a laptop with an NVIDIA GeForce GTX 950M (that is what I use). It will perform much better in games. A favorite among many casual gamers is the ASUS K501UX series like this one for $780:
http://www.newegg.com/Product/Product.aspx?Item=N82E16834232946
Note: This ASUS model does not have a DVD drive.
Good luck!