I once saw this done to a very large double-glazed window in a hotel, which had the hotel's logo custom etched into it.
they surely remembered that lesson for a while
glass thickness can also factor with the heat/temperature gradient resistance, especially with round shapes. if looking lab glass, the high temperature stuff is usually much thinner (some boiling flasks etc. can be literally paper thin) and the high vacuum stuff has much thicker walls to withstand mechanical stress but does not necessary handle open flame or other extreme situations as well )
If free heat expansion is allowed, glass (even normal glass) can stand hundreds of degrees °C but the general temperature difference/gradient resistance depends on glass type and shape +installation. Quartz glass (fused silica) which is used for example in tungsten and HMI bulbs can withstand well over 1000°C and rapid temperature changes because of the very low thermal expansion coefficient. Borosilicate is much cheaper and easier to use and still very well suited for for example Fresnel lenses, lab glass, incandescent bulbs, kitchenware, etc.
Soda lime glass is very cheap and even easier to work with but it has much much larger thermal expansion coefficient than borosilicate or quartz and therefore can't stand large temperature differences. And as mentioned, it can easily crack even if there is no temperature gradient if the window frame etc. outer factor limits its thermal expansion and therefore creates mechanical stress to the glass even if it could otherwise handle it. because of the low gradient resistance it also has to be warmed up / cooled much slower than the better glass types so that the temperature change is as even as possible