Allow gpu debug markers to be placed by using a GrContext
authoregdaniel <egdaniel@google.com>
Thu, 19 Jun 2014 17:19:29 +0000 (10:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Jun 2014 17:19:29 +0000 (10:19 -0700)
commitbbcb38df4f7477aa0a38da00a0757586a0125954
tree6828c395bf84d45ee94922cfac22ffc1bb4eb089
parent3f73e8c8d589e0d5a1f75327b4aa22c1e745732d
Allow gpu debug markers to be placed by using a GrContext

If a marker is placed using a GrContext, it will add a marker to both the
drawBuffer and gpu targets of that context.

BUG=skia:
R=bsalomon@google.com

Author: egdaniel@google.com

Review URL: https://codereview.chromium.org/340893002
include/gpu/GrContext.h
src/gpu/GrContext.cpp
src/gpu/GrTracing.h
src/gpu/SkGpuDevice.cpp