From patchwork Thu Jul 21 12:36:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barker X-Patchwork-Id: 2960 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 86B7323F4D for ; Thu, 21 Jul 2011 12:43:03 +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 4F477A1822A for ; Thu, 21 Jul 2011 12:43:03 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so853237qwb.11 for ; Thu, 21 Jul 2011 05:43:03 -0700 (PDT) Received: by 10.229.68.200 with SMTP id w8mr191080qci.114.1311252183115; Thu, 21 Jul 2011 05:43:03 -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.217.78 with SMTP id hl14cs139522qcb; Thu, 21 Jul 2011 05:43:02 -0700 (PDT) Received: by 10.216.176.76 with SMTP id a54mr710161wem.112.1311251796576; Thu, 21 Jul 2011 05:36:36 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id u67si2379914weq.93.2011.07.21.05.36.36; Thu, 21 Jul 2011 05:36:36 -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 1QjsUU-0000Cj-W2 for ; Thu, 21 Jul 2011 12:36:35 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 848162E8951 for ; Thu, 21 Jul 2011 12:36:34 +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: 64 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 64: Make sure to set ClearDepth explicitly. Also, revert the attribs for red, green and blue size as ... Message-Id: <20110721123634.17019.53534.launchpad@loganberry.canonical.com> Date: Thu, 21 Jul 2011 12:36:34 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13475"; Instance="initZopeless config overlay" X-Launchpad-Hash: 001f8d4becc802dbf7a09e01eb25acaefa3a5dab ------------------------------------------------------------ revno: 64 committer: Jesse Barker timestamp: Fri 2010-11-19 18:09:32 +0000 message: Make sure to set ClearDepth explicitly. Also, revert the attribs for red, green and blue size as it can return a config we're not setup to handle. modified: src/screen-sdl-glesv2.cpp src/sdlgles/attribs.inc --- 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/screen-sdl-glesv2.cpp' --- src/screen-sdl-glesv2.cpp 2010-11-19 12:03:25 +0000 +++ src/screen-sdl-glesv2.cpp 2010-11-19 18:09:32 +0000 @@ -65,6 +65,7 @@ #endif glClearColor(0.0f, 0.0f, 0.0f, 0.5f); + glClearDepthf(1.0f); glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); glEnable(GL_CULL_FACE); === modified file 'src/sdlgles/attribs.inc' --- src/sdlgles/attribs.inc 2010-11-19 11:54:36 +0000 +++ src/sdlgles/attribs.inc 2010-11-19 18:09:32 +0000 @@ -1,8 +1,8 @@ /* List of EGL attributes we care about */ A(0, EGL_BUFFER_SIZE, 1) -A(1, EGL_RED_SIZE, 1) -A(2, EGL_GREEN_SIZE, 1) -A(3, EGL_BLUE_SIZE, 1) +A(1, EGL_RED_SIZE, 0) +A(2, EGL_GREEN_SIZE, 0) +A(3, EGL_BLUE_SIZE, 0) A(4, EGL_LUMINANCE_SIZE, 0) A(5, EGL_ALPHA_SIZE, 0) A(6, EGL_CONFIG_CAVEAT, EGL_DONT_CARE)