Use TextureID in place of GLuint handles.

Bug: angleproject:3611
Change-Id: Ie6156e8732b3ca4dc6c4439c059a5481a4dfd250
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1738753
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/ResourceManager.cpp b/src/libANGLE/ResourceManager.cpp
index a430c71..bea757c 100644
--- a/src/libANGLE/ResourceManager.cpp
+++ b/src/libANGLE/ResourceManager.cpp
@@ -104,7 +104,7 @@
 template class ResourceManagerBase<HandleAllocator>;
 template class ResourceManagerBase<HandleRangeAllocator>;
 template class TypedResourceManager<Buffer, HandleAllocator, BufferManager, BufferID>;
-template class TypedResourceManager<Texture, HandleAllocator, TextureManager, GLuint>;
+template class TypedResourceManager<Texture, HandleAllocator, TextureManager, TextureID>;
 template class TypedResourceManager<Renderbuffer,
                                     HandleAllocator,
                                     RenderbufferManager,
@@ -226,7 +226,7 @@
 
 // static
 Texture *TextureManager::AllocateNewObject(rx::GLImplFactory *factory,
-                                           GLuint handle,
+                                           TextureID handle,
                                            TextureType type)
 {
     Texture *texture = new Texture(factory, handle, type);
@@ -240,7 +240,7 @@
     texture->release(context);
 }
 
-GLuint TextureManager::createTexture()
+TextureID TextureManager::createTexture()
 {
     return AllocateEmptyObject(&mHandleAllocator, &mObjectMap);
 }