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

Unified Diff: content/public/browser/android/compositor.h

Issue 41903003: cc: Fix incomplete changes to add ETC1 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased and moved pixel ref class to public cc Created 7 years, 1 month 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
Index: content/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 053a45496cdc781ea7fcf40e439d18e86626ed76..d09dadb6ed50a99c2deae2fdaf680b6252bcb7d4 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -71,6 +71,11 @@ class CONTENT_EXPORT Compositor {
virtual cc::UIResourceId GenerateUIResource(
const cc::UIResourceBitmap& bitmap) = 0;
+ // Generates a UIResource and returns a UIResourceId. May return 0.
+ virtual cc::UIResourceId GenerateCompressedUIResource(gfx::Size& size,
+ int data_size,
+ void* data) = 0;
+
// Deletes a UIResource.
virtual void DeleteUIResource(cc::UIResourceId resource_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698