Revert "Fix ResourceManager create-on-bind reallocations."
Build break on GPU FYI Bots on Linux/Mac:
http://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Mac%20Builder/builds/28092
This reverts commit 61ce1a414e74f6a72a520d6adf59bff13aff03a0.
Change-Id: If2e7fb35c769708a783a32932b777dc97eaba8a4
Reviewed-on: https://chromium-review.googlesource.com/261590
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/ResourceManager.h b/src/libANGLE/ResourceManager.h
index a0da0d0..14858ad 100644
--- a/src/libANGLE/ResourceManager.h
+++ b/src/libANGLE/ResourceManager.h
@@ -68,9 +68,9 @@
void setRenderbuffer(GLuint handle, Renderbuffer *renderbuffer);
- void checkBufferAllocation(GLuint handle);
- void checkTextureAllocation(GLuint handle, GLenum type);
- void checkRenderbufferAllocation(GLuint handle);
+ void checkBufferAllocation(unsigned int buffer);
+ void checkTextureAllocation(GLuint texture, GLenum type);
+ void checkRenderbufferAllocation(GLuint renderbuffer);
void checkSamplerAllocation(GLuint sampler);
bool isSampler(GLuint sampler);
@@ -78,8 +78,6 @@
private:
DISALLOW_COPY_AND_ASSIGN(ResourceManager);
- void createTextureInternal(GLuint handle);
-
rx::ImplFactory *mFactory;
std::size_t mRefCount;