frameworks/base
Révision | d03c83651caadfbb0e01533aa1dd01e78986c50c (tree) |
---|---|
l'heure | 2009-11-26 18:36:43 |
Auteur | Chia-I Wu <olvaffe@gmai...> |
Commiter | Chih-Wei Huang |
surfaceflinger: Disable HW buffer alignment.
It seems to confuse loadTexture somehow when the layer really has weird
size like 1366x768. This should be a temporary workaround.
@@ -124,7 +124,7 @@ status_t Layer::setBuffers( Client* client, | ||
124 | 124 | |
125 | 125 | if ((flags & ISurfaceComposer::eGPU) && (mFlinger->getGPU() != 0)) { |
126 | 126 | // FIXME: this value should come from the h/w |
127 | - alignment = 8; | |
127 | + alignment = 1; | |
128 | 128 | |
129 | 129 | /* |
130 | 130 | * not needed for i915 |