Loading libs/surfaceflinger/LayerBase.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -461,7 +461,8 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const glRotatef(-90, 0, 0, 1); } if (!(mFlags & DisplayHardware::NPOT_EXTENSION)) { if (!(mFlags & (DisplayHardware::NPOT_EXTENSION | DisplayHardware::DIRECT_TEXTURE))) { // find the smallest power-of-two that will accommodate our surface GLuint tw = 1 << (31 - clz(width)); GLuint th = 1 << (31 - clz(height)); Loading libs/ui/BufferMapper.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ status_t BufferMapper::lock(buffer_handle_t handle, { status_t err = mAllocMod->lock(mAllocMod, handle, usage, bounds.left, bounds.top, bounds.width(), bounds.height(), vaddr); LOGW_IF(err, "unlock(...) failed %d (%s)", err, strerror(-err)); LOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); return err; } Loading Loading
libs/surfaceflinger/LayerBase.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -461,7 +461,8 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const glRotatef(-90, 0, 0, 1); } if (!(mFlags & DisplayHardware::NPOT_EXTENSION)) { if (!(mFlags & (DisplayHardware::NPOT_EXTENSION | DisplayHardware::DIRECT_TEXTURE))) { // find the smallest power-of-two that will accommodate our surface GLuint tw = 1 << (31 - clz(width)); GLuint th = 1 << (31 - clz(height)); Loading
libs/ui/BufferMapper.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ status_t BufferMapper::lock(buffer_handle_t handle, { status_t err = mAllocMod->lock(mAllocMod, handle, usage, bounds.left, bounds.top, bounds.width(), bounds.height(), vaddr); LOGW_IF(err, "unlock(...) failed %d (%s)", err, strerror(-err)); LOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); return err; } Loading