From patchwork Thu Jun 23 14:23:15 2011 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: 2211 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 ABFDC23F7C for ; Thu, 23 Jun 2011 14:23:18 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 6823EA189B3 for ; Thu, 23 Jun 2011 14:23:18 +0000 (UTC) Received: by qwb8 with SMTP id 8so1392733qwb.11 for ; Thu, 23 Jun 2011 07:23:18 -0700 (PDT) Received: by 10.229.30.3 with SMTP id s3mr446918qcc.21.1308838997865; Thu, 23 Jun 2011 07:23:17 -0700 (PDT) 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.229.230.139 with SMTP id jm11cs19223qcb; Thu, 23 Jun 2011 07:23:17 -0700 (PDT) Received: by 10.227.54.194 with SMTP id r2mr1997668wbg.65.1308838995895; Thu, 23 Jun 2011 07:23:15 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id fw18si3919702wbb.105.2011.06.23.07.23.15; Thu, 23 Jun 2011 07:23:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QZkoN-0003mQ-7I for ; Thu, 23 Jun 2011 14:23:15 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 337382E8027 for ; Thu, 23 Jun 2011 14:23:15 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glcompbench X-Launchpad-Branch: ~glcompbench-dev/glcompbench/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 30 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glcompbench-dev/glcompbench/trunk] Rev 30: Fix source code indentation. Message-Id: <20110623142315.3922.1014.launchpad@loganberry.canonical.com> Date: Thu, 23 Jun 2011 14:23:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13265"; Instance="initZopeless config overlay" X-Launchpad-Hash: ecc2814fcc5e0339f0cdcebdb3ae193dc98428c7 ------------------------------------------------------------ revno: 30 committer: Alexandros Frantzis branch nick: trunk timestamp: Thu 2011-06-23 14:26:39 +0300 message: Fix source code indentation. modified: src/options.cc --- lp:glcompbench https://code.launchpad.net/~glcompbench-dev/glcompbench/trunk You are subscribed to branch lp:glcompbench. To unsubscribe from this branch go to https://code.launchpad.net/~glcompbench-dev/glcompbench/trunk/+edit-subscription === modified file 'src/options.cc' --- src/options.cc 2011-06-23 09:49:07 +0000 +++ src/options.cc 2011-06-23 11:26:39 +0000 @@ -124,36 +124,36 @@ if (option_index != -1) optname = long_options[option_index].name; - if (!strcmp(optname, "ids")) - parse_window_ids(optarg, Options::window_ids); - else if (!strcmp(optname, "size")) - Options::size = strtol(optarg, NULL, 10); - else if (!strcmp(optname, "no-accel-tfp")) - Options::use_accel_tfp = false; - else if (!strcmp(optname, "no-vbo")) - Options::use_vbo = false; - else if (!strcmp(optname, "benchmark")) - Options::benchmarks.push_back(optarg); - else if (!strcmp(optname, "no-draw")) - Options::draw = false; - else if (!strcmp(optname, "idle-redraw")) - Options::idle_redraw = true; - else if (!strcmp(optname, "force-tex-update")) - Options::force_tex_update = true; - else if (!strcmp(optname, "run-forever")) - Options::run_forever = true; - else if (!strcmp(optname, "num-iters")) - Options::num_iterations = strtol(optarg, NULL, 10); - else if (!strcmp(optname, "list-tests")) - Options::list_tests = true; - else if (!strcmp(optname, "manual-redirect")) - Options::manual_redirect = true; - else if (!strcmp(optname, "no-swap-buffers")) - Options::swap_buffers = false; - else if (!strcmp(optname, "debug")) - Options::show_debug = true; - else if (!strcmp(optname, "help")) - Options::show_help = true; + if (!strcmp(optname, "ids")) + parse_window_ids(optarg, Options::window_ids); + else if (!strcmp(optname, "size")) + Options::size = strtol(optarg, NULL, 10); + else if (!strcmp(optname, "no-accel-tfp")) + Options::use_accel_tfp = false; + else if (!strcmp(optname, "no-vbo")) + Options::use_vbo = false; + else if (!strcmp(optname, "benchmark")) + Options::benchmarks.push_back(optarg); + else if (!strcmp(optname, "no-draw")) + Options::draw = false; + else if (!strcmp(optname, "idle-redraw")) + Options::idle_redraw = true; + else if (!strcmp(optname, "force-tex-update")) + Options::force_tex_update = true; + else if (!strcmp(optname, "run-forever")) + Options::run_forever = true; + else if (!strcmp(optname, "num-iters")) + Options::num_iterations = strtol(optarg, NULL, 10); + else if (!strcmp(optname, "list-tests")) + Options::list_tests = true; + else if (!strcmp(optname, "manual-redirect")) + Options::manual_redirect = true; + else if (!strcmp(optname, "no-swap-buffers")) + Options::swap_buffers = false; + else if (!strcmp(optname, "debug")) + Options::show_debug = true; + else if (!strcmp(optname, "help")) + Options::show_help = true; } return true;