Revert "Implement GL_KHR_debug."
This reverts commit 6c521b7a70a53b1c9f7762e53e34b5a8146b0f7b.
Change-Id: I6ff981198e31f34d3e405edea6277ee75516d6ee
Reviewed-on: https://chromium-review.googlesource.com/319820
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/Framebuffer.cpp b/src/libANGLE/Framebuffer.cpp
index 1c2646d..c388d1e 100644
--- a/src/libANGLE/Framebuffer.cpp
+++ b/src/libANGLE/Framebuffer.cpp
@@ -40,8 +40,7 @@
}
Framebuffer::Data::Data()
- : mLabel(),
- mColorAttachments(1),
+ : mColorAttachments(1),
mDrawBufferStates(1, GL_NONE),
mReadBufferState(GL_COLOR_ATTACHMENT0_EXT)
{
@@ -49,8 +48,7 @@
}
Framebuffer::Data::Data(const Caps &caps)
- : mLabel(),
- mColorAttachments(caps.maxColorAttachments),
+ : mColorAttachments(caps.maxColorAttachments),
mDrawBufferStates(caps.maxDrawBuffers, GL_NONE),
mReadBufferState(GL_COLOR_ATTACHMENT0_EXT)
{
@@ -61,11 +59,6 @@
{
}
-const std::string &Framebuffer::Data::getLabel()
-{
- return mLabel;
-}
-
const FramebufferAttachment *Framebuffer::Data::getReadAttachment() const
{
ASSERT(mReadBufferState == GL_BACK || (mReadBufferState >= GL_COLOR_ATTACHMENT0 && mReadBufferState <= GL_COLOR_ATTACHMENT15));
@@ -186,16 +179,6 @@
SafeDelete(mImpl);
}
-void Framebuffer::setLabel(const std::string &label)
-{
- mData.mLabel = label;
-}
-
-const std::string &Framebuffer::getLabel() const
-{
- return mData.mLabel;
-}
-
void Framebuffer::detachTexture(GLuint textureId)
{
detachResourceById(GL_TEXTURE, textureId);