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

Issue 5401046: Fix count of elements in buffer (Closed)

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

Description

Fix count of elements in buffer There can be one extra element at the end even if an entire stride doesn't fit. BUG= TEST= Committed: http://code.google.com/p/angleproject/source/detail?r=884

Patch Set 1 #

Patch Set 2 : use better calculation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/libGLESv2/VertexDataManager.cpp View 1 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 6
John Bauman
13 years, 9 months ago (2011-11-17 02:18:52 UTC) #1
Nicolas.Capens
Nice observation. I wonder if the following formula gives us the same result without requiring ...
13 years, 9 months ago (2011-11-18 16:49:58 UTC) #2
John Bauman
On 2011/11/18 16:49:58, Nicolas.Capens wrote: > Nice observation. > > I wonder if the following ...
13 years, 9 months ago (2011-11-18 17:11:58 UTC) #3
John Bauman
Ok, switched to use new logic.
13 years, 9 months ago (2011-11-18 19:16:52 UTC) #4
Nicolas.Capens
Looks ok to me.
13 years, 9 months ago (2011-11-18 19:19:08 UTC) #5
dgkoch
13 years, 9 months ago (2011-11-18 19:23:14 UTC) #6
LGTM
Sign in to reply to this message.

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