The Android Open Source Project
814f64bbcb
reconcile android-2.1_r1 snapshot
2010-01-29 14:09:19 -08:00
The Android Open Source Project
f1d633b78c
android-2.1_r1 snapshot
2010-01-12 15:19:05 -08:00
Dima Zavin
5844bf9d82
gralloc-qsd8k: make sure that we never try to allocatio 0 bytes
...
Change-Id: Ic05b895c09a55d746c737aa0c3356edc511d7c96
Signed-off-by: Dima Zavin <dima@android.com>
2009-12-09 21:13:44 -08:00
Mathias Agopian
a36265815f
improve cache behavior of gralloc allocations on qsd8k
...
make sure to use cached buffers only when frequent cpu access is needed.
also, always flush buffers after they are allocated and cleared.
2009-12-08 19:34:43 -08:00
Dima Zavin
42230c70df
gralloc-qsd8k: If using gpu composition, request rgba8888 instead of rgbx8888
...
Change-Id: Ic41d4854d6acbc21c85a03e82bd63af234273886
Signed-off-by: Dima Zavin <dima@android.com>
2009-12-04 20:22:41 -08:00
Dima Zavin
deee91ac9f
gralloc-qsd8k: Change composition_complete being a glfinish from stopship to a TODO
...
We really need to fix this eventually, but it's not a ship blocker.
Change-Id: I35f66988e7adba13e47c2a86e13a7425cc5aada3
Signed-off-by: Dima Zavin <dima@android.com>
2009-12-04 15:41:54 -08:00
Dima Zavin
427b3ce634
libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
...
The GPU now correctly maps everything throug hthe MMU so physical addresses
are no longer needed.
Change-Id: Id16a690f63d7141c8ee6694b246b1955f450b8ed
Signed-off-by: Dima Zavin <dima@android.com>
2009-12-02 21:15:33 -08:00
Mathias Agopian
c73e6963a9
part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
...
Add support for 32 bits framebuffers
2009-11-23 23:19:54 -08:00
Jean-Baptiste Queru
816cd5a360
eclair snapshot
2009-11-12 18:46:07 -08:00
Mathias Agopian
288ce91925
fix[2222341] Soft reset while going back from camcorder settings
...
add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger
also make sure to not send empty rectangles to the MDP.
2009-10-30 14:52:52 -07:00
Dima Zavin
373ca4b021
gralloc-qsd8k: Call glFinish on composition complete.
...
Change-Id: I09c8287bcaf89f3f8bcaa4108631641a0fcc397b
Signed-off-by: Dima Zavin <dima@android.com>
2009-10-08 01:13:51 -07:00
Simon Wilson
95b0dca41e
Enforce 32 pixel alignment for Adreno 200
2009-08-25 14:01:36 -07:00
Mathias Agopian
173ba48dd3
fix gralloc qsd8k. we actually don't need to use /pmem/gpu1, since the gpu is now able to use regular PMEM.
...
this module is now closer to the generic gralloc module, although it will have to evolve in the near future.
2009-08-20 15:41:34 -07:00
Mathias Agopian
2261332f74
use the same magic value for native_handle in 7k and 8k, since the handles are actually identical
2009-08-19 15:16:48 -07:00
Mathias Agopian
e1ec76c16e
make gralloc_priv.h for msm7k and qsd8k identical and C friendly
2009-08-19 14:17:17 -07:00
Mathias Agopian
a6ea6c0955
reenabled partial updates in msm7k/qsd8k
2009-08-19 13:45:02 -07:00
Mathias Agopian
2c911dc5b8
make gralloc-qsd8k closer to the generic gralloc so it's easier to maintain
2009-08-19 13:14:55 -07:00
Dima Zavin
3e49b7a81f
gralloc8k: make sure to set the physical address of the framebuffer
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-13 16:43:21 -07:00
Dima Zavin
8b9940f048
gralloc8k: fix partial updates, some cleanups
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-13 16:43:19 -07:00
Dima Zavin
463408155c
qsd8k: add gralloc for 8k
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-13 16:43:18 -07:00