Texas law only requires that you show your ID to a police officer under certain circumstances. These circumstances include: after you've been arrested, when you are driving, and when you are a License to Carry holder carrying a handgun.