Commit Graph

400 Commits

Author SHA1 Message Date
Jeff Gilbert
554c1772a5 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-06-02 14:40:15 -07:00
Ryan VanderMeulen
059f189910 Backed out changeset 441137505200 (bug 980178) for causing various TBPL crashes. 2014-05-29 14:33:28 -04:00
Jeff Muizelaar
9d9179802f Bug 1014209. Only call DrawBuffers if necessary. r=jgilbert
DrawBuffers seems to cause a flush on the adreno 300 so we
only want to do it if we need to.
2014-05-28 13:57:13 -04:00
Jeff Gilbert
42d5c29474 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-27 20:01:33 -07:00
Jeff Gilbert
d0ed462277 Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish
* * *
Bug 980178 - Dither default is true. - r=kamidphish
2014-05-21 19:03:09 -07:00
Benoit Jacob
e89dc5d4c9 Bug 987010 - Fix the way that the presence of an alpha channel on a canvas drawing buffer is propagated - r=jrmuizel 2014-05-14 12:26:13 -04:00
Matt Woodrow
ffbba43832 Bug 1006198 - Use Moz2D for WebGL snapshot readback. r=jgilbert 2014-05-13 14:20:26 +12:00
Wes Kocher
f458fb5d5d Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow
557b19be41 Bug 1006198 - Use Moz2D for WebGL snapshot readback. r=jgilbert 2014-05-13 14:20:26 +12:00
Wes Kocher
e2db05ab84 Backed out changeset 4dc29fc7b91a (bug 1004309) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:40 -07:00
Wes Kocher
566b13b85b Backed out changeset 350f36f463d5 (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:08 -07:00
Wes Kocher
028d03e735 Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:10:30 -07:00
Jeff Gilbert
4585817fa6 Bug 980178 - Remove printfs. - r=kamidphish 2014-05-12 17:58:57 -07:00
Jeff Gilbert
cd0c05f53c Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-12 17:56:31 -07:00
Jeff Gilbert
ccbaf0a451 Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish 2014-05-12 17:42:58 -07:00
Wes Kocher
e739b00982 Backed out changeset 1efb117b969c (bug 1004309) for build bustage on a CLOSED TREE 2014-05-01 14:49:41 -07:00
Jeff Gilbert
4d810c71bd Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish 2014-05-01 14:20:14 -07:00
Jeff Gilbert
fce42b593e Bug 978407 - Static constants should have 'k' prefix. - r=kamidphish 2014-04-30 14:30:23 -07:00
Birunthan Mohanathas
80da21dedb Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Benoit Jacob
065c46bd6f Bug 989325 - Make WebGLExtensionID a typed enum, and WebGLContext::mExtensions an enumerated array - r=jgilbert 2014-04-25 22:34:07 -04:00
Jeff Gilbert
b907ee022e Bug 996269 - Lazily clear the WebGL backbuffer. - r=kamidphish 2014-04-17 13:15:41 -07:00
Jonathan Watt
cc5c8ff0dc Bug 991572 - Stop creating a Thebes backed gfxContext in CanvasRenderingContext2D.cpp, and kill off nsICanvasRenderingContextInternal::GetThebesSurface. r=mattwoodrow 2014-04-17 22:13:34 +12:00
Matt Woodrow
30f65e3cc3 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
0bf873e24d Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Carsten "Tomcat" Book
35c906cff6 Backed out changeset ce1fe33d58a0 (bug 997014) for mochitest m-1 orange on a CLOSED TREE 2014-04-17 08:44:04 +02:00
Carsten "Tomcat" Book
e0251f4acb Backed out changeset 8681fc7a918b (bug 997014) 2014-04-17 08:43:38 +02:00
Matt Woodrow
efb62922b5 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
3c93570e0d Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Dan Glastonbury
a6163d0821 Bug 982464 - Disable extension functionality after a context lost happens. r=jgilbert 2014-03-12 12:51:39 +10:00
Jeff Gilbert
7aeaf1e88f Bug 978418 - Split GetError flags for WebGL. - r=kamidphish 2014-03-07 13:16:34 -08:00
Dan Glastonbury
c62cc5806b Bug 966624 - Refactor Tex Image checks. r=jgilbert 2014-02-20 20:20:28 -05:00
guozhu cheng
7cde7c73c3 Bug 927969 - Disable extensions when the WebGL context is lost. r=bjacob 2013-11-05 17:35:50 +08:00
Dan Glastonbury
4086562d80 Bug 953221 - Minor erroneous complete check fails. r=bjacob 2014-01-24 13:59:33 +10:00
Benoit Jacob
981c6431d3 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
Benoit Jacob
d1458b6337 Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert 2014-01-10 13:55:24 -05:00
Benoit Jacob
0061fc3d55 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
685a9f25c6 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
Jeff Gilbert
bef4e5a4a1 Bug 933009 - Warn when drawing to a destination smaller than the viewport. r=bjacob 2014-01-10 08:41:04 -05:00
Ehsan Akhgari
eaa7491d77 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
Benoit Jacob
47e5f6dc26 Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert 2014-01-02 10:17:29 -05:00
Benoit Jacob
9a53357c9c Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Trevor Saunders
c2b2fcd3d4 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Dan Glastonbury
3fd4360014 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Nicholas Nethercote
c1d4029597 Bug 936964 (part 6, attempt 2) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : a1acb54039e2273319d91cf705fb2a0b3eaa068c
2013-11-25 16:03:38 -08:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
0b49067039 Bug 936964 (part 6) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 7a215cf3dbcf0b78f8ab823828360dd0cfba26d3
2013-11-25 16:03:38 -08:00
Benoit Jacob
20940c8f1f Bug 938411 - Check for lost context in PresentScreenBuffer - r=jgilbert 2013-11-23 21:21:45 -05:00
Nathan Froyd
4b14bb683e Bug 938702 - check for a valid encoding before creating an input stream in canvas code; r=smaug 2013-11-20 19:55:53 -05:00
Nathan Froyd
c63b55e8d9 Bug 938612 - ensure the image buffers for canvases are freed; r=smaug
Landing this on a CLOSED TREE
2013-11-14 11:15:48 -05:00
Jeff Gilbert
f22901a7a1 Bug 924241 - Don't force-present after post-resize clear. r=bjacob 2013-10-31 09:52:24 -04:00