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

Unified Diff: ui/ozone/platform/dri/dri_buffer.h

Issue 276753003: [Ozone-DRI] Move framebuffer initialization into the buffer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | « no previous file | ui/ozone/platform/dri/dri_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_buffer.h
diff --git a/ui/ozone/platform/dri/dri_buffer.h b/ui/ozone/platform/dri/dri_buffer.h
index 4624cadde545901b091a6092682275b36ee56aa8..abed28e00398d558fd952157a5be1a580698e0cf 100644
--- a/ui/ozone/platform/dri/dri_buffer.h
+++ b/ui/ozone/platform/dri/dri_buffer.h
@@ -29,18 +29,11 @@ class OZONE_EXPORT DriBuffer {
uint32_t framebuffer() const { return framebuffer_; }
SkCanvas* canvas() { return surface_->getCanvas(); }
- // Return the color depth of a pixel in this buffer.
- uint8_t GetColorDepth() const;
-
// Allocates the backing pixels and wraps them in |surface_|. |info| is used
// to describe the buffer characteristics (size, color format).
virtual bool Initialize(const SkImageInfo& info);
protected:
- friend class HardwareDisplayController;
-
- void set_framebuffer(uint32_t framebuffer) { framebuffer_ = framebuffer; }
-
DriWrapper* dri_; // Not owned.
// Wrapper around the native pixel memory.
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698