From patchwork Wed Sep 4 17:51:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 19759 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7646224869 for ; Wed, 4 Sep 2013 17:51:32 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id f11sf665203yha.0 for ; Wed, 04 Sep 2013 10:51:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=Fycup675pah4rPWvWwWzthgYbpWql4CuA+4h5HNhOVs=; b=QyLEU3y8A7pLHngu/3x+/KbSgM+xorglgzFesoNxVjLOgyUn4pRbmtPRD43u1X6UYf VYpK2v9F7gpthtEAr9EJyBVQxa8uEEhuSJ4HdihNz9VPPeWZ6j8D4k9lIFiGEsqPxe5w 57wpIDlm7taVi7TEeyZsi8+8NnXRhAb7CY20I5rMN/dr6K5jZASqiiKUOhNKwMAy7f3V 6h9yYPzb2AZfYaCPB7eXxfciz8R1eZViTt28Kcyd1vrar2wPwDQ05EyTT/8f6cO+4IwX 27NEyCI1U+2Y6cwdAwmx4OobBTdf82WVjLPYZtfc1gTFPsExUxjuyjdNkO1FUHIVPyvI BZ8A== X-Received: by 10.236.167.138 with SMTP id i10mr1573365yhl.9.1378317092085; Wed, 04 Sep 2013 10:51:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.104 with SMTP id o8ls191414qek.38.gmail; Wed, 04 Sep 2013 10:51:32 -0700 (PDT) X-Received: by 10.58.19.162 with SMTP id g2mr3699483vee.12.1378317091966; Wed, 04 Sep 2013 10:51:31 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id zw10si5770571vdb.148.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Sep 2013 10:51:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id pb11so408172veb.25 for ; Wed, 04 Sep 2013 10:51:31 -0700 (PDT) X-Gm-Message-State: ALoCoQkwJzDtfgc73JoQ3OLI9+Gia6ZgRDiVu/EHH/9wCUOkS6NalLsApUU3YRTD5fkSUEn4p6IR X-Received: by 10.52.158.5 with SMTP id wq5mr37987vdb.61.1378317091791; Wed, 04 Sep 2013 10:51:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp233901vcz; Wed, 4 Sep 2013 10:51:31 -0700 (PDT) X-Received: by 10.180.103.37 with SMTP id ft5mr3086177wib.21.1378317090507; Wed, 04 Sep 2013 10:51:30 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id e1si29190wiz.21.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Sep 2013 10:51:30 -0700 (PDT) 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; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VHHEn-0004zP-ID for ; Wed, 04 Sep 2013 17:51:29 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7D020E90FF for ; Wed, 4 Sep 2013 17:51:29 +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: 282 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 282: NativeStateWayland: use wl_display_roundtrip in flip method Message-Id: <20130904175129.7960.78936.launchpad@ackee.canonical.com> Date: Wed, 04 Sep 2013 17:51:29 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16753"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: a8a3828371870b6667044ea19cd5e84004c0a358 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ------------------------------------------------------------ revno: 282 fixes bug: https://launchpad.net/bugs/1211076 author: RafaƂ Mielniczuk , Rafal Mielniczuk committer: Alexandros Frantzis branch nick: glmark2-wayland-wl-display-roundtrip timestamp: Wed 2013-08-28 19:43:48 +0200 message: NativeStateWayland: use wl_display_roundtrip in flip method As noticed by Axel Davy we need to use wl_display_roundtrip in NativeStateWayland::flip to prevent blocking when eglSwapInterval(0) is set. More info: https://bugs.launchpad.net/glmark2/+bug/1211076 modified: src/native-state-wayland.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/native-state-wayland.cpp' --- src/native-state-wayland.cpp 2013-08-06 22:18:53 +0000 +++ src/native-state-wayland.cpp 2013-08-28 17:43:48 +0000 @@ -279,7 +279,7 @@ void NativeStateWayland::flip() { - int ret = wl_display_dispatch(display_->display); + int ret = wl_display_roundtrip(display_->display); should_quit_ = (ret == -1) || should_quit_; }