Section 552 of The Texas Transportation Code deal with various pedestrian crossing rules. Here are the pedestrian laws:
Pedestrian Right-of-Way if Control Signal Present
If you are at a crosswalk with a Walk/Don't Walk sign or other control signal, you must obey the control signal. You can only cross when you have the Walk signal; otherwise, you must yield right of way to oncoming traffic.
Pedestrian Right-of-Way at Crosswalk If you are crossing at a crosswalk but there is no control signal present, you as the pedestrian have the right of way if:
You are on the half of the roadway in which the vehicle is traveling
You are so close to the middle of the road that a vehicle in the other lane must yield to prevent injury to you.
The vehicle has enough space and time to yield the right of way to you - (This means that you cannot step out in front of a car that is too close to stop) If the car cannot stop, the car has the right of way and it is your duty to wait for a safe point to cross.
Crossing at Points Other Than Crosswalks
If you are crossing the street at a point other than a crosswalk, you must yield right-of-way to vehicles in the roadway. If you are not crossing in a marked crosswalk, the oncoming traffic has the right of way.