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

Issue 3043042: Check that IDirect3DVertexBuffer9 and IDirect3DIndexBuffer9::Lock succeed....

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

Description

Check that IDirect3DVertexBuffer9 and IDirect3DIndexBuffer9::Lock succeed. I've been seeing crashes like this on Windows XP: 0x013319aa [libglesv2.dll - memcpy.asm:188] memcpy 0x0130989a [libglesv2.dll - vertexdatamanager.cpp:164] gl::VertexDataManager::preRenderValidate(int,int,gl::TranslatedAttribute *) 0x01304f66 [libglesv2.dll - context.cpp:1996] gl::Context::applyVertexBuffer(unsigned int,int,int,bool *,gl::TranslatedIndexData *) 0x013061a7 [libglesv2.dll - context.cpp:2648] gl::Context::drawArrays(unsigned int,int,int) 0x012f7721 [libglesv2.dll - libglesv2.cpp:1741] glDrawArrays 0x01c54f1e [chrome.dll - gles2_cmd_decoder.cc:3179] gpu::gles2::GLES2DecoderImpl::DoDrawArrays(unsigned int,int,int) 0x01c59122 [chrome.dll - gles2_cmd_decoder_autogen.h:640] gpu::gles2::GLES2DecoderImpl::HandleDrawArrays(unsigned int,gpu::gles2::DrawArrays const &)

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -9 lines) Patch
M src/libGLESv2/geometry/IndexDataManager.cpp View 1 3 chunks +15 lines, -0 lines 0 comments Download
M src/libGLESv2/geometry/VertexDataManager.h View 1 chunk +1 line, -1 line 0 comments Download
M src/libGLESv2/geometry/VertexDataManager.cpp View 1 6 chunks +16 lines, -3 lines 0 comments Download
M src/libGLESv2/geometry/dx9.cpp View 1 5 chunks +30 lines, -5 lines 0 comments Download

Messages

Total messages: 4
apatrick1
Hi Daniel, I fixed some NULL dereference bugs that have been showing up on XP, ...
13 years, 7 months ago (2010-11-12 01:11:25 UTC) #1
dgkoch
We should either: - include an ERR trace in all the cases where we bail ...
13 years, 7 months ago (2010-11-12 16:45:25 UTC) #2
apatrick1
All done. Thanks, Al http://codereview.appspot.com/3043042/diff/1/src/libGLESv2/geometry/IndexDataManager.cpp File src/libGLESv2/geometry/IndexDataManager.cpp (right): http://codereview.appspot.com/3043042/diff/1/src/libGLESv2/geometry/IndexDataManager.cpp#newcode107 src/libGLESv2/geometry/IndexDataManager.cpp:107: { On 2010/11/12 16:45:26, dgkoch ...
13 years, 7 months ago (2010-11-15 20:52:11 UTC) #3
dgkoch
13 years, 7 months ago (2010-11-16 01:55:27 UTC) #4
LGTM

Daniel
Sign in to reply to this message.

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