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

Unified Diff: cc/output/gl_renderer.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deprecate GLenum format throughout cc Created 7 years, 3 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
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 44273c280d92a9b4053b979aaa318385343e32a5..c917ca2ef6d7b81fb4f8aeb22edc4a29c9ae7c14 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -103,7 +103,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
void GetFramebufferPixelsAsync(gfx::Rect rect,
scoped_ptr<CopyOutputRequest> request);
void GetFramebufferTexture(unsigned texture_id,
- unsigned texture_format,
+ ResourceProvider::TextureFormat texture_format,
gfx::Rect device_rect);
void ReleaseRenderPassTextures();
@@ -455,6 +455,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
scoped_refptr<ResourceProvider::Fence> last_swap_fence_;
SkBitmap on_demand_tile_raster_bitmap_;
+ SkBitmap on_demand_tile_raster_bitmap_4444_;
ResourceProvider::ResourceId on_demand_tile_raster_resource_id_;
DISALLOW_COPY_AND_ASSIGN(GLRenderer);

Powered by Google App Engine
This is Rietveld 408576698