Home
last modified time | relevance | path

Searched refs:tiledRenderer (Results 1 – 3 of 3) sorted by relevance

/external/skia/tools/
DPictureBenchmark.cpp110 TiledPictureRenderer* tiledRenderer = fRenderer->getTiledRenderer(); in run() local
111 SkASSERT(tiledRenderer && tiledRenderer->supportsTimingIndividualTiles()); in run()
112 if (NULL == tiledRenderer || !tiledRenderer->supportsTimingIndividualTiles()) { in run()
116 if (!tiledRenderer->tileDimensions(xTiles, yTiles)) { in run()
121 while (tiledRenderer->nextTile(x, y)) { in run()
147 tiledRenderer->drawCurrentTile(); in run()
149 tiledRenderer->resetState(false); // flush & swapBuffers, but don't Finish in run()
158 tiledRenderer->resetState(true); // flush, swapBuffers and Finish in run()
163 fWriter->logRenderer(tiledRenderer); in run()
185 tiledRenderer->getNormalTimeFormat().c_str(), in run()
DPictureRenderingFlags.cpp148 SkAutoTUnref<sk_tools::TiledPictureRenderer> tiledRenderer; local
173 tiledRenderer.reset(SkNEW_ARGS(sk_tools::CopyTilesRenderer, (grContextOpts, x, y)));
175 tiledRenderer.reset(SkNEW_ARGS(sk_tools::CopyTilesRenderer, (x, y)));
178 tiledRenderer.reset(SkNEW_ARGS(sk_tools::TiledPictureRenderer, RENDERER_ARGS));
189 tiledRenderer->setTileMinPowerOf2Width(minWidth);
195 tiledRenderer->setTileWidthPercentage(atof(widthString));
196 if (!(tiledRenderer->getTileWidthPercentage() > 0)) {
201 tiledRenderer->setTileWidth(atoi(widthString));
202 if (!(tiledRenderer->getTileWidth() > 0)) {
213 tiledRenderer->setTileHeightPercentage(atof(heightString));
[all …]
Dbench_pictures_main.cpp345 sk_tools::TiledPictureRenderer* tiledRenderer = renderer->getTiledRenderer(); in setup_benchmark() local
346 if (NULL == tiledRenderer) { in setup_benchmark()
350 if (!tiledRenderer->supportsTimingIndividualTiles()) { in setup_benchmark()