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

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: Code review feedback 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..9bd022d0a612fc679e9e2aea8adb9c32dfdb6e13 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,
+ ResourceFormat 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);
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | cc/output/gl_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698