• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Révisiond03c83651caadfbb0e01533aa1dd01e78986c50c (tree)
l'heure2009-11-26 18:36:43
AuteurChia-I Wu <olvaffe@gmai...>
CommiterChih-Wei Huang

Message de Log

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.

Change Summary

Modification

--- a/libs/surfaceflinger/Layer.cpp
+++ b/libs/surfaceflinger/Layer.cpp
@@ -124,7 +124,7 @@ status_t Layer::setBuffers( Client* client,
124124
125125 if ((flags & ISurfaceComposer::eGPU) && (mFlinger->getGPU() != 0)) {
126126 // FIXME: this value should come from the h/w
127- alignment = 8;
127+ alignment = 1;
128128
129129 /*
130130 * not needed for i915