History log of /hardware/libhardware/include/hardware/fb.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cc8d9f9fcbc170dedba609a15705e838cf09218b 07-Oct-2016 Colin Cross <ccross@android.com> Avoid C-style cast warnings

hardware/libhardware/include was being included with -isystem, which
hides warnings. Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
/hardware/libhardware/include/hardware/fb.h
84d35492b145cebc000f8fd72818eb25b8e65c04 01-May-2014 Stewart Miles <smiles@google.com> Described restrictions for common HAL object methods.

Inheritance of HAL object is performed by composing a child structure of a
single parent structure located at offset 0 followed by new data members
and function pointers in the child structure.

For example,

struct child {
struct parent common;
int a_data_member;
void (*a_method)(struct child *c, int v);
};

HAL code assumes this layout when accessing child structures given a pointer
to a parent structure such that users write code like the following...

void child_method(struct *parent, int v) {
struct child * c = (struct child*)parent;
// do stuff with c
}

Code above will break if a member is added before "common" in "struct child".

This change adds comments that describe the restriction on the location of
parent HAL objects within a derived HAL object. HAL objects that already
have comments that describe the required location of parent objects are not
modified.

Change-Id: Ibe4300275286ef275b2097534c84f1029d761d87
/hardware/libhardware/include/hardware/fb.h
88ef190fcf4a02839eb13ab7ca8d91d3dd145731 04-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> hardware: Add field for number of framebuffers supported

Change-Id: Iec29018a956d2c048ce077c48fd3995a4ca6f72a
/hardware/libhardware/include/hardware/fb.h
5337b102898cfd48eda7215df15baaf3bc96521f 29-Apr-2011 Mathias Agopian <mathias@google.com> split fb.h out of gralloc.h

fb and gralloc are part of the same HAL for now,
but for clarity we split them into these two headers.

Change-Id: I8e9e3068e47f0d94dd7c145d72fdc2e9fff24af5
/hardware/libhardware/include/hardware/fb.h