Commit Graph

3586 Commits

Author SHA1 Message Date
James Willcox
39bceadc21 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
9953e94be2 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal
5ce95a9e25 Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
Ryan VanderMeulen
88ac28dca2 Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
Sushil Chauhan
35ac903785 Bug 978341 - CompositorOGL::clearFBRect api needs to map the rect to OGL coordinates. r=jgilbert 2014-03-04 18:07:32 -08:00
snigdha
dde15b4b7a Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Carsten "Tomcat" Book
6969a9f3be merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
L. David Baron
365f5250f9 Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
4bc85751cb Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
Brian Birtles
2f7bcc48d5 Bug 972199 part 1 - Make SampleAnimations filter out animations that are yet to start; r=nrc
When restoring the refresh driver after testing we can arrive at a situation
where a layer has an animation that has yet to start. However, calling
ElementAnimations::GetPositionInIteration with a negative value from the
compositor thread is an error.

This patch detects animations on the compositor thread that are yet-to-start and
skips them when sampling. It also moves the activeAnimations = true line up as
otherwise we would need special logic to wake up the compositor after the delay
has finished.
2014-03-05 10:19:15 +09:00
Ryan VanderMeulen
ed45530108 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
Milan Sreckovic
d719a6c5a4 Bug 971943: 5. Add float support to gfxPrefs. apz.max_event_acceleration, apz.fling_friction, apz.fling_stopped_threshold, apz.max_velocity_queue_size, apz.max_velocity_pixels_per_ms preferences moved to gfxPrefs. r=kgupta. 2014-03-03 11:53:21 -05:00
Ed Morley
738f300f74 Merge latest green b2g-inbound changeset and mozilla-central 2014-03-03 14:45:43 +00:00
Thomas Zimmermann
f65815cf66 Bug 978086: Fix initialization order in LayerRenderState, r=nical
C++ requires constructors to initialize fields in the order of the
fields' definitions.
2014-03-03 09:15:00 +01:00
Matt Woodrow
412ca024cc Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical 2014-03-03 13:59:58 +13:00
Ryan VanderMeulen
93c5eb1160 Merge m-c to b2g-inbound. 2014-02-28 10:16:37 -05:00
Carsten "Tomcat" Book
67109b9a5c merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Ryan VanderMeulen
d8c7359358 Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Ryan VanderMeulen
47e286d04d Merge inbound to m-c. 2014-02-27 16:55:18 -05:00
Sotaro Ikeda
d4c5f44335 Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Sushil Chauhan
9058bca2dc Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron 2014-02-27 11:07:34 -08:00
Horia Iosif Olaru
c26db357b5 Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Benjamin Bouvier
7a3e028e1e Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
L. David Baron
83913734c9 Bug 978495: Initialize mozilla::layers::TextureClientX11::mLocked. r=nical 2014-03-02 10:29:06 -08:00
Carsten "Tomcat" Book
ac78ac1ab1 Merge mozilla-central to b2g-inbound 2014-02-27 15:59:39 +01:00
Sotaro Ikeda
1d7fd44c1a Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical 2014-02-27 06:40:48 -08:00
Phil Ringnalda
30526870e0 Merge m-c to m-i 2014-02-26 21:28:10 -08:00
Ryan VanderMeulen
14f5637c5f Backed out changeset 0569a8a2f83d (bug 958727) for causing performance regressions. 2014-02-26 20:48:41 -05:00
Sotaro Ikeda
3f742d24e6 Bug 977393 - Fix build failure on gonk KK r=pchang 2014-02-26 17:46:34 -08:00
Ryan VanderMeulen
973641573f Merge m-c to b2g-inbound. 2014-02-26 16:43:08 -05:00
Sotaro Ikeda
7792cdd77e Bug 976766 - Clear layer's buffers when ClearCachedResources() r=nical 2014-02-26 13:41:17 -08:00
Sotaro Ikeda
7cc924bfb0 Bug 974629 - Add pointer check to TextureClient::Finalize() r=nical 2014-02-26 13:34:41 -08:00
Morris Tseng
ec58a2b65a Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal 2014-02-26 09:04:47 -05:00
Carsten "Tomcat" Book
60446c5e55 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
3d4f8f1aaf merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +01:00
Benoit Jacob
1ecd039ca4 Bug 974356 - 4/4 - make CreateIPDLActor error out if TextureParent::Init() failed - r=nical 2014-02-25 08:12:50 -05:00
Benoit Jacob
5347606301 Bug 974356 - 3/4 - Make TextureHost::CreateIPDLActor check for bad MemoryTextures - r=nical 2014-02-25 08:12:49 -05:00
Benoit Jacob
5941604c55 Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical 2014-02-25 08:12:49 -05:00
Phil Ringnalda
761929bf63 Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
CLOSED TREE
2014-02-24 21:06:18 -08:00
Phil Ringnalda
e2d9d3bd7e Back out d0b4c5c28fb0 (bug 956993) for Android test failures
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox
6a8862bec2 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-02-27 20:48:38 -06:00
Matt Woodrow
541e0d0cbf Bug 970294 - Set our surface offset as a gfxContext device offset instead of a transform so that other callers don't accidentally overwrite it. r=nrc 2014-02-28 12:32:38 +13:00
Ryan VanderMeulen
af8c67273f Merge m-c to inbound on a CLOSED TREE. 2014-02-28 16:06:20 -05:00
Matt Woodrow
ec92f23916 Bug 971720 - Adjust the source pattern transform when masking with RotatedBuffer to take the mask transform into account. r=roc 2014-03-01 08:51:17 +13:00
Matt Woodrow
1916f43649 Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc 2014-03-01 08:49:05 +13:00
Milan Sreckovic
d10a7bc160 Bug 971943: 4. gfx.layerscope.port and gfx.layerscope.enabled moved to gfxPrefs. r=dglastonbury 2014-02-28 12:59:38 -05:00
Milan Sreckovic
588797fcdf Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280 2014-02-28 12:59:37 -05:00
Milan Sreckovic
e5117a25a9 Bug 971943: 1. Remove unused variable. r=me. 2014-02-28 12:59:35 -05:00
Sotaro Ikeda
616504a7bc Bug 975146 - Do not use hw composer for screenshot r=bas 2014-03-04 14:36:52 -08:00
Ben Kelly
672e111b8e Bug 977975: Improve composition thread warning debug. r=benwa 2014-03-04 14:41:24 -05:00