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

Unified Diff: ui/gl/dc_renderer_layer_params.h

Issue 2749023011: Add DirectComposition overlay support. (Closed)
Patch Set: post-review changes Created 3 years, 9 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: 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 63170d306c564793a6646bc057b6c1f4eb7c7fd3..c1ac631f5c9cee54e58d6bdbafafb254f8d63c27 100644
--- a/ui/gl/dc_renderer_layer_params.h
+++ b/ui/gl/dc_renderer_layer_params.h
@@ -7,6 +7,7 @@
#include <vector>
+#include "base/memory/ref_counted.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
@@ -23,7 +24,7 @@ namespace ui {
struct GL_EXPORT DCRendererLayerParams {
DCRendererLayerParams(bool is_clipped,
const gfx::Rect clip_rect,
- unsigned sorting_context_id,
+ int z_order,
const gfx::Transform& transform,
gl::GLImage* image,
const gfx::RectF& contents_rect,
@@ -37,9 +38,9 @@ struct GL_EXPORT DCRendererLayerParams {
bool is_clipped;
const gfx::Rect clip_rect;
- unsigned sorting_context_id;
+ int z_order;
const gfx::Transform transform;
- gl::GLImage* image;
+ scoped_refptr<gl::GLImage> image;
const gfx::RectF contents_rect;
const gfx::Rect rect;
unsigned background_color;

Powered by Google App Engine
This is Rietveld 408576698