Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Issue 26922004: Make sure attribute indexes are correct after restoring vertex attributes (Closed)

Created:
7 years, 2 months ago by Kimmo Kinnunen
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Make sure attribute indexes are correct after restoring vertex attributes Fix an assert due to GrDrawState::CommonState::fFixedFunctionVertexAttribIndices getting out of sync. The assertion in GrDrawState::CommonState::operator== would fire after using AutoVertexAttribRestore. AutoVertexAttribRestore would change GrDrawState::fCommon.fVAPtr and fVACount without updating GrDrawState::fCommon.fFixedFunctionVertexAttribIndices. Committed: http://code.google.com/p/skia/source/detail?r=11807

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M src/gpu/GrDrawState.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kimmo Kinnunen
7 years, 2 months ago (2013-10-16 12:26:32 UTC) #1
bsalomon
lgtm
7 years, 2 months ago (2013-10-16 14:20:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/26922004/1
7 years, 2 months ago (2013-10-16 14:20:58 UTC) #3
commit-bot: I haz the power
7 years, 2 months ago (2013-10-16 14:43:13 UTC) #4
Message was sent while issue was closed.
Change committed as 11807

Powered by Google App Engine
This is Rietveld 408576698