Skip to content

Instantly share code, notes, and snippets.

@olvaffe
olvaffe / i3lock-wait-for-suspend
Created May 30, 2014 17:20
i3lock-wait-for-suspend
#!/bin/sh
DBUS_NAME="org.freedesktop.login1"
DBUS_PATH="/org/freedesktop/login1"
DBUS_INTERFACE="org.freedesktop.login1.Manager"
DBUS_SIGNAL="PrepareForSleep"
INHIBITOR_PIDS=
install_background_inhibitor() {
From 48be3a42c0a53be43dd125a7eb9e234de36e945d Mon Sep 17 00:00:00 2001
From: Chia-I Wu <olvaffe@gmail.com>
Date: Fri, 4 Dec 2015 11:29:50 +0800
Subject: [PATCH] DRI3 by default for Ubuntu 14.04
---
configure.ac | 2 +-
src/sna/sna_driver.c | 4 ++--
src/uxa/intel_driver.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

Light Introduction to Android Platform Graphics Internals

This introduction describes the key functionalities of platform graphics components. It is only to give an overview. Always read the source code.

libhardware

The source code of libhardware is located at hardware/libhardware. It