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

Unified Diff: ui/gl/gl_surface.h

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay 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
« no previous file with comments | « ui/gl/dc_renderer_layer_params.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index cb934964332999810167056778543249cf50699d..56d9a1c5f5776181012fc48044c259580c5212ec 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -29,6 +29,7 @@ class VSyncProvider;
namespace ui {
struct CARendererLayerParams;
+struct DCRendererLayerParams;
}
namespace gl {
@@ -198,6 +199,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
virtual void ScheduleCALayerInUseQuery(
std::vector<CALayerInUseQuery> queries);
+ virtual bool ScheduleDCLayer(const ui::DCRendererLayerParams& params);
+
virtual bool IsSurfaceless() const;
virtual bool FlipsVertically() const;
@@ -282,6 +285,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface {
GLImage* image,
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) override;
+ bool ScheduleDCLayer(const ui::DCRendererLayerParams& params) override;
bool IsSurfaceless() const override;
bool FlipsVertically() const override;
bool BuffersFlipped() const override;
« no previous file with comments | « ui/gl/dc_renderer_layer_params.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698