First pass at font cache refactor: Create an atlas manager per texture
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 26 Sep 2013 12:57:19 +0000 (12:57 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 26 Sep 2013 12:57:19 +0000 (12:57 +0000)
commit3fddf0eed6dc2873bcc8e584f435c6cd34964518
tree53cbecccec049da3a625b3ebeb14eb27d503b2bf
parentca0c8389e2fd1c7f528869beb77a6c8587d59f29
First pass at font cache refactor: Create an atlas manager per texture

This changes the AtlasMgr from a singleton class to one that is
created per-texture. This is the first step in allowing us to create
Atlases of other types (e.g., combine small icons into one big texture).

R=bsalomon@google.com

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/24608002

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