diff options
author | Jesse Hall <jessehall@google.com> | 2012-07-31 14:32:56 -0700 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-08-07 12:16:36 -0700 |
commit | b685c542836b93c99cd85053e07696406ea37adb (patch) | |
tree | 9907e7f794f0d96ae2a43894a9efab73a695c104 /opengl/tests/hwc/hwcCommit.cpp | |
parent | 14bd369e4b711bfb267279c2161358542ed75b29 (diff) | |
download | frameworks_native-b685c542836b93c99cd85053e07696406ea37adb.zip frameworks_native-b685c542836b93c99cd85053e07696406ea37adb.tar.gz frameworks_native-b685c542836b93c99cd85053e07696406ea37adb.tar.bz2 |
Changes to support multi-display HWC
Change-Id: I07efff54f2980dcb013935747b03e099b8f1181b
Diffstat (limited to 'opengl/tests/hwc/hwcCommit.cpp')
-rw-r--r-- | opengl/tests/hwc/hwcCommit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/tests/hwc/hwcCommit.cpp b/opengl/tests/hwc/hwcCommit.cpp index d4873d8..3681fbb 100644 --- a/opengl/tests/hwc/hwcCommit.cpp +++ b/opengl/tests/hwc/hwcCommit.cpp @@ -1397,7 +1397,7 @@ void Rational::double2Rational(double f, Range nRange, Range dRange, // Given a list of rectangles, determine how many HWC will commit to render uint32_t numOverlays(list<Rectangle>& rectList) { - hwc_layer_list_1_t *hwcList; + hwc_display_contents_1_t *hwcList; list<sp<GraphicBuffer> > buffers; hwcList = hwcTestCreateLayerList(rectList.size()); @@ -1430,7 +1430,7 @@ uint32_t numOverlays(list<Rectangle>& rectList) // Perform prepare operation if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(hwcList); } - hwcDevice->prepare(hwcDevice, hwcList); + hwcDevice->prepare(hwcDevice, 1, &hwcList); if (verbose) { testPrintI("Post Prepare:"); hwcTestDisplayListPrepareModifiable(hwcList); |