summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorLouis Huemiller <lhuemill@google.com>2010-12-14 14:58:55 -0800
committerLouis Huemiller <lhuemill@google.com>2010-12-14 14:58:55 -0800
commit7c43ebc930f17a308abfffcff71f857ab2aa8511 (patch)
tree114a4642035e8296870621442851b66d9f9d3b40 /opengl
parent185097f56caf047f93fc2f842385d73d8680ed26 (diff)
downloadframeworks_base-7c43ebc930f17a308abfffcff71f857ab2aa8511.zip
frameworks_base-7c43ebc930f17a308abfffcff71f857ab2aa8511.tar.gz
frameworks_base-7c43ebc930f17a308abfffcff71f857ab2aa8511.tar.bz2
HWC Stress Test - relocate print msg
Change-Id: I95f9f5c6edffff8c737c4a6996f97e69bccc0448
Diffstat (limited to 'opengl')
-rw-r--r--opengl/tests/hwc/hwc_stress.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/opengl/tests/hwc/hwc_stress.cpp b/opengl/tests/hwc/hwc_stress.cpp
index d41b074..580eb83 100644
--- a/opengl/tests/hwc/hwc_stress.cpp
+++ b/opengl/tests/hwc/hwc_stress.cpp
@@ -1061,16 +1061,16 @@ void initFrames(unsigned int seed)
size_t h = (height * maxSizeRatio) * testRandFract();
w = max(1u, w);
h = max(1u, h);
- if (verbose) {
- testPrintI(" frame %u width: %u height: %u format: %u %s",
- row, w, h, format, graphicFormat2str(format));
- }
if ((w % formatPtr->wMod) != 0) {
w += formatPtr->wMod - (w % formatPtr->wMod);
}
if ((h % formatPtr->hMod) != 0) {
h += formatPtr->hMod - (h % formatPtr->hMod);
}
+ if (verbose) {
+ testPrintI(" frame %u width: %u height: %u format: %u %s",
+ row, w, h, format, graphicFormat2str(format));
+ }
size_t cols = testRandMod((maxCols + 1) - minCols) + minCols;
frames[row].resize(cols);