Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | when a zero dimension buffer is allocated, turn the allocation into | Mathias Agopian | 2010-04-15 | 1 | -10/+9 |
| | | | | | | a 1x1 buffer instead of Nx1 (or 1xN) Change-Id: I27eeb15e83e13002dd9405f4e52b54f7dffc0fe7 | ||||
* | fix [2545826] calling into gralloc with external lock held | Mathias Agopian | 2010-03-25 | 1 | -4/+0 |
| | | | | Change-Id: I2d0e017382404c684c768a0dd0423d574213f10a | ||||
* | fix [2168531] have software-only gralloc buffer side-step the HAL | Mathias Agopian | 2009-10-06 | 1 | -5/+17 |
| | |||||
* | fix [2167050] glTexImage2D code path buggy in SurfaceFlinger | Mathias Agopian | 2009-10-06 | 1 | -0/+129 |
When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly. |