From patchwork Wed Dec 12 19:47:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barker X-Patchwork-Id: 13515 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 E10B323E02 for ; Wed, 12 Dec 2012 19:47:16 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 95317A18215 for ; Wed, 12 Dec 2012 19:47:16 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so2659521ieb.11 for ; Wed, 12 Dec 2012 11:47:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=0aUb0PNEANF0MknS5m0LPigQ6AkKsB7+zJG1Zfq0TA4=; b=cSOEhzt4qFx+nABtY0T273mbBn7WedKCXrXuhVEetVNopnzV+vnHe3XKRcMlGzJ8WS BQJ3HTktVycWGrv0qkb2iweb1WjTY/7q2RLHZhhaL05BNyCrsNj4klOkvIqFcrwRLk5X xSpvFSy6ov4gLh12nKCCOYjF1b+Pcz4P6baKmeGqlRwknifFmDm2FmetQLyDWOFFDfZT 8UF1a3+o4bEn0Gt/EAAgNXNBkbYzOZLTUIrygCdjjQy0cusNjFH2qw7zachhLf3IR8E8 S00UgGkbRJ30P+0mWsJJrL+x1EhZsqS+tx35X78wW4EmgxoaRapVAFWrqZSpmYsAxMoN gOtg== Received: by 10.43.125.133 with SMTP id gs5mr1815081icc.54.1355341635899; Wed, 12 Dec 2012 11:47:15 -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.50.67.148 with SMTP id n20csp221319igt; Wed, 12 Dec 2012 11:47:15 -0800 (PST) Received: by 10.180.33.202 with SMTP id t10mr3850100wii.3.1355341633950; Wed, 12 Dec 2012 11:47:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ko10si8248478wjb.22.2012.12.12.11.47.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 11:47: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 1TisGu-0001mw-VD for ; Wed, 12 Dec 2012 19:47:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id BFEF5E0106 for ; Wed, 12 Dec 2012 19:47:12 +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: 254 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 254: CanvasX11EGL: The type definitions between X.h and eglplatform.h make these Message-Id: <20121212194712.7626.89706.launchpad@ackee.canonical.com> Date: Wed, 12 Dec 2012 19:47:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16361"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 51909c367ab8674e1ab357557a3192791df6e97e X-Gm-Message-State: ALoCoQlS5C5g5hLMPkAMNTw25k//l7cf48FJbc1s+0BZGquApIwkqsrNGfQQRsiXm2kNnLpSCVI3 ------------------------------------------------------------ revno: 254 committer: Jesse Barker branch nick: trunk timestamp: Wed 2012-12-12 11:45:49 -0800 message: CanvasX11EGL: The type definitions between X.h and eglplatform.h make these casts unnecessary. modified: src/canvas-x11-egl.cpp --- 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/canvas-x11-egl.cpp' --- src/canvas-x11-egl.cpp 2012-11-13 16:56:32 +0000 +++ src/canvas-x11-egl.cpp 2012-12-12 19:45:49 +0000 @@ -34,8 +34,7 @@ bool CanvasX11EGL::init_gl_winsys() { - egl_.init_display(reinterpret_cast(xdpy_), - visual_config_); + egl_.init_display(xdpy_, visual_config_); return true; } @@ -68,7 +67,7 @@ bool CanvasX11EGL::make_current() { - egl_.init_surface(reinterpret_cast(xwin_)); + egl_.init_surface(xwin_); if (!egl_.valid()) { Log::error("CanvasX11EGL: Invalid EGL state\n"); return false;