-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
src/mbgl/gl/context.cpp
Outdated
vertexArray->deleteVertexArrays; | ||
// Blacklist Adreno 3xx as it crashes on glBuffer(Sub)Data | ||
const std::string renderer = reinterpret_cast<const char*>(glGetString(GL_RENDERER)); | ||
if (renderer.find("Adreno (TM) 3") != std::string::npos) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make part of this check static? Its called on every every call to Context::createVertexArray()
- Causes crashes on usage of glBuffer(Sub)Data
b0ba488
to
f5130ca
Compare
Tested with: LG G Pad 8.3 | Adreno 320 ✅ |
Android 5.0 Moto X (2nd gen) | Adreno 330
|
@Guardiola31337 Are you sure you tested with this branch? I tested all of these on the same device without issues |
@Guardiola31337 did some follow up tests with an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opensciencemap/vtm#52 seems to corroborate the diagnosis of a bug in Adreno 3xx drivers with glBufferSubData
and VAOs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retest every use case and not showing the crashes anymore.
It seems last time I tested them there was something cached...
Changes in the way we use vertex buffers introduced in #9009 causes crashes on usage of glBuffer(Sub)Data. This affects line placed text.
Relevant issues:
closes #10233