~raof/mir/hack-hack-hack-remove-a-hack

« back to all changes in this revision

Viewing changes to src/server/graphics/android/hwc_layerlist.cpp

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2013-11-26 19:06:17 UTC
  • mfrom: (1244.3.9 fix-1253486)
  • Revision ID: tarmac-20131126190617-42i8elpsm8exqbzj
clean up unit tests (ran under android) so there's no uninitialized value 
errors for the unit-tests/graphics/android tests, and make the tests run 
without gmock warning, unexpected call errors. (LP: #1172184). Fixes: https://bugs.launchpad.net/bugs/1172184, https://bugs.launchpad.net/bugs/1253486.

Approved by PS Jenkins bot, Alan Griffiths, Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    visibleRegionScreen.numRects=1;
60
60
    visibleRegionScreen.rects= &visible_rect;
61
61
    handle = buffer_handle;
 
62
 
 
63
    memset(&reserved, 0, sizeof(reserved));
62
64
}
63
65
 
64
66
mga::FramebufferLayer::FramebufferLayer()