Add #define for Nsight compatibility
authorJim Van Verth <jvanverth@google.com>
Mon, 28 Nov 2016 20:23:57 +0000 (15:23 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 29 Nov 2016 18:23:59 +0000 (18:23 +0000)
commit32ac83ebdc4ac967aae95a48a62c991d459dab73
tree5860dff33fb1f398e7de56b47c3984119417e13d
parentc18baa11a0c4611b71f59b68c06796615e2a2912
Add #define for Nsight compatibility

NVIDIA's Nsight tool is not compatible with certain GL calls. This
change places them behind a #define in GrGLGpu.cpp.

BUG=skia:

Change-Id: Id80ed291b6fe4fd777c5690b25d4fbb47de3c187
Reviewed-on: https://skia-review.googlesource.com/5281
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
src/gpu/gl/GrGLGpu.cpp