James Willcox
7a528d20d4
Bug 1213968 - Renew the surface on iOS when resuming the compositor r=kats
2015-10-28 14:10:28 -05:00
James Willcox
faa1a44adb
Bug 1208513 - Resurrect SharedSurface_GLTexture for use on iOS r=jgilbert
2015-10-28 14:10:25 -05:00
Sotaro Ikeda
d7e0a22d6a
Bug 1210182 - Implement GrallocTextureHostBasic r=nical
2015-10-26 22:43:07 -07:00
Sotaro Ikeda
29259a9e77
Bug 1215364 - Implement BasicCOmpositor::EndFrameForExternalComposition r=nical
2015-10-25 22:41:57 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
David Anderson
497eea35bc
Disable screen and multiply mix-blend-mode support in the D3D11 and OGL compositors. (bug 1135271, r=mattwoodrow)
2015-10-07 16:38:19 -07:00
Nicholas Nethercote
0f5722f4da
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
4fc2610c3c
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
David Anderson
3716363c72
Remove the static compositor backend variable. (bug 1211109 part 2, r=mattwoodrow)
2015-10-05 23:39:00 -07:00
Piotr Tworek
6a441f56a8
Bug 1209446 - Make sure mFrameInProgress flag is set to true only when we actually begin drawing new frame. r=nical
...
--HG--
extra : rebase_source : ebb7d61be07e6cd9f2bcd920e3987dca9ac8c358
2015-09-29 08:18:00 +02:00
Nicholas Nethercote
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Botond Ballo
1ebccfe52b
Bug 1206915 - Move dumping of compositor textures under its own environment variable. r=mattwoodrow
...
The rationale is that it's broken at least on some platforms (e.g.
TextureHost::GetAsSurface() is not implemented), and moving it under its own
environment variable allows us to use the client-side parts of paint dumping
without crashing while attempting to do the compositor-side parts.
--HG--
extra : source : 5b2f6ad05b647f3ef499074014522339f6c08efa
2015-09-21 18:27:27 -04:00
Kearwood (Kip) Gilbert
55533524b4
Bug 1207326 - Part 1: Correct projection clipping rectangle,r=matt.woodrow
...
- The clipping rectangle used in a call to Matrix4x4::TransformAndClipRect
within CompositorOGL::DrawQuad is now using mRenderBound, with an
offset applied consistent with use later in the function.
2015-09-25 13:43:52 -07:00
Matt Woodrow
c6cace0590
Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel
2015-09-24 18:33:59 -04:00
Ted Mielczarek
76da157ae2
bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
...
--HG--
extra : commitid : JADdinHiHj
extra : rebase_source : f83c3a6d1d6f02f7744e0751eebd4c80c24028d0
2015-09-22 15:41:46 -04:00
Nicolas Silva
953150ec3d
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Wes Kocher
c6aa53d157
Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE
2015-09-21 10:37:07 -07:00
Nicolas Silva
554272fa7f
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Phil Ringnalda
10cf9b120c
Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures
2015-09-17 20:30:09 -07:00
Matt Woodrow
f21e058613
Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel
2015-09-17 19:31:00 -04:00
Matt Woodrow
c7235f4a33
Bug 1203744 - Fix the SCREEN blend mode with CompositorOGL when the source data is unpremultiplied. r=dvander
...
--HG--
extra : rebase_source : 92ae508e7c7b6f483355791f9baa23643aad6c39
2015-09-14 14:17:39 -04:00
Kearwood (Kip) Gilbert
cbc7ba3ddb
Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
...
- Update callsites of Matrix4x4::TransformBounds to use
Matrix4x4::TransformAndClipBounds.
--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Andrew Comminos
da02cdcfee
Bug 788873 - Only rebind a GLXPixmap if the texture has changed. r=karlt
2015-08-26 23:46:33 -04:00
Andrew Comminos
07981e6605
Bug 1195110 - Check if GLContext is destroyed before freeing resources in CompositingRenderTargetOGL. r=jrmuizel
2015-08-18 20:03:04 -04:00
Matt Woodrow
72e07df2de
Bug 1192571 - Make sure we reparent all TextureSources when dragging a tab between windows. r=jrmuizel
2015-08-13 15:59:07 -04:00
Jerry Shih
c976708e51
Bug 1192192 - fix quad culling method. r=nical
...
--HG--
extra : histedit_source : 2a3cc12be6765576f55b659ca005814b960b6cf0
2015-08-13 08:22:58 -07:00
Sotaro Ikeda
163cac6110
Bug 1192352 - Fix fence handling of display mirroring r=nical
2015-08-13 06:52:49 -07:00
Matt Woodrow
92794eca74
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
4087f8188c
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-10 22:04:26 +10:00
Matt Woodrow
98a666796b
Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel
2015-08-10 22:04:26 +10:00
Bas Schouten
f99f040ff9
Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow
2015-08-06 02:29:47 +00:00
JerryShih
1f237a5ad2
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
b822a1fdfc
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
8e06ddd10e
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
b85c277659
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-03 17:57:33 -04:00
Matt Woodrow
8c9b1c60ba
Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel
2015-08-03 17:57:26 -04:00
CJ Ku
009a82453e
Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish
2015-08-03 02:11:00 -04:00
Benoit Girard
f8d5b33a49
Bug 1072313 - Check for more leaks in the layers code. r=mstange
...
--HG--
extra : commitid : EgwkF8ok3Nr
2015-07-29 11:57:03 -04:00
Sotaro Ikeda
9a1e9cd34d
Bug 1186264 - Add error check to GrallocTextureHostOGL::GetAsSurface() r=nical
2015-07-30 14:43:59 -07:00
Andrew Comminos
1996f64ab8
Bug 1187440 - Fix curly brace bustage in TextureHostOGL. CLOSED TREE
2015-07-30 10:13:00 -04:00
Andrew Comminos
f8f6b355a9
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Andrew Comminos
1de53abf46
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
d2d5e5b9a3
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
ec1078c65a
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
501c8bec02
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
0fbbbcc354
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
a0b4b85e51
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
1a51d15b0f
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Ryan VanderMeulen
e107ea6a37
Backed out changeset adbd8a7608e4 (bug 1176363
) for mochitest-gl permacrashes.
2015-07-27 13:54:56 -04:00
Bas Schouten
0bdd67bdd0
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Sotaro Ikeda
7905fa06eb
Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu
2015-07-24 10:56:05 -07:00
Kearwood (Kip) Gilbert
5b2ac66a0c
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
53a555bd72
Bug 1167799 part 2 - Add EGL_ANDROID_image_crop support r=nical,jgilbert
2015-07-19 16:03:10 -07:00
Sotaro Ikeda
18068f350e
Bug 1167799 part 1 - Remove size from NewSurfaceDescriptorGralloc r=nical
2015-07-19 16:02:51 -07:00
Birunthan Mohanathas
a8939590de
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
7f3db8a464
Bug 1143575. Factor out AsyncTransactionWaiter from AsyncTransactionTracker so we'll be able to wait for multiple AsyncTransactionTrackers. r=nical,sotaro
...
--HG--
extra : commitid : KV6Mne8t10A
extra : rebase_source : 02de1f49ce13465481cfa688b8867fc558cac474
2015-05-12 15:36:49 +12:00
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
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ted Mielczarek
f35ad89891
bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert
...
--HG--
extra : commitid : 6STxf0t6Ms0
extra : rebase_source : f1ea5351f66c79ebc717cc32bae8934f651802a6
2015-05-11 15:10:06 -04:00
Nicolas Silva
820e9182e7
Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa
2015-07-01 13:51:03 +02:00
Nathan Froyd
974d8120f2
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
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Wes Kocher
516ac5b38c
Merge b2ginbound to central, a=merge
2015-06-09 19:25:38 -07:00
JerryShih
379b1ccd1d
Bug 1170966 - Check quad's effective region before drawing. r=nical, a=me
2015-06-09 10:53:00 -04:00
Shelly Lin
fba7c0fcc2
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
...
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Jeff Gilbert
ee12c03986
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
77bc735a23
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
891a5c7f86
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Ryan VanderMeulen
5dbfe24c4c
Backed out changeset 89807785d4d4 (bug 1170966) for OSX 10.10 reftest failures.
2015-06-05 11:12:09 -04:00
JerryShih
9abcf66979
Bug 1170966 - check quad's effective region before drawing. r=nical
...
--HG--
extra : rebase_source : b86ad435e279070e4f685dc52b7e128f533832d9
2015-06-03 08:04:00 +02:00
Amanda Sambath
376d6d03c3
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-06-03 13:45:24 +02:00
CJKu
258c0473bf
Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris
...
--HG--
extra : rebase_source : 194e34332b84a984d4f6d7132e6807856952bbbe
2015-06-02 06:21:00 -04:00
Kearwood (Kip) Gilbert
4c0de7c81a
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
e25ede39ea
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
e5ab8210f6
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Amanda Sambath
7cade29011
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-05-28 11:59:15 +02:00
Wes Kocher
5ee1a8327e
Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange
...
--HG--
extra : amend_source : 79faafb4230715cf6af79b452d121d1e7b58e665
2015-05-28 17:08:53 -07:00
Jeff Gilbert
ec631286de
Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical
2015-05-28 14:51:39 -07:00
Jeremy Chen
dedec71f0f
Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro
2015-05-20 01:43:00 -04:00
Jeremy Chen
179b1de266
Bug 1155495 - Part 1: Remove TextureHostOGL and integrate the platform specific API into TextureHost. r=nical, r=sotaro
2015-05-22 02:25:00 -04:00
CJKu
1b6a5e265d
Bug 1163908 - Export GL draw data to layerscope for drawing heat-map view. r=:djg
2015-05-22 11:36:00 +02:00
Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Kan-Ru Chen
d41cac193c
Bug 1166649 - Fix GrallocTextureClient.cpp unified build bustage. r=nical
2015-05-20 02:40:00 -04:00
Ethan Lin
7980550521
Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro
...
--HG--
extra : rebase_source : 06a799fbabfccd00c4baf7b9d98c967b4432bb73
2015-05-13 01:42:00 +02:00
Ethan Lin
cdc345235c
Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro
...
--HG--
extra : rebase_source : cca9aa2fbb07f2c00741fb33ce33d7e2db1ba0f2
2015-05-13 00:37:00 +02:00
Ethan Lin
aac29696f5
Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro
...
--HG--
extra : rebase_source : 5e619c27d9157dcc379a7a3f721aa44aa7b42370
2015-05-13 00:36:00 +02:00
Sotaro Ikeda
59b114892e
Bug 1164513 - Add nullptr check r=milan
2015-05-14 12:09:18 -07:00
Thibaud Backenstrass
f8d4cbad76
Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical
2015-05-07 11:07:53 +02:00
Phil Ringnalda
24bb7f3b9f
Back out dc2fed1aa0af (bug 1144906) for ASan, Android debug, and OS X 10.10 mochitest-gl bustage
...
CLOSED TREE
2015-05-06 19:55:40 -07:00
Jeff Gilbert
b0077b976e
Bug 1144906 - Fast WebGL on E10S. - r=mattwoodrow,nical
2015-05-06 16:35:29 -07:00
Wes Kocher
b6f7abf05b
Backed out changeset 93af6e2a390d (bug 1144906) for build bustage
2015-05-06 16:01:47 -07:00
Jeff Gilbert
587246e6fd
Bug 1144906 - Support fast WebGL on E10S. - r=mattwoodrow,nical
2015-05-06 13:48:28 -07:00
Thibaud Backenstrass
f8fc65a155
Bug 1157661 - Fix a null-check in CompositorOGL::DrawQuad. r=nical
2015-05-05 18:31:41 +02:00
Ethan Lin
b6a9cb595a
Bug 1053563 - Use a static create function to replace InitWith for TextureClient. r=nical
2015-04-29 19:34:00 +02:00
Sotaro Ikeda
5879b59690
Bug 1152370 part 3 - Use DisplaySurface r=mwu
2015-04-23 06:49:40 -07:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Nicolas Silva
e887c595eb
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Sotaro Ikeda
053aaa45c3
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4
Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure
2015-04-17 12:04:55 +02:00
Ethan Lin
a837628695
Bug 1146214 - Implement fence delivery. Combine ipc messages and remove reply fence delivery message. r=nical
2015-04-10 02:19:00 +02:00
Sotaro Ikeda
7078be3faa
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-16 18:15:26 -07:00
Randall Barker
6c5b7174eb
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-10 22:14:00 -04:00
Sotaro Ikeda
a3181c2cc5
Backed out changeset 29d01ad10d0b (bug 1152135)
2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1a785adc42
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-12 11:23:46 -07:00
Jean-Yves Avenard
0448a403bf
Bug 1153469: Ensure IOSurface isn't released before being composited. r=mattwoodrow
2015-04-12 18:22:07 +10:00
Nicolas Silva
0b1f75bea0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Vladimir Vukicevic
1e5251137d
Bug 1148009; [webvr] Move distortion vertex struct into more generic system; r=jrmuizel
2015-04-01 16:02:20 -04:00
Nicolas Silva
52be9f47b5
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Nicolas Silva
5ea6c11e06
Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro
2015-03-27 11:16:34 +01:00
Nicolas Silva
da6cace77d
Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro
2015-03-27 11:16:18 +01:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Milan Sreckovic
76dd5cd892
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Sotaro Ikeda
737d6f9309
Bug 1125913 - Use GraphicBuffer::lockAsync() on gonk LL r=nical
2015-01-27 10:05:35 -08:00
Jeff Muizelaar
3402e21567
Bug 1125709. Avoiding using MacIOSurfaceTextureSourceOGL in MacIOSurfaceTextureHostOGL. r=nical
...
Using GLTextureSource gives us better performance because we don't need to call
CGLTexImageIOSurface2D everytime we draw.
This will eventually let us drop MacIOSurfaceTextureSourceOGL once WebGL on OS
X is using MacIOSurfaceTextureHostOGL.
--HG--
extra : rebase_source : 95a9b0888d7ddfeae520141e7f932f8555fa58d5
2015-01-19 21:23:42 -05:00
Wes Kocher
dd7ff05753
Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE
2015-01-26 18:57:36 -08:00
Jeff Gilbert
ebb432b53c
Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish
2015-01-26 17:18:45 -08:00
Benoit Girard
9b8c2dc37d
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Botond Ballo
e66b60d907
Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Nicholas Nethercote
b4adaf93a3
Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
...
--HG--
extra : rebase_source : 7df4840fb99dc025ee102d9697097caa4034fa6d
2015-01-05 15:54:51 -08:00
Ehsan Akhgari
b447c92ece
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Ethan Lin
945540c527
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Ryan VanderMeulen
b51b5f5601
Backed out changeset dd9790020b89 (bug 1042696) for B2G debug crashes.
2014-12-22 11:15:36 -05:00
Ethan Lin
81f7e51dc6
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Sotaro Ikeda
56f126bbf2
Bug 1113789 - Remove GrallocTextureSourceOGL r=nical
2014-12-22 06:28:07 -08:00
Benoit Girard
d74cb4fa05
Bug 1112476
- Support dumping texture data on the ClientLayerManager. r=mstange
...
--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
2014-12-18 13:32:45 -05:00
Vladimir Vukicevic
e80e04cd17
Bug 1036602 - Add GL support for VR rendering; r=BenWa
...
From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
gfx/layers/moz.build | 1 +
gfx/layers/opengl/CompositingRenderTargetOGL.h | 4 +
gfx/layers/opengl/CompositorOGL.cpp | 14 ++
gfx/layers/opengl/CompositorOGL.h | 38 +++
gfx/layers/opengl/CompositorOGLVR.cpp | 326 +++++++++++++++++++++++++
5 files changed, 383 insertions(+)
create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
2014-07-09 12:28:27 -07:00
Ryan VanderMeulen
4cfa23a95a
Merge m-c to fx-team. a=merge
2014-12-16 16:08:15 -05:00
Sotaro Ikeda
1247620b1d
Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical
2014-12-16 07:11:48 -08:00
Milan Sreckovic
f3bcc7c644
Bug 1110528 - Check for invalid surface before calling update. r=nical
...
CLOSED TREE
2014-12-12 14:56:06 -05:00
Botond Ballo
e7d866b934
Bug 1073081 - Fix an incorrect comparison between enums of different types. r=nical
...
--HG--
extra : source : 44eab86293d517ac52811441aab9fd857320743d
2014-11-24 20:00:40 -05:00
Gijs Kruitbosch
9e6206a1b5
Bug 1088588 - fix ifdef in X11TextureSourceOGL.cpp, patch by Dirk Mueller, r=nical
2014-10-29 21:42:44 +00:00
Benoit Girard
a8501f4185
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
Wes Kocher
99f09b4b90
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
0deff0ecd6
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
James Willcox
ff5ac4a822
Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
...
--HG--
extra : rebase_source : 8da8c1e9e5ded06c8735ee5d30f8333f829064c5
2014-11-26 15:16:07 -06:00
Benoit Girard
09a0591f64
Bug 1087530
- Part 2: Set OGL Scissor during mClearOnBind. r=jmuizel
2014-11-19 15:30:25 -05:00