From patchwork Tue Jan 17 15:46:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 6271 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3596C23E13 for ; Tue, 17 Jan 2012 15:46:17 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 25B4CA18461 for ; Tue, 17 Jan 2012 15:46:17 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id zt4so1847463bkb.11 for ; Tue, 17 Jan 2012 07:46:17 -0800 (PST) Received: by 10.204.153.27 with SMTP id i27mr7000220bkw.81.1326815176995; Tue, 17 Jan 2012 07:46:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs122473bkc; Tue, 17 Jan 2012 07:46:16 -0800 (PST) Received: by 10.180.95.199 with SMTP id dm7mr29349773wib.9.1326815175250; Tue, 17 Jan 2012 07:46:15 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id o65si12976177weq.73.2012.01.17.07.46.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jan 2012 07:46:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RnBEj-0001Pm-9d for ; Tue, 17 Jan 2012 15:46:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 311F1E143E for ; Tue, 17 Jan 2012 15:46:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 187 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 187: Benchmark: Add method to get the associated scene without setting it up. Message-Id: <20120117154613.4137.30143.launchpad@ackee.canonical.com> Date: Tue, 17 Jan 2012 15:46:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14676"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 5c0c8b82e66eb689c0387e1731075141aeb2d453 ------------------------------------------------------------ revno: 187 committer: Alexandros Frantzis branch nick: trunk timestamp: Tue 2012-01-17 17:41:29 +0200 message: Benchmark: Add method to get the associated scene without setting it up. modified: src/benchmark.h --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'src/benchmark.h' --- src/benchmark.h 2011-11-08 22:01:16 +0000 +++ src/benchmark.h 2012-01-17 15:41:29 +0000 @@ -69,6 +69,16 @@ Benchmark(const std::string &s); /** + * Gets the Scene associated with the benchmark. + * + * This method doesn't prepare the scene for a run. + * (See ::setup_scene()) + * + * @return the Scene + */ + Scene &scene() const { return scene_; } + + /** * Sets up the Scene associated with the benchmark. * * @return the Scene