Commit Graph

2017 Commits

Author SHA1 Message Date
Christian Holler
2e51d9bc59 Bug 902132 - Disable WebGL gl-max-texture-dimensions test on Mesa. r=bjacob
--HG--
extra : rebase_source : 612e6de1a09be531e9ec05c57b696c7e6345f038
2013-08-14 15:54:02 +02:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Jeff Gilbert
61db9b490a Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-13 16:54:51 -07:00
Guillaume Abadie
25894203e2 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
James Willcox
c11ce45a79 Bug 902426 - Do not allow duplicate entries in the CRC2D demotion list r=mattwoodrow
--HG--
extra : rebase_source : c7c344f2b88065f46c06c99fa0bf868367b6b9ab
2013-08-09 17:19:21 -04:00
Phil Ringnalda
1f9cda0c10 Backed out changeset aadb205e7f05 (bug 881681) for Android Armv6 refteset-2 failures 2013-08-12 20:22:11 -07:00
Jeff Gilbert
6da4fca587 Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-12 16:49:10 -07:00
Trevor Saunders
99d8dc50c9 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nathan Froyd
0a89277437 Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
Nathan Froyd
dce6726880 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
c6053edf21 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
ea86dfa655 Bug 883364 - Fail on webgl failure instead of timing out in reftests. r=dzbarsky 2013-08-08 15:22:40 -07:00
Jeff Gilbert
6f6d79973e Bug 883364 - Remove &nogl tests from webgl reftests. r=dzbarsky 2013-08-08 15:21:57 -07:00
James Willcox
e417fac939 Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow 2013-08-05 16:46:31 -04:00
James Willcox
eaaf14d541 Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow 2013-07-23 20:32:24 -04:00
Peter Chang
0a23be6080 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
f2b8591e0b 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
0f71f4b6a0 Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow 2013-08-05 16:46:31 -04:00
George Wright
a0fef04cb0 Bug 902470 - Re-enable the advanced compositing tests on Android/Gonk r=mattwoodrow 2013-07-25 17:20:45 -04:00
George Wright
c013bf6394 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
292025f2d7 Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow 2013-07-23 20:32:24 -04:00
Guillaume Abadie
25e763c7a5 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Guillaume Abadie
78c2cdc107 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Guillaume Abadie
8ff9d594f1 Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob 2013-08-06 10:40:37 -04:00
Jeff Gilbert
4027f6fb8b Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob 2013-08-05 15:11:43 -07:00
Boris Zbarsky
bcd1523d40 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
fb6671743e 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
bb78d642db bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert 2013-08-02 17:59:07 -04:00
Guillaume Abadie
942e441e8a bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert 2013-08-01 22:18:07 -04:00
Mike Hommey
2e729aa83d 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
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