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

Unified Diff: cc/layers/io_surface_layer.h

Issue 1869983002: Remove IOSurfaceLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « cc/cc_tests.gyp ('k') | cc/layers/io_surface_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/io_surface_layer.h
diff --git a/cc/layers/io_surface_layer.h b/cc/layers/io_surface_layer.h
deleted file mode 100644
index 475b3159bdfd0c1cb7e7ec10e825d876301227ca..0000000000000000000000000000000000000000
--- a/cc/layers/io_surface_layer.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_LAYERS_IO_SURFACE_LAYER_H_
-#define CC_LAYERS_IO_SURFACE_LAYER_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "cc/base/cc_export.h"
-#include "cc/layers/layer.h"
-
-namespace cc {
-
-class CC_EXPORT IOSurfaceLayer : public Layer {
- public:
- static scoped_refptr<IOSurfaceLayer> Create();
-
- void SetIOSurfaceProperties(uint32_t io_surface_id, const gfx::Size& size);
-
- std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
- void PushPropertiesTo(LayerImpl* layer) override;
- bool Update() override;
-
- protected:
- bool HasDrawableContent() const override;
- IOSurfaceLayer();
-
- private:
- ~IOSurfaceLayer() override;
-
- uint32_t io_surface_id_;
- gfx::Size io_surface_size_;
-
- DISALLOW_COPY_AND_ASSIGN(IOSurfaceLayer);
-};
-
-} // namespace cc
-#endif // CC_LAYERS_IO_SURFACE_LAYER_H_
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/io_surface_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698