summaryrefslogtreecommitdiffstats
path: root/cc/resources/tile_manager.h
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 17:31:00 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 17:31:00 +0000
commitbac37fd3e9ff7eca18bbb58bc4d2c9ce2e3218f1 (patch)
tree05742d172017dc99f882e138d8029f1f452d7704 /cc/resources/tile_manager.h
parenta16a5a57b2c34fbc8c8d6c5a16936df423f897a5 (diff)
downloadchromium_src-bac37fd3e9ff7eca18bbb58bc4d2c9ce2e3218f1.zip
chromium_src-bac37fd3e9ff7eca18bbb58bc4d2c9ce2e3218f1.tar.gz
chromium_src-bac37fd3e9ff7eca18bbb58bc4d2c9ce2e3218f1.tar.bz2
gpu: Refactor GpuMemoryBuffer framework for multi-process support.
This removes the ImageFactory interface and adjusts the buffer allocation system for future multi-process support. Also includes proper plumbing of internalformat to GLImage implementation and makes sure the compositor is using the correct format. TEST=gpu_unittests --gtest_filter=MockGpuMemoryBufferTest.Lifecycle BUG=261649 Review URL: https://chromiumcodereview.appspot.com/20017005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/tile_manager.h')
-rw-r--r--cc/resources/tile_manager.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 97c4f08..b76bc2f 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -103,8 +103,7 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
ResourceProvider* resource_provider,
scoped_ptr<RasterWorkerPool> raster_worker_pool,
size_t num_raster_threads,
- RenderingStatsInstrumentation* rendering_stats_instrumentation,
- GLenum texture_format);
+ RenderingStatsInstrumentation* rendering_stats_instrumentation);
// Methods called by Tile
friend class Tile;
@@ -176,8 +175,6 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
bool did_initialize_visible_tile_;
- GLenum texture_format_;
-
typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap;
typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap;
LayerPixelRefTaskMap image_decode_tasks_;