diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-08 16:45:22 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-08 16:45:22 +0000 |
commit | 5e074694adad60f09e959bead756fc5dc24f15ac (patch) | |
tree | c192406f99ec655b2aad20224075e7f62dbd2e02 | |
parent | bc2fd7f608454d2d495f5ba555e397150d78d4aa (diff) | |
download | src-5e074694adad60f09e959bead756fc5dc24f15ac.tar.gz |
Turn off pedantic check that causes too much noise in GL logs.
git-svn-id: http://skia.googlecode.com/svn/trunk/src@3343 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/gl/GrGLIndexBuffer.cpp | 3 | ||||
-rw-r--r-- | gpu/gl/GrGLVertexBuffer.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gpu/gl/GrGLIndexBuffer.cpp b/gpu/gl/GrGLIndexBuffer.cpp index 60bd9a9e..b99bdd40 100644 --- a/gpu/gl/GrGLIndexBuffer.cpp +++ b/gpu/gl/GrGLIndexBuffer.cpp @@ -84,7 +84,8 @@ void GrGLIndexBuffer::unlock() { } bool GrGLIndexBuffer::isLocked() const { -#if GR_DEBUG + // this check causes a lot of noise in the gl log +#if 0 if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) { this->bind(); GrGLint mapped; diff --git a/gpu/gl/GrGLVertexBuffer.cpp b/gpu/gl/GrGLVertexBuffer.cpp index 48479dcf..5c94c363 100644 --- a/gpu/gl/GrGLVertexBuffer.cpp +++ b/gpu/gl/GrGLVertexBuffer.cpp @@ -81,7 +81,8 @@ void GrGLVertexBuffer::unlock() { bool GrGLVertexBuffer::isLocked() const { GrAssert(!this->isValid() || fBufferID); -#if GR_DEBUG + // this check causes a lot of noise in the gl log +#if 0 if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) { GrGLint mapped; this->bind(); |