diff options
author | Mathias Agopian <mathias@google.com> | 2009-07-15 15:01:10 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-07-15 15:12:13 -0700 |
commit | 6d125da5d28369df62dc5c186b43fcd40a3d33e8 (patch) | |
tree | 5c6415ade2e5bb8a6d781fa6b342c6edeffec601 /modules/gralloc | |
parent | 05eacf533eb90f79f4af43e9cf86cdb3817a00ca (diff) | |
download | hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.tar.gz hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.tar.bz2 hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.zip |
generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
Diffstat (limited to 'modules/gralloc')
-rw-r--r-- | modules/gralloc/framebuffer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp index 0aaa9da..5f97032 100644 --- a/modules/gralloc/framebuffer.cpp +++ b/modules/gralloc/framebuffer.cpp @@ -41,9 +41,6 @@ /*****************************************************************************/ -// should be a build option -#define SUPPORTS_UPDATE_ON_DEMAND 1 - // numbers of buffers for page flipping #define NUM_BUFFERS 2 @@ -334,7 +331,6 @@ int fb_device_open(hw_module_t const* module, const char* name, { int status = -EINVAL; if (!strcmp(name, GRALLOC_HARDWARE_FB0)) { - alloc_device_t* gralloc_device; status = gralloc_open(module, &gralloc_device); if (status < 0) @@ -367,15 +363,6 @@ int fb_device_open(hw_module_t const* module, const char* name, const_cast<float&>(dev->device.fps) = m->fps; const_cast<int&>(dev->device.minSwapInterval) = 1; const_cast<int&>(dev->device.maxSwapInterval) = 1; - -#if SUPPORTS_UPDATE_ON_DEMAND - if (m->finfo.reserved[0] == 0x5444 && - m->finfo.reserved[1] == 0x5055) { - dev->device.setUpdateRect = fb_setUpdateRect; - LOGD("UPDATE_ON_DEMAND supported"); - } -#endif - *device = &dev->device.common; } } |