Index: cc/resources/resource_provider.h |
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h |
index 88bda764bb035c60d4ee78c53b169d59908d7682..0d30f601111b46273b1818429cea8d745489c4a8 100644 |
--- a/cc/resources/resource_provider.h |
+++ b/cc/resources/resource_provider.h |
@@ -54,7 +54,6 @@ class BlockingTaskRunner; |
class IdAllocator; |
class SharedBitmap; |
class SharedBitmapManager; |
-class TextureUploader; |
// This class is not thread-safe and can only be called from the thread it was |
// created on (in practice, the impl thread). |
@@ -156,24 +155,10 @@ class CC_EXPORT ResourceProvider { |
// Update pixels from image, copying source_rect (in image) to dest_offset (in |
// the resource). |
- // NOTE: DEPRECATED. Use CopyToResource() instead. |
- void SetPixels(ResourceId id, |
- const uint8_t* image, |
- const gfx::Rect& image_rect, |
- const gfx::Rect& source_rect, |
- const gfx::Vector2d& dest_offset); |
void CopyToResource(ResourceId id, |
const uint8_t* image, |
const gfx::Size& image_size); |
- // Check upload status. |
- size_t NumBlockingUploads(); |
- void MarkPendingUploadsAsNonBlocking(); |
- size_t EstimatedUploadsPerTick(); |
- void FlushUploads(); |
- void ReleaseCachedData(); |
- base::TimeTicks EstimatedUploadCompletionTime(size_t uploads_per_tick); |
- |
// Only flush the command buffer if supported. |
// Returns true if the shallow flush occurred, false otherwise. |
bool ShallowFlushIfSupported(); |
@@ -598,7 +583,6 @@ class CC_EXPORT ResourceProvider { |
bool use_texture_usage_hint_; |
bool use_compressed_texture_etc1_; |
ResourceFormat yuv_resource_format_; |
- scoped_ptr<TextureUploader> texture_uploader_; |
int max_texture_size_; |
ResourceFormat best_texture_format_; |