From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 37142] Too much vertex buffers uploads
Date: Tue, 17 May 2011 05:33:51 -0700 (PDT)
Message-ID: <20110517123352.0A8E613004F@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 2B2419E7B0
for ;
Tue, 17 May 2011 05:33:57 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=37142
--- Comment #7 from Pierre-Eric Pelloux-Prayer 2011-05-17 05:33:51 PDT ---
Created an attachment (id=46804)
View: https://bugs.freedesktop.org/attachment.cgi?id=46804
Review: https://bugs.freedesktop.org/review?bug=37142&attachment=46804
vertex buffer upload caching
Here's a patch adding vertex buffer upload caching.
It's not extensively tested (only with custom app and openarena), and is a bit
hackish (mainly regarding : ctx->Array.NewState field, but it seems unused
elsewhere).
Anyway, it allowed me to do some testing and confirm the initial guess : it
brings no performance improvements to openarena :-/ (but that was expected, as
profiling the game tells that u_upload_data < 1% cpu time)
So I guess the handling of EXT_compiled_vertex_array is useless - maybe with 1
exception : lower end video cards with lower bandwidth ? I can't test this
scenario here, as I only have AMD HD4850.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.