Mathias Agopian
5115665397
with the new lock/unlock API we don't really mean reference counting on mmap/munmap because we're guaranteed to map the buffers only once within a process.
...
no need to track all handles anymore, which simplifies the code a lot.
2009-06-09 20:50:34 -07:00
Mathias Agopian
82f7c04155
suppress spurious debug log
2009-06-03 19:03:26 -07:00
Mathias Agopian
f5cf8f842a
better documentation for (*setUpdateRect)()
2009-05-07 17:39:31 -07:00
Mathias Agopian
485e69809a
better documentation and implementation for lock/unlock
2009-05-05 20:49:49 -07:00
Mathias Agopian
295190f426
get rid of unused/needed flags
2009-05-05 18:30:52 -07:00
Mathias Agopian
988b8bd553
lock will now return the vaddr of the buffer. map/umap are gone.
...
- make sure to return an error if a buffer is locked twice or unlocked while not locked.
- added registerBuffer() and unregisterBuffer() to the gralloc module so that we can do some cleanup when a buffer is no longer needed. this became necessary after we removed map/unmap so we have a place to unmap buffers without the need of a kernel module.
- change the constants for GRALLOC_USAGE_SW_{READ|WRITE}_NEVER to 0, so that NOT specifying them means "NEVER".
2009-05-04 14:26:56 -07:00
Mathias Agopian
c3ce41d319
don't automatically unmap buffers when they're freed
...
this is in preparation to an api change wrt gralloc map/unmap
2009-04-14 18:24:09 -07:00
Mathias Agopian
a8a75166a2
Integrate from //sandbox/mathias/donut/...@145728
...
SurfaceFlinger rework for new EGL driver model support.
2009-04-10 14:24:31 -07:00
The Android Open Source Project
f53ebec387
auto import from //depot/cupcake/@135843
2009-03-03 19:32:14 -08:00
The Android Open Source Project
d51f49a11d
auto import from //depot/cupcake/@135843
2009-03-03 18:28:48 -08:00
The Android Open Source Project
b376203efb
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:04 -08:00
The Android Open Source Project
f87393cb24
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:59 -08:00
The Android Open Source Project
0100d517b1
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:12 -08:00
The Android Open Source Project
699d24ab11
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:24 -08:00
The Android Open Source Project
51704bed79
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:50 -08:00