Hi All ,

this question is related to the new hardware composer ( hwc )
component in ICS .
If i enable the HWC_OVERLAY flag to tell SF that i will be handling
the data - then when the list of layers comes to hwc_prepare call ..
if i want to read the 16bpp data from a particualr layer (when working
on emulator) ?? what is the method to do that ? Correct me if i'm
wrong ,for emulator the data is16bpp in RGB565 format.

hwc_prepare(hwc_composer_device_t *dev, hwc_layer_list_t* list)
{

...
// try this
dump_layer(&list->hwLayers[i]);

...
}

static void dump_layer(hwc_layer_t const* l) {

/*if i want to dump the entire data .. where is my actual 16bpp
data ?
l->handle  ?
l->handle->data ?
or anyother place ?

..
}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to