James Willcox
198cd2af56
Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow
2013-07-31 17:10:16 -04:00
Guillaume Abadie
d81c581c60
bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan
2013-07-30 15:58:17 -04:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Guillaume Abadie
22086cb170
bug 894007 - WebGLContext::getParameter(GL_MAX_TEXTURE_SIZE) should be a power of two - r=jgilbert
2013-07-30 11:07:04 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
97389b3a03
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
d170a8f396
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Guillaume Abadie
b788dccc0a
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Guillaume Abadie
ab3d3dc445
bug 896601 - WebGL draw commands overflow - r=bjacob
2013-07-25 13:15:24 -04:00
Ms2ger
10d5739f7a
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Boris Zbarsky
0314f249cd
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
7c21303600
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Guillaume Abadie
798df9c771
bug 896454 - WebGL Re-enable vertex array object - r=bjacob
2013-07-22 14:15:49 -04:00
Boris Zbarsky
cebee2f230
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Guillaume Abadie
b0b12d6e55
Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob
2013-07-19 12:53:54 -04:00
Ed Morley
8092f94cb6
Backed out changeset 8cc680bb6ba2 (bug 883364) for Android webgl failures on a CLOSED TREE
2013-07-19 14:43:34 +01:00
Ed Morley
ddd5af841a
Backed out changeset 0ad31c2bda31 (bug 883364)
2013-07-19 14:42:53 +01:00
James Willcox
fd0df37df5
Bug 891936 - Fix DrawWindow when used with SkiaGL r=mattwoodrow
2013-07-08 13:56:44 -04:00
James Willcox
3a6780ebb5
Bug 888445 - Only use SkiaGL canvas on NVIDIA r=bjacob
2013-06-28 15:59:44 -04:00
James Willcox
4b92bdf899
Bug 888446 - Add some fuzz to make Skia canvas pass on Android r=bjacob,gwright
2013-06-28 16:01:54 -04:00
Jeff Gilbert
00408f6475
Bug 883364 - WebGL reftests should fail gracefully, not time out. - r=dzbarsky
2013-07-18 15:48:06 -07:00
Jeff Gilbert
5c8986873c
Bug 883364 - Remove nogl tests from WebGL reftests. - r=dzbarsky
2013-07-18 15:48:05 -07:00
Guillaume Abadie
5d5eae3520
Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert
2013-07-18 11:24:23 -04:00
Guillaume Abadie
016c951407
Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert
2013-07-18 10:31:01 -04:00
Guillaume Abadie
2d5a0df8de
Bug 895010 - Disable vertex array object tests since the extension has been disabled. r=jrmuizel CLOSED TREE
2013-07-17 17:30:52 -04:00
Guillaume Abadie
df6d99edc9
Bug 895010 - Disable WebGL vertex array objects for now - r=jgilbert
...
--HG--
extra : rebase_source : 49a35c72470b1300a9f2b5267b88db195c4242df
2013-07-17 14:47:41 -04:00
Guillaume Abadie
858f79820b
Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert
2013-07-17 12:13:38 -04:00
Guillaume Abadie
09e5e38a50
Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert
2013-07-17 09:58:09 -04:00
Guillaume Abadie
b7de949bc4
Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert
2013-07-16 10:32:24 -04:00
Cameron McCormack
1588a3108f
Bug 888906 - Make drawWindow paint into an offscreen buffer sized according to the target's scale. r=mattwoodrow
2013-07-16 14:31:00 +10:00
Ryan VanderMeulen
6f98a7a79c
Backed out 3 changesets (bug 603488) for Windows reftest orange.
...
Backed out changeset f60f6c301670 (bug 603488)
Backed out changeset 80520a16d7f1 (bug 603488)
Backed out changeset eeed50e8e213 (bug 603488)
2013-07-15 15:50:26 -04:00
James Kolb
01d0dffd15
Bug 603488 - Part 2: Draw vector images using imgIContainer::Draw(). r=roc
2013-07-13 15:13:54 -04:00
Bob Clary
5f695a94bc
Bug 893617 - Add android.json manifest for Mochitest content/canvas tests, r=ted.
2013-07-15 07:16:34 -07:00
Guillaume Abadie
cade49496d
Bug 892769 - Fix a bug about fake black textures in WebGLContext. r=jgilbert
2013-07-12 09:54:59 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Jeff Gilbert
9a2ebe917e
Bug 881997 - Test to assure that conformance is only exposed on our conformant products. - r=dzbarsky
2013-07-11 14:12:32 -07:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ed Morley
f811790c24
Backed out changeset fbea533f8927 (bug 881997) for webgl conformance test failures
2013-07-10 09:18:26 +01:00
Jeff Gilbert
f25d5a50b8
Bug 881997 - Test to assure that conformance is only exposed on our conformant products. - r=dzbarsky
2013-07-09 17:46:25 -07:00
Ms2ger
6efec5035f
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Chris Lord
c2098e4465
Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
...
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
2013-07-04 14:53:35 +01:00
Jeff Gilbert
78938625f4
Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob
2013-07-03 12:53:22 -07:00
James Willcox
ef88089e2a
Bug 887901 - Limit number of GLContexts used with SkiaGL r=bjacob
2013-06-28 22:58:40 -04:00
James Willcox
d29eda0f64
Bug 885627 - Disable unimplemented canvas composition tests with SkiaGL r=gw280
2013-06-24 13:33:55 -04:00
James Willcox
998381af1b
Bug 885623 - Disable some gradient tests for SkiaGL r=gw280
2013-06-24 13:32:59 -04:00
Benoit Jacob
2647d72fc9
Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow
2013-06-16 22:07:18 -04:00
David Cook
ca8d229be9
Bug 890573 - Ignore webgl.disable-extensions for the chrome-only WEBGL_debug_renderer_info. r=jgilbert
2013-07-09 09:09:15 -04:00
Phil Ringnalda
c81f1a24d5
Backed out 43e688b70d84 (bug 843667) for compilation failures
...
CLOSED TREE
2013-07-02 14:30:20 -07:00
Benoit Jacob
c463688ab4
Bug 602183 - reenable point sprites on ATI drivers - r=jgilbert
2013-07-02 16:50:34 -04:00
Guillaume Abadie
ccb76e6652
bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob
2013-07-02 16:50:31 -04:00