Commit Graph

1921 Commits

Author SHA1 Message Date
Phil Ringnalda
20bd303063 Backed out changeset aadb205e7f05 (bug 881681) for Android Armv6 refteset-2 failures 2013-08-12 20:22:11 -07:00
Jeff Gilbert
d0eef8653e Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-12 16:49:10 -07:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nathan Froyd
3a9e74620d Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
Nathan Froyd
ff99c1babd Bug 901947 - part 0a - use fallible_t instead of std::nothrow in CanvasRenderingContext2D.cpp; r=smaug 2013-08-08 13:53:40 -04:00
Jeff Gilbert
ea5ae32727 Bug 883364 - Mark android 2.2 tests as random until we find why ARMv6 slaves fails to create webgl contexts. r=bjacob 2013-08-08 15:23:43 -07:00
Jeff Gilbert
8953ac16bd Bug 883364 - Fail on webgl failure instead of timing out in reftests. r=dzbarsky 2013-08-08 15:22:40 -07:00
Jeff Gilbert
449418f369 Bug 883364 - Remove &nogl tests from webgl reftests. r=dzbarsky 2013-08-08 15:21:57 -07:00
James Willcox
9dffd3edff Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow 2013-08-05 16:46:31 -04:00
James Willcox
33c8aceca1 Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow 2013-07-23 20:32:24 -04:00
Peter Chang
79e36b4849 Bug 902103 - [SkiaGL] Free Layer resource when CanvasContext got demoted. r=snorp, r=gw280
Set mResetLayer as true when CanvasContext got demoted to free the resource owned by CanvasLayer, like GLContext/GLScreenBuffer.
2013-08-07 22:07:17 +08:00
Ryan VanderMeulen
d955b9e8af Backed out 2 changesets (bug 902474, bug 902462) due to Android 4.0 crashtest timeouts.
Backed out changeset ecf856c21136 (bug 902474)
Backed out changeset 25c8d8674c1f (bug 902462)
2013-08-07 15:32:24 -04:00
James Willcox
eb5d7c6f13 Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow 2013-08-05 16:46:31 -04:00
George Wright
d973b8644d Bug 902470 - Re-enable the advanced compositing tests on Android/Gonk r=mattwoodrow 2013-07-25 17:20:45 -04:00
George Wright
1792298e24 Bug 897635 - Demote to software canvas if we use a non-standard composite mode r=mattwoodrow 2013-07-24 15:14:27 -04:00
James Willcox
2e7437c457 Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow 2013-07-23 20:32:24 -04:00
Guillaume Abadie
e4fe59d4e4 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Guillaume Abadie
5e549ecde2 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Guillaume Abadie
21cbc5cd18 Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob 2013-08-06 10:40:37 -04:00
Jeff Gilbert
805a44f76d Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob 2013-08-05 15:11:43 -07:00
Boris Zbarsky
cad540afeb 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
71a6b47923 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
5591788e33 bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert 2013-08-02 17:59:07 -04:00
Guillaume Abadie
cb08932f20 bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert 2013-08-01 22:18:07 -04:00
Mike Hommey
d01b5df996 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
ddbe219568 Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow 2013-07-31 17:10:16 -04:00
Guillaume Abadie
717b7365ad bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan 2013-07-30 15:58:17 -04:00
Ehsan Akhgari
5ee21d6d3f 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
fc19fe386a 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
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
David Zbarsky
32404ac8f6 Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz 2013-07-26 11:25:56 -07:00
David Zbarsky
7837d54bf0 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Guillaume Abadie
5fe5b14264 bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert 2013-07-25 20:38:58 -04:00
Guillaume Abadie
100b814fc3 bug 896601 - WebGL draw commands overflow - r=bjacob 2013-07-25 13:15:24 -04:00
Ms2ger
fb6790e6d8 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
c3d0e79b5c 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
cc66360dac 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
cdb6533e5c bug 896454 - WebGL Re-enable vertex array object - r=bjacob 2013-07-22 14:15:49 -04:00
Boris Zbarsky
12fbb7f6ba 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
ce9e52b804 Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob 2013-07-19 12:53:54 -04:00
Ed Morley
abf44e2e77 Backed out changeset 8cc680bb6ba2 (bug 883364) for Android webgl failures on a CLOSED TREE 2013-07-19 14:43:34 +01:00
Ed Morley
be310c2627 Backed out changeset 0ad31c2bda31 (bug 883364) 2013-07-19 14:42:53 +01:00
James Willcox
5b7b10478b Bug 891936 - Fix DrawWindow when used with SkiaGL r=mattwoodrow 2013-07-08 13:56:44 -04:00
James Willcox
5d2fe5dbb6 Bug 888445 - Only use SkiaGL canvas on NVIDIA r=bjacob 2013-06-28 15:59:44 -04:00
James Willcox
1561ddb942 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
87ad9e11eb Bug 883364 - WebGL reftests should fail gracefully, not time out. - r=dzbarsky 2013-07-18 15:48:06 -07:00
Jeff Gilbert
5e8ca01e6b Bug 883364 - Remove nogl tests from WebGL reftests. - r=dzbarsky 2013-07-18 15:48:05 -07:00
Guillaume Abadie
2f347c549e Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00
Guillaume Abadie
d85fccdc1d 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
ce4152f8b1 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