Eliminate use of global getDevice() function.

Trac #21727

Everything must go through the renderer.

Conflicts:

	src/libGLESv2/Texture.cpp

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1334 736b8ea6-26fd-11df-bfd4-992fa37f6226
6 files changed