diff options
author | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-11 18:35:35 +0000 |
---|---|---|
committer | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-11 18:35:35 +0000 |
commit | fb3dd3a6f57204e9c455cfc65d65dc1a2a1d571c (patch) | |
tree | ffe9f023f5e18a8eb16907cc543ef22c6361b817 /include/gpu | |
parent | 91359395814d4b6a338601630c21518581a824a2 (diff) |
Temporarily add logging to GrContextFactory and SkNativeGLContext_android
Over-the-shoulder review from robertphillips@ and bsalomon@
Will revert soon.
Review URL: https://codereview.appspot.com/6496110
git-svn-id: http://skia.googlecode.com/svn/trunk@5491 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrContextFactory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrContextFactory.h b/include/gpu/GrContextFactory.h index 600bedae66..57ba428898 100644 --- a/include/gpu/GrContextFactory.h +++ b/include/gpu/GrContextFactory.h @@ -90,15 +90,18 @@ public: } static const int kBogusSize = 1; if (!glCtx.get()) { + printf("GrContextFactory.h: no context\n"); return NULL; } if (!glCtx.get()->init(kBogusSize, kBogusSize)) { + printf("GrContextFactory.h: no init\n"); return NULL; } GrPlatform3DContext p3dctx = reinterpret_cast<GrPlatform3DContext>(glCtx.get()->gl()); grCtx.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, p3dctx)); if (!grCtx.get()) { + printf("GrContextFactory.h: no gr context\n"); return NULL; } GPUContext& ctx = fContexts.push_back(); |