Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4949)

Issue 5248057: Improve performance of applyRenderTarget and applyTextures (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by John Bauman
Modified:
12 years, 7 months ago
Reviewers:
dgkoch, nicolas
CC:
angleproject-review_googlegroups.com
Base URL:
https://angleproject.googlecode.com/svn/trunk
Visibility:
Public.

Description

Improve performance of applyRenderTarget and applyTextures Get rid of unnecessary GetSurfaceLevel/Release calls, move invariants out of the applyTextures loop, and fix the if in getSemanticIndex so we can avoid calling getMaximumCombinedTextureImageUnits. Gets donuts NaCl demo from 14->16 fps. BUG= TEST=webgl conformance tests Committed: http://code.google.com/p/angleproject/source/detail?r=787

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -11 lines) Patch
M src/libGLESv2/Context.cpp View 3 chunks +19 lines, -9 lines 0 comments Download
M src/libGLESv2/Program.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2
John Bauman
12 years, 7 months ago (2011-10-11 19:15:33 UTC) #1
nicolas
12 years, 7 months ago (2011-10-11 20:14:01 UTC) #2
Looks great to me.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b