Matt Woodrow
21dfc3038b
Bug 1061525 - Part 4: Add an NV12 effect, and implement it for CompositorOGL. r=nical
2015-08-10 22:04:26 +10:00
Matt Woodrow
52b89d8a22
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-10 22:04:26 +10:00
Matt Woodrow
f76333ce62
Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel
2015-08-10 22:04:26 +10:00
Bas Schouten
6391b21503
Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow
2015-08-06 02:29:47 +00:00
JerryShih
fd2a1cc997
Bug 1186236 - Fix drawQuad culling bug. r=nical
...
Consider the render target size for drawQuad culling.
2015-08-04 03:16:00 -04:00
Wes Kocher
97d6f8f843
Backed out 6 changesets (bug 1061525) for mochitest-2 failures in test_BufferedSeek_mp4.html CLOSED TREE
...
Backed out changeset 5e90b9dab7fa (bug 1061525)
Backed out changeset ef5ce3d6412a (bug 1061525)
Backed out changeset 19c8682665a6 (bug 1061525)
Backed out changeset b48d13edb48d (bug 1061525)
Backed out changeset fae6602192a7 (bug 1061525)
Backed out changeset 5dfbd6e73c7a (bug 1061525)
2015-08-03 19:53:33 -07:00
Matt Woodrow
5892f1d11d
Bug 1061525 - Part 4: Add an NV12 effect, and implement it for CompositorOGL. r=nical
2015-08-03 17:57:39 -04:00
Matt Woodrow
5ae98d2956
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-03 17:57:33 -04:00
Matt Woodrow
a2e73f1554
Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel
2015-08-03 17:57:26 -04:00
CJ Ku
0c07d120c9
Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish
2015-08-03 02:11:00 -04:00
Benoit Girard
5fbe3fc17d
Bug 1072313 - Check for more leaks in the layers code. r=mstange
2015-07-29 11:57:03 -04:00
Sotaro Ikeda
8280d6a68e
Bug 1186264 - Add error check to GrallocTextureHostOGL::GetAsSurface() r=nical
2015-07-30 14:43:59 -07:00
Andrew Comminos
d6a26c241e
Bug 1187440 - Fix curly brace bustage in TextureHostOGL. CLOSED TREE
2015-07-30 10:13:00 -04:00
Andrew Comminos
3e4e803f91
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Andrew Comminos
694dd55a01
Bug 1184534 - Fetch viewport size from context in CompositorOGL, discard if changed during composition. r=nical
2015-07-30 12:39:32 -04:00
Matt Woodrow
6fa6ea7eec
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Wes Kocher
2d40eac90e
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
738c3246e7
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Vladimir Vukicevic
f997333a6f
Bug 1188700, [webvr] Fix VR distortion compositing in d3d11/gl to take into account rendertarget size and transform; r=kip
2015-07-29 14:39:47 -04:00
Vladimir Vukicevic
68637bd082
Bug 1179935, introduce complex viewport projections to Compositor, remove PrepareViewport; r=mstange
...
---
gfx/layers/Compositor.h | 10 ---
gfx/layers/basic/BasicCompositor.h | 2 -
gfx/layers/composite/TextureHost.h | 34 +++++++-
gfx/layers/d3d11/CompositorD3D11.cpp | 47 +++++++---
gfx/layers/d3d11/CompositorD3D11.h | 4 +-
gfx/layers/d3d9/CompositorD3D9.h | 2 +-
gfx/layers/opengl/CompositingRenderTargetOGL.cpp | 23 +++--
gfx/layers/opengl/CompositingRenderTargetOGL.h | 2 +
gfx/layers/opengl/CompositorOGL.cpp | 104 +++++++++++++----------
gfx/layers/opengl/CompositorOGL.h | 6 +-
10 files changed, 145 insertions(+), 89 deletions(-)
2015-05-19 13:51:26 -04:00
Bas Schouten
9c03d00213
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Ryan VanderMeulen
0aac8791a5
Backed out changeset adbd8a7608e4 (bug 1176363
) for mochitest-gl permacrashes.
2015-07-27 13:54:56 -04:00
Bas Schouten
ec0223aadb
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Sotaro Ikeda
8bceeda4bb
Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu
2015-07-24 10:56:05 -07:00
Kearwood (Kip) Gilbert
f78c0cd7bd
Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Sotaro Ikeda
f78df0a78c
Bug 1167799 part 2 - Add EGL_ANDROID_image_crop support r=nical,jgilbert
2015-07-19 16:03:10 -07:00
Sotaro Ikeda
d5d5192db9
Bug 1167799 part 1 - Remove size from NewSurfaceDescriptorGralloc r=nical
2015-07-19 16:02:51 -07:00
Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
6a4261c774
Bug 1143575. Factor out AsyncTransactionWaiter from AsyncTransactionTracker so we'll be able to wait for multiple AsyncTransactionTrackers. r=nical,sotaro
2015-05-12 15:36:49 +12:00
Robert O'Callahan
6d354c285e
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
2015-06-12 03:18:46 +12:00
Juan Gomez
01df2f691b
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ted Mielczarek
5e0260d69f
bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert
2015-05-11 15:10:06 -04:00
Nicolas Silva
9ca3827f59
Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa
2015-07-01 13:51:03 +02:00
Nathan Froyd
8780083336
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Ryan VanderMeulen
e6131fc8b8
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Wes Kocher
17eed9f7c2
Merge b2ginbound to central, a=merge
2015-06-09 19:25:38 -07:00
JerryShih
f1f794f19b
Bug 1170966 - Check quad's effective region before drawing. r=nical, a=me
2015-06-09 10:53:00 -04:00
Shelly Lin
0c646b32d4
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
2015-06-05 11:29:30 +08:00
Jeff Gilbert
9efc7525f7
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
8d606f367a
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
a930aa4fee
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Ryan VanderMeulen
768190b5f9
Backed out changeset 89807785d4d4 (bug 1170966) for OSX 10.10 reftest failures.
2015-06-05 11:12:09 -04:00
JerryShih
93397df80c
Bug 1170966 - check quad's effective region before drawing. r=nical
2015-06-03 08:04:00 +02:00
Amanda Sambath
1ec55c2ba1
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-06-03 13:45:24 +02:00
CJKu
c17301537d
Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris
2015-06-02 06:21:00 -04:00
Kearwood (Kip) Gilbert
d39978c3c1
Bug 766345 - Part 3 - Implement correct clipping of DEAA edges for quads that cross the w=0 plane (v3 Patch). r=vlad
...
- Use Matrix4x4::ProjectAndClipRect for accurate calculation of DEAA edge
line coefficients of quads clipped by the view frustum.
2015-05-08 11:21:45 -07:00
Kearwood (Kip) Gilbert
a1abfa3fe0
Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg
2014-12-17 16:28:45 -08:00
Amanda Sambath
707664d6bb
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Amanda Sambath
7dec0ef896
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-05-28 11:59:15 +02:00