gecko-dev/gfx
Robert O'Callahan 39d3278ef9 Bug 1143575. Make GL context current before cleaning up programs. r=nical
Otherwise we can get a crash with the following stack:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 14711]
0x5d99974e in mozilla::gl::GLContext::BeforeGLCall (this=0x6dbf0800,
    funcName=0x60f251a4 <mozilla::gl::GLContext::raw_fDeleteProgram(unsigned int)::__PRETTY_FUNCTION__> "void mozilla::gl::GLContext::raw_fDeleteProgram(GLuint)") at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:683
683	        MOZ_ASSERT(IsCurrent());
(gdb) where
#0  0x5d99974e in mozilla::gl::GLContext::BeforeGLCall (this=0x6dbf0800,
    funcName=0x60f251a4 <mozilla::gl::GLContext::raw_fDeleteProgram(unsigned int)::__PRETTY_FUNCTION__> "void mozilla::gl::GLContext::raw_fDeleteProgram(GLuint)") at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:683
#1  0x5d99bed6 in mozilla::gl::GLContext::raw_fDeleteProgram (this=0x6dbf0800, program=210003)
    at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:2232
#2  0x5d99c10a in mozilla::gl::GLContext::fDeleteProgram (this=0x6dbf0800, program=210003)
    at /home/roc/mozilla-inbound/gfx/gl/GLContext.h:2270
#3  0x5daa0ae6 in mozilla::layers::ShaderProgramOGL::~ShaderProgramOGL (this=0x6d7df000, __in_chrg=<optimized out>)
    at /home/roc/mozilla-inbound/gfx/layers/opengl/OGLShaderProgram.cpp:491
#4  0x5da86bdc in mozilla::layers::CompositorOGL::CleanupResources (this=0x67ae4d70)
    at /home/roc/mozilla-inbound/gfx/layers/opengl/CompositorOGL.cpp:177

--HG--
extra : commitid : LPnSogXNNio
extra : rebase_source : 0564dd5688916271c4a709ae6f15ba7ad493a761
2015-06-12 03:18:46 +12:00
..
2d Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas 2015-07-06 22:46:00 +02:00
angle Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert 2015-06-09 14:41:03 -04:00
cairo Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar 2015-06-18 13:15:00 -04:00
doc Bug 1180322. Add a document describing the history of layers 2015-07-03 18:10:12 -04:00
docs Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00
gl Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
graphite2 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
harfbuzz Bug 1157758 - Update harfbuzz to pick up fix for vertical-upright Arabic script (non-)shaping behavior; now at upstream commit f724cc351640ee075a9867ef42df32cf5e0ef3b7. r=jdaggett 2015-05-11 06:58:21 +01:00
ipc Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
layers Bug 1143575. Make GL context current before cleaning up programs. r=nical 2015-06-12 03:18:46 +12:00
ots Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
qcms Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel 2015-06-04 19:30:52 -04:00
skia bug 1171642 - Disable some skia arm assembly for iOS. r=gw280 2015-06-15 11:47:43 -04:00
src Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
tests Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas 2015-07-06 22:46:00 +02:00
thebes Bug 1179049. Properly null check for draw target in box shadow code. r=mstange 2015-07-06 08:58:22 -07:00
vr Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
ycbcr bug 1174701 - Don't use NEON assembly for ARM iOS in gfx/ycbcr. r=jrmuizel 2015-03-17 14:22:03 -04:00
moz.build Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00