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

Issue 4974051: Use std::map to find correct index range (Closed)

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

Description

Use std::map to find correct index range Instead of iterating through every range to find the one we're looking for, instead put them all in a map and find them with that. This helps performance with index buffers that contain a bunch of different ranges. BUG= TEST= Committed: http://code.google.com/p/angleproject/source/detail?r=742

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -12 lines) Patch
M src/libGLESv2/IndexDataManager.h View 1 chunk +17 lines, -1 line 0 comments Download
M src/libGLESv2/IndexDataManager.cpp View 1 chunk +12 lines, -11 lines 0 comments Download

Messages

Total messages: 2
John Bauman
13 years, 12 months ago (2011-08-30 22:36:22 UTC) #1
dgkoch
13 years, 12 months ago (2011-09-01 20:43:13 UTC) #2
LGTM
Sign in to reply to this message.

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