David Anderson
a7dbcdce91
Fix OpenGL mix-blending when the source alpha is 0. (bug 1281593 part 2, r=mstange)
2016-08-02 11:43:15 -07:00
Markus Stange
000c753119
Bug 1261166 - Add the ability to use IOSurface instead of texture upload on OS X. r=nical,mattwoodrow
...
Initial patch by Markus Stange, additional fixes by Kartikaya Gupta. The code
to use IOSurface is guarded by a pref that is disabled by default.
MozReview-Commit-ID: LbhsYu4zMRV
2016-06-27 11:25:13 -04:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Matt Woodrow
1190a416f9
Bug 1223736 - Part 3: Remove the distinction between 2d and 3d masks since it only adds complexity. r=Bas
2016-03-22 09:10:37 +13:00
Kartikaya Gupta
5e5d33d157
Bug 1240867 - Fix non-unified build bustage in OGLShaderProgram.cpp. r=nical
2016-01-20 09:58:17 -05:00
David Anderson
e900cb0f19
When mix-blending, only copy intersecting backdrop pixels. (bug 1235995 part 2, r=mattwoodrow)
2016-01-19 13:28:08 +07:00
David Anderson
ecd994e688
Add full mix-blend mode support to the OpenGL compositor. (bug 1235995 part 1, r=mstange)
2016-01-19 13:24:19 +07:00
Milan Sreckovic
8feec0d950
Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond
2015-10-28 14:31:00 +01:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Nicholas Nethercote
9b0389603b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
2015-09-24 19:24:16 -07:00
Ted Mielczarek
828976e47f
bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
2015-09-22 15:41:46 -04:00
Matt Woodrow
08ad0f20eb
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-10 22:04:26 +10:00
Wes Kocher
88bf1fe444
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
4f9bc62945
Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa
2015-08-03 17:57:33 -04:00
Birunthan Mohanathas
a29151dc87
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
Kearwood (Kip) Gilbert
47e5ded309
Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg
2014-12-17 16:28:45 -08:00
Jeff Muizelaar
90fb403980
Bug 1073036. Fix an assertion string that I forgot about.
2014-11-18 10:33:36 -05:00
Jeff Muizelaar
5f230c7e6b
Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
...
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.
2014-11-10 14:34:06 -05:00
Markus Stange
d35c0e34d4
Bug 1055646 - Allow setting the uniforms of the blur shader on ShaderProgramOGL. r=nical
2014-09-02 14:09:26 +02:00
Markus Stange
4df2032de2
Bug 1055646 - Fix a typo in the blur shader. r=nical
2014-09-02 14:09:21 +02:00
Jeff Muizelaar
46a8420ee3
Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
...
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Jeff Muizelaar
f432ffd566
Bug 1047507. Add a comment about keeping the KnownUniformName enum in sync.
2014-08-01 13:26:46 -04:00
Jeff Gilbert
8b4c5ea0cd
Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas
2014-07-02 17:48:18 -07:00
Andreas Gal
1e34d7f81c
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-29 10:19:37 -04:00
Andreas Gal
660a7b0b54
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-28 10:15:31 -04:00
Carsten "Tomcat" Book
6d6bf667c2
Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures
2014-05-23 10:37:03 +02:00
Andreas Gal
fbe199fc8d
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-23 06:10:51 +02:00
Andreas Gal
ac345f00e3
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 12:29:54 +02:00
Wes Kocher
55074a5f9e
Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
...
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Andreas Gal
246c89eac1
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-22 00:44:40 +02:00
Andreas Gal
cbc7bf2c41
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 00:23:18 +02:00
Andreas Gal
fcb1017120
Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas
2014-05-21 23:03:49 +02:00
Matt Woodrow
d626ae69d5
Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng
2014-05-09 22:06:18 +12:00
Morris Tseng
22b4f5f49d
Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal
2014-02-26 09:04:47 -05:00
Morris Tseng
cc3e76aa1d
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal
2013-11-07 22:22:05 -08:00
Vladimir Vukicevic
1577007cca
b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
3450acc2de
b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
8f3453c4a2
b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob
2014-01-29 17:53:37 -05:00
David Zbarsky
c8159d0d05
Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
Tor Arvid Lund
5f10fff80e
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Dan Glastonbury
322cce7ba6
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Nicholas Cameron
5388202b22
Bug 924403. Rename OGL shaders files. r=mattwoodrow
2013-11-27 11:15:17 +13:00