Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: cc/texture_uploader.h

Issue 11074009: cc: Remove LayerTextureUpdater::Texture::updateRect() callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/texture_update_queue.cc ('k') | cc/throttled_texture_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_uploader.h
diff --git a/cc/texture_uploader.h b/cc/texture_uploader.h
index 5505204a689060ee6a90fe78a15ba7e3a63a5ca2..950fb8262ae191dd4a5c9d0fc273bd3a534a6e32 100644
--- a/cc/texture_uploader.h
+++ b/cc/texture_uploader.h
@@ -5,17 +5,29 @@
#ifndef TextureUploader_h
#define TextureUploader_h
-#include "LayerTextureUpdater.h"
+#include "IntRect.h"
+
+class SkBitmap;
+class SkPicture;
namespace cc {
+class CCPrioritizedTexture;
+class CCResourceProvider;
+
class TextureUploader {
public:
- struct Parameters {
- LayerTextureUpdater::Texture* texture;
+ struct Geometry {
+ IntRect contentRect;
IntRect sourceRect;
IntSize destOffset;
};
+ struct Parameters {
+ CCPrioritizedTexture* texture;
+ const SkBitmap* bitmap;
+ SkPicture* picture;
+ Geometry geometry;
+ };
virtual ~TextureUploader() { }
« no previous file with comments | « cc/texture_update_queue.cc ('k') | cc/throttled_texture_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698