Commit Graph

1904 Commits

Author SHA1 Message Date
Guillaume Abadie
aa8c3fc910 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Guillaume Abadie
071b088c2c Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob 2013-08-06 10:40:37 -04:00
Jeff Gilbert
6030e6834f Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob 2013-08-05 15:11:43 -07:00
Boris Zbarsky
82ba945cef Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
Jon Coppeard
da8c061053 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Guillaume Abadie
8ede98ec3d bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert 2013-08-02 17:59:07 -04:00
Guillaume Abadie
a74600c6cf bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert 2013-08-01 22:18:07 -04:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
James Willcox
be97cbc720 Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow 2013-07-31 17:10:16 -04:00
Guillaume Abadie
17868b9869 bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan 2013-07-30 15:58:17 -04:00
Ehsan Akhgari
085494b95d 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
76f5daf76f 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
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
David Zbarsky
6753f28dcc Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz 2013-07-26 11:25:56 -07:00
David Zbarsky
a4a3a95214 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Guillaume Abadie
1c838a60f4 bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert 2013-07-25 20:38:58 -04:00
Guillaume Abadie
17c8348d7a bug 896601 - WebGL draw commands overflow - r=bjacob 2013-07-25 13:15:24 -04:00
Ms2ger
7d7359c752 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
76a7d33bf7 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
4033000ea2 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
e6fff44d56 bug 896454 - WebGL Re-enable vertex array object - r=bjacob 2013-07-22 14:15:49 -04:00
Boris Zbarsky
a0654061a1 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
b85cdb7050 Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob 2013-07-19 12:53:54 -04:00
Ed Morley
4ab9f816bf Backed out changeset 8cc680bb6ba2 (bug 883364) for Android webgl failures on a CLOSED TREE 2013-07-19 14:43:34 +01:00
Ed Morley
9da83fc49e Backed out changeset 0ad31c2bda31 (bug 883364) 2013-07-19 14:42:53 +01:00
James Willcox
37c12131d0 Bug 891936 - Fix DrawWindow when used with SkiaGL r=mattwoodrow 2013-07-08 13:56:44 -04:00
James Willcox
934843accb Bug 888445 - Only use SkiaGL canvas on NVIDIA r=bjacob 2013-06-28 15:59:44 -04:00
James Willcox
da3063ec09 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
d12a00bc55 Bug 883364 - WebGL reftests should fail gracefully, not time out. - r=dzbarsky 2013-07-18 15:48:06 -07:00
Jeff Gilbert
e76e42da23 Bug 883364 - Remove nogl tests from WebGL reftests. - r=dzbarsky 2013-07-18 15:48:05 -07:00
Guillaume Abadie
bed7e23323 Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00
Guillaume Abadie
a5bc5abd02 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
d183a7547b 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
d15b6c0449 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
f11e4e269e 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
16e0f88f06 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
Guillaume Abadie
79fae3c7f5 Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert 2013-07-16 10:32:24 -04:00
Cameron McCormack
992138742b 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
b3e4a0fd80 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
824097167f Bug 603488 - Part 2: Draw vector images using imgIContainer::Draw(). r=roc 2013-07-13 15:13:54 -04:00
Bob Clary
fa39acaebb Bug 893617 - Add android.json manifest for Mochitest content/canvas tests, r=ted. 2013-07-15 07:16:34 -07:00
Guillaume Abadie
3181ff1886 Bug 892769 - Fix a bug about fake black textures in WebGLContext. r=jgilbert 2013-07-12 09:54:59 -04:00
Trevor Saunders
238525e2d8 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
8f0797d002 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
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ed Morley
97d31b0093 Backed out changeset fbea533f8927 (bug 881997) for webgl conformance test failures 2013-07-10 09:18:26 +01:00
Jeff Gilbert
3312535c9d 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
8706c8cbac Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Chris Lord
41184ad774 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
50c144b3da Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob 2013-07-03 12:53:22 -07:00