add 2d gpu support

Change-Id: I96cdf5fa9f125db64e29b0be23ecedcc05f4613d