Vladimir Vukicevic
535c23ba82
b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert
2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
69d8bb943a
b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert
2014-01-23 16:47:37 -05:00
Dan Glastonbury
b26469689a
Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob
2014-01-24 14:02:07 +10:00
Dan Glastonbury
ba7d298928
Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
...
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
d558316c2f
Bug 953221 - Minor erroneous complete check fails. r=bjacob
2014-01-24 13:59:33 +10:00
Dan Glastonbury
e0f24dd503
Bug 948002 - Add extra comments of meaning of GLenum to IsValidFBOXXX calls. r=jgilbert
2014-01-24 16:28:47 +10:00
Dan Glastonbury
b538dd25e8
Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
...
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.
With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
Dan Glastonbury
016e4967ac
Bug 948002 - Remove trailing whitespace. r=jgilbert
2014-01-24 13:52:33 +10:00
Dan Glastonbury
d72ea090c6
Bug 948002 - Add functions getExtensionWithKnownPrefixes and getSupportedExtensionWithKnownPrefixes to fix tests that fail to parse. r=bjacob, r=jgilbert
2014-01-10 12:23:56 +10:00
Masatoshi Kimura
6cde7484de
Bug 959958 - Implement ImageData constructor. r=bz
2014-01-28 22:04:40 +09:00
Dan Glastonbury
49ea89d9a9
Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert
2014-01-28 05:59:24 +09:00
Benoit Jacob
aebf0bb92a
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Boris Zbarsky
bd16624e1c
Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
...
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile. C++ strikes
again.
2014-01-22 14:37:10 -05:00
Jeff Gilbert
ece68b1952
Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury
2014-01-22 19:59:34 -08:00
Jeff Gilbert
49b5a372fe
Bug 962392 - Whitespace fixes. - r=dglastonbury
2014-01-22 19:59:33 -08:00
Wes Kocher
75665b3d7f
Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
...
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Boris Zbarsky
5052fd5d63
Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
...
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile. C++ strikes
again.
2014-01-22 14:37:10 -05:00
Ryan VanderMeulen
9ad7bf9573
Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
...
CLOSED TREE
2014-01-22 12:48:44 -05:00
Dan Glastonbury
734532e966
Bug 939117 - Don't reference NULL ptr. r=jgilbert
2014-01-20 14:13:23 +10:00
Dan Glastonbury
ff05196cac
Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert
2014-01-23 00:44:16 +09:00
Rik Cabanier
c57539e7dd
Bug 960195 - Put drawSystemFocusRing behind a new runtime flag. r=roc
2014-01-16 08:27:03 -05:00
Rik Cabanier
fa28a3ae4f
Bug 959820 - Rename drawSystemFocusRing to drawFocusIfNeeded. r=roc
...
--HG--
rename : content/canvas/test/reftest/drawSystemFocusRing-ref.html => content/canvas/test/reftest/drawFocusIfNeeded-ref.html
rename : content/canvas/test/reftest/drawSystemFocusRing.html => content/canvas/test/reftest/drawFocusIfNeeded.html
2014-01-15 09:50:31 -05:00
David Zbarsky
d70a5c056e
Bug 952977: Remove DocumentRendererShmem and DocumentRendererNativeID r=nical
2014-01-15 09:26:51 -05:00
James Kolb
4fdc9b95a2
Bug 603488 part 2: Draw vector images using imgIContainer::Draw() r=roc
...
--HG--
extra : rebase_source : 008db87e0322b9e7fa15e21b2b3e51b368225e58
2014-01-13 13:29:48 +13:00
Guillaume Abadie
f766dd3c2d
bug 958491 - Fixes bug in WebGLContext::GetFramebufferAttachmentParameter(gl.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING) when sRGB extension is not enabled - r=jgilbert
2014-01-10 22:42:09 +01:00
Benoit Jacob
f447d87c57
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
4374a80063
Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert
2014-01-10 13:55:24 -05:00
Benoit Jacob
f2062e25d7
Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
f02a9b87ea
Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
b05e26dc69
Bug 958369 - 1/5 - Make GLFeature a typed enum - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
bba51d87ca
Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert
2014-01-10 13:55:23 -05:00
Rik Cabanier
3d71fd9ff6
Bug 958232 - Remove incorrect use of setRect in drawCustomFocusRing. r=roc
2014-01-10 08:48:56 -05:00
Jeff Gilbert
71376fa894
Bug 933009 - Warn when drawing to a destination smaller than the viewport. r=bjacob
2014-01-10 08:41:04 -05:00
Jeff Gilbert
4e75895070
Bug 942951 - Add missing GL_RGB32F and GL_RBGA32F formats to WebGLContext::GetBitsPerTexel. r=bjacob
2014-01-10 08:08:37 -05:00
Ryan VanderMeulen
21178ccc2b
Bug 777574 - Skip quickCheckAPI-B2.html on Linux. r=bjacob
2014-01-06 15:24:25 -05:00
Ehsan Akhgari
2e67154d02
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Matt Woodrow
4d93bc9db0
Bug 940811 - Enable the gradient cache for canvas. r=Bas
2013-11-20 16:50:46 +13:00
Cameron McCormack
b3b6726cef
Bug 731271 - Part 2: Add new nsCSSValue units to store colors in their original syntactic form. r=dbaron
2013-09-16 09:35:48 +10:00
Cameron McCormack
e93885019c
Bug 731271 - Part 1: Rename eCSSUnit_Color to eCSSUnit_RGBAColor. r=dbaron
2013-09-16 09:35:48 +10:00
Nicholas Nethercote
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob
1c4c105204
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
bd21578d7f
Bug 877115 - some compilation fixes - no review, trivial build fix
2014-01-01 14:47:19 -05:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
David Zbarsky
de37e93bb2
Bug 952977: Use gfx::Matrix in ipdl r=nical
2013-12-26 13:06:53 -05:00
James Willcox
d1bcdbce0b
Bug 884226 - Add 'willReadFrequently' getContext() option for 2D canvas r=ehsan,gwright
2013-12-20 15:50:48 -06:00
Wes Kocher
5893105125
Backed out changeset 4330724d9e05 (bug 940811) for breaking builds
2013-12-19 19:46:54 -08:00
Matt Woodrow
73c6c76ff1
Bug 940811 - Enable the gradient cache for canvas. r=Bas
2013-11-20 16:50:46 +13:00