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

Unified Diff: content/browser/aura/software_output_device_x11.h

Issue 130773002: Fix support for 16 and 8 bit depth X11 displays in software compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | content/browser/aura/software_output_device_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/aura/software_output_device_x11.h
diff --git a/content/browser/aura/software_output_device_x11.h b/content/browser/aura/software_output_device_x11.h
index 782afeee7ec512241dba383cde7e31633ecdcaa5..799a65ef790c894d4c89efdf77f7bc5675f9d39b 100644
--- a/content/browser/aura/software_output_device_x11.h
+++ b/content/browser/aura/software_output_device_x11.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_AURA_SOFTWARE_OUTPUT_DEVICE_X11_H_
#define CONTENT_BROWSER_AURA_SOFTWARE_OUTPUT_DEVICE_X11_H_
+#include <X11/Xlib.h>
+
#include "cc/output/software_output_device.h"
#include "ui/gfx/x/x11_types.h"
@@ -20,17 +22,13 @@ class SoftwareOutputDeviceX11 : public cc::SoftwareOutputDevice {
virtual ~SoftwareOutputDeviceX11();
- virtual void Resize(gfx::Size viewport_size) OVERRIDE;
-
virtual void EndPaint(cc::SoftwareFrameData* frame_data) OVERRIDE;
private:
- void ClearImage();
-
ui::Compositor* compositor_;
XDisplay* display_;
GC gc_;
- XImage* image_;
+ XWindowAttributes attributes_;
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/aura/software_output_device_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698