diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-30 22:05:47 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-30 22:05:47 +0000 |
commit | cbbc481e918c0d32454455626235f67106f216a1 (patch) | |
tree | b4bf708bcbcb9e3971c46002e4733959b869a8ea /include/gpu | |
parent | 3f01449afeac6162c7e55ec6052d47217b514ce5 (diff) |
Replace factory generation of TextContexts with persistent objects.
BUG=skia:2018
R=bsalomon@google.com
Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/150743002
git-svn-id: http://skia.googlecode.com/svn/trunk@13249 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/SkGpuDevice.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h index bfcdba3fdd..e791ca4a9e 100644 --- a/include/gpu/SkGpuDevice.h +++ b/include/gpu/SkGpuDevice.h @@ -20,7 +20,7 @@ struct SkDrawProcs; struct GrSkDrawProcs; -class GrTextContextManager; +class GrTextContext; /** * Subclass of SkBitmapDevice, which directs all drawing to the GrGpu owned by the @@ -150,7 +150,8 @@ private: GrClipData fClipData; - GrTextContextManager* fTextContextManager; + GrTextContext* fMainTextContext; + GrTextContext* fFallbackTextContext; // state for our render-target GrRenderTarget* fRenderTarget; |