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

Unified Diff: ui/gl/dc_renderer_layer_params.h

Issue 2849743002: Allow binding multiple textures to one DC Layer overlay. (Closed)
Patch Set: put texture id array in ScheduleDCLayer Created 3 years, 8 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 | « gpu/ipc/service/direct_composition_surface_win_unittest.cc ('k') | ui/gl/dc_renderer_layer_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/dc_renderer_layer_params.h
diff --git a/ui/gl/dc_renderer_layer_params.h b/ui/gl/dc_renderer_layer_params.h
index c1ac631f5c9cee54e58d6bdbafafb254f8d63c27..933bf02fcac50d0e301b65235aeab505500cdd14 100644
--- a/ui/gl/dc_renderer_layer_params.h
+++ b/ui/gl/dc_renderer_layer_params.h
@@ -26,7 +26,7 @@ struct GL_EXPORT DCRendererLayerParams {
const gfx::Rect clip_rect,
int z_order,
const gfx::Transform& transform,
- gl::GLImage* image,
+ std::vector<scoped_refptr<gl::GLImage>> image,
const gfx::RectF& contents_rect,
const gfx::Rect& rect,
unsigned background_color,
@@ -40,7 +40,7 @@ struct GL_EXPORT DCRendererLayerParams {
const gfx::Rect clip_rect;
int z_order;
const gfx::Transform transform;
- scoped_refptr<gl::GLImage> image;
+ std::vector<scoped_refptr<gl::GLImage>> image;
const gfx::RectF contents_rect;
const gfx::Rect rect;
unsigned background_color;
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win_unittest.cc ('k') | ui/gl/dc_renderer_layer_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698