Allow custom resources in the GrContext's cache
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 5 May 2014 19:21:16 +0000 (19:21 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 5 May 2014 19:21:16 +0000 (19:21 +0000)
commit95a2b0e86d361c06716874f8a56782e1551c308e
treef170bb884932e4d628d826671cc2570caf68b0c7
parent11c6b39cfa24f812ceb115589f51a60a56ef14fe
Allow custom resources in the GrContext's cache

Adds methods to GrContext for client code to store custom resources in
the cache.

BUG=skia:
R=bsalomon@google.com

Author: cdalton@nvidia.com

Review URL: https://codereview.chromium.org/261593009

git-svn-id: http://skia.googlecode.com/svn/trunk@14577 2bbb7eff-a529-9590-31e7-b0007b416f81
include/gpu/GrContext.h
src/gpu/GrContext.cpp