summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_tile_manager.cc
diff options
context:
space:
mode:
authorkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 09:34:21 +0000
committerkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 09:34:21 +0000
commit8e6d15826280b9f11a28060b5b2d2bbef17d15bc (patch)
tree4e9d72e8a47235583089c67bfdc16da572370812 /cc/test/fake_tile_manager.cc
parent2ec5b56e62d38f6a1947868f90f63633c3579b54 (diff)
downloadchromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.zip
chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.gz
chromium_src-8e6d15826280b9f11a28060b5b2d2bbef17d15bc.tar.bz2
Adding support for RGBA_4444 tile textures
BUG=245774,272539 Review URL: https://chromiumcodereview.appspot.com/21159007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
-rw-r--r--cc/test/fake_tile_manager.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index 8b13c63..d8b53aa 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -32,7 +32,9 @@ class FakeRasterWorkerPool : public RasterWorkerPool {
completed_tasks_.pop_front();
}
}
- virtual GLenum GetResourceFormat() const OVERRIDE { return GL_RGBA; }
+ virtual ResourceFormat GetResourceFormat() const OVERRIDE {
+ return RGBA_8888;
+ }
virtual void OnRasterTasksFinished() OVERRIDE {}
virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE {}