DescriptionFix crashes when loading gles2.cc on browser startup, and during playback.
Startup crash was being caused by deleting the Context3D object out from under a
running OmxVideoDecodeAccelerator, which would trigger a SEGV in the GPU
process, which would cause a Graphics3DContextLost callback to be fired on the
plugin, which is implemented as an assert(false). The delete that kicked all
this off was not actually necessary, so removed it.
During-playback crash was being caused by a lack of synchronization between the
GPU command buffer mechanism and the PPAPI impl IPC mechanism (triggered much
more commonly in DEBUG mode, which explains why these weren't seen so much
before).
While debugging this cleaned up and documented some of the bogusity I found that
I didn't want to clean all in one CL:
- Emit type of unhandled message in GpuChannel, and document TODO to fix poor
code structure that confused me.
- Emit EGL error code on CHECK-failures in EGL<->GLES translator.
- Simplify GpuVideoService a bit and remove redundant map lookups.
- Fix ppapi_tests.gypi: my r89636 was too ambitious and ran into the limits of
my understanding of .gyp. This version is less factored but has the benefit
of producing actually-working example plugins.
BUG=none
TEST=manually running gles2.{html,cc} works every time. No crashes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89775
Patch Set 1 : . #
Total comments: 7
Patch Set 2 : . #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|