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

Unified Diff: src/ply-gamma.h

Issue 6877024: Add gamma support to ply-image. (Closed) Base URL: ssh://gitrw.chromium.org:9222/ply-image.git@master
Patch Set: git cl push Created 9 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 | « src/ply-frame-buffer.c ('k') | src/ply-gamma.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ply-gamma.h
diff --git a/src/ply-gamma.h b/src/ply-gamma.h
new file mode 100644
index 0000000000000000000000000000000000000000..039091122d4fe9c5e37db1be5a073e57686b14c5
--- /dev/null
+++ b/src/ply-gamma.h
@@ -0,0 +1,32 @@
+/* ply-gamma.c - plymouth gamma setup via KMS
+ *
+ * Copyright (C) 2011, The Chromium OS Authors.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ */
+
+#ifndef PLY_GAMMA_H
+#define PLY_GAMMA_H
+
+#include <stdbool.h>
+
+#include "ply-utils.h"
+
+/* Set the gamma of the screen. */
+bool ply_gamma_set(const char* file);
+
+#endif /* PLY_GAMMA_H */
« no previous file with comments | « src/ply-frame-buffer.c ('k') | src/ply-gamma.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698