Commit Graph

458 Commits

Author SHA1 Message Date
Benoit Jacob
1744b25626 b=578164; better invalid enum messages; r=vladimir 2010-07-16 10:31:48 -04:00
Benoit Jacob
1cb4d4966e b=577016; Reject transpose; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
ed72295022 b=577013; Rework GetConcreteObject and friends, return INVALID_VALUE on unexpected null objects; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
0985b3872c b=578509; Update our copy of the WebGL conformance test suite to svn 11955; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
60151b43cf b=578769; handling of count==0 in drawArrays and drawElements; r=vladimir 2010-07-16 10:30:31 -04:00
Benoit Jacob
9c0a0aef33 b=578439; fix webgl quickstubs; r=vladimir 2010-07-16 10:30:31 -04:00
Robert O'Callahan
8e44ae607d Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats 2010-07-16 09:07:52 +12:00
Robert O'Callahan
a7c0fe60ac Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad 2010-07-16 09:07:46 +12:00
Ms2ger@gmail.com
3ce7f6d318 Bug 571532 - Remove support for ctx.globalCompositeOperation = 'darker'. r=vlad
--HG--
extra : rebase_source : 0d4c977df2d807642228c4ebeca567dd40beb09d
2010-07-15 10:12:34 +02:00
Vladimir Vukicevic
54ce864ca8 b=571172; disable ANGLE compilation on Linux-x86_64, until build slaves are fixed 2010-07-14 20:52:37 -07:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
timeless@mozdev.org
aa5018590a Bug 576360 WebGLContext::VertexAttribPointer compares WebGLuint stride < 0
r=vlad

--HG--
extra : rebase_source : 640274fe5267a4caa6cf68fb1e0c9dec96fb6fbd
2010-07-02 17:21:13 +03:00
Vladimir Vukicevic
009c726767 b=582407; generate new layer if webgl context is resized; r=bjacob 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Vladimir Vukicevic
bac000af87 b=580737; use correct webgl initial clear depth; r=bjacob 2010-07-21 12:34:26 -07:00
Markus Stange
deaa46fc54 Bug 572680 - Shuffle some gfx dependencies around. r=joe
--HG--
extra : rebase_source : 982a57f4466a69e6e6a2053794b6b09c2b470b12
2010-07-01 18:43:33 +02:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Benoit Jacob
b98f0a2f67 b=573705; support ImageData signatures of tex[Sub]Image2D; r=vladimir 2010-06-30 11:51:34 -04:00
Benoit Jacob
a5df0a74df b=573705; fix computation of texel sizes and refactor WebGLenum validation functions; r=vladimir 2010-06-30 11:49:59 -04:00
Benoit Jacob
f1886bd4e3 b=573541; More WebGLenum validation/fixes; r=vladimir 2010-06-30 11:48:30 -04:00
Oleg Romashin
6366a23349 Bug 575526 - NON-IPC build is broken in e10s branch r=joe 2010-06-29 10:47:32 -07:00
Jeff Muizelaar
a0f3acaf98 Backout f298567cdf2c. Causes problems on linux 2010-06-29 16:31:20 -04:00
Jeff Muizelaar
2db84a3a1a Bug 575347. canvas: remove unnecessary call to UpdateSurfaceClip(). r=vlad
UpdateSurfaceClip isn't really useful so we can save some time by not calling
UpdateSurfaceClip.
2010-06-29 13:58:20 -04:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Vladimir Vukicevic
8645026b0b Bug 572274 - Canvas memory usage in about:memory is incorrect. r=robarnold 2010-06-29 00:04:13 +02:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Oleg Romashin
a4467eb490 Bug 568632 - rename MozGetShmemContent to MozGetAsyncContext. r=joe 2010-06-08 13:27:24 -04:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Daniel Holbert
a7de49793d Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert
d37294426a Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Oleg Romashin
7a883a2803 Bug 548437 - Implement a SysV shared memory backend for Shmem and allow them to be used with Xshm. r=joe,sr=vladimir 2010-06-04 09:58:22 -04:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
timeless@mozdev.org
1c329f2e8b Bug 565393 useless initialization of src in WebGLContext::DOMElementToImageSurface. r=vlad
--HG--
extra : rebase_source : fb8c42a04580f12e5d1ca89dd67861f8a2941bc8
2010-05-23 15:36:14 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Jeff Walden
a8ac2fc31a Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Vladimir Vukicevic
16351c92d3 Some DEBUG_vladimir stuff needs to run on GLES2 only (npotb) 2010-05-19 13:47:13 -07:00
timeless@mozdev.org
85e0ab7b5b Bug 565620 the NativeJSContext constructor needs to initialize more variables or the class needs to be much more careful; r=vlad 2010-05-19 13:47:07 -07:00
Vladimir Vukicevic
3d7e2b9c24 b=566129; synthesize GL errors instead of throwing exceptions in webgl; based on patch from Cedric Vivier <cedricv@neonux.com>; r=cedricv/vlad 2010-05-15 21:55:45 +08:00
Cedric Vivier
bc9e088401 b=566676; allow null as arg to teximage2d; r=vlad 2010-05-19 13:46:08 -07:00
Vladimir Vukicevic
181dc2f7d0 b=561168, removed too much from the NotSupported webgl file, putting it back 2010-05-19 13:46:08 -07:00
Benoit Jacob
7dfee0fad7 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Cedric Vivier
2b3ba55c20 b=566126; allow readpixels on arbitrary sized non-default framebuffer; r=vlad 2010-05-15 20:07:30 +08:00
Benoit Jacob
fa00de0fa0 b=525540; crash at WebGLObjectRefPtr::Zero, part 2; r=vlad 2010-05-19 13:46:08 -07:00
Mark Steele
738beb395a b=525540; crash at WebGLObjectRefPtr::Zero; r=vlad 2010-05-19 13:46:08 -07:00
Benoit Jacob
d1897f81ce b=565998; allow passing 0x0 texture size to webgl; r=vlad 2010-05-19 13:46:08 -07:00
Robert O'Callahan
582ab69719 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Vladimir Vukicevic
95e7e122e9 [npotb] Import WebGL test suite into tree 2010-06-04 12:03:40 -07:00
Vladimir Vukicevic
91ce5fd2e9 b=569985; don't allow webgl objects from other contexts to be used; r=bjacob 2010-06-04 12:03:37 -07:00
Vladimir Vukicevic
d08e1c9cb9 b=569984; [webgl] verify shader attachment/detachment and program completeness; r=bjacob 2010-06-04 12:03:33 -07:00
Vladimir Vukicevic
b6f7fe7eae followup fix for when webgl is not supported; files removed, forgot to remove this (really not good at removals) 2010-05-18 10:08:40 -07:00
Vladimir Vukicevic
d91189d77c followup fix for when webgl is not supported; files removed, forgot to remove this 2010-05-18 10:07:43 -07:00
Vladimir Vukicevic
a1121cc3a2 b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
686ecf8d28 b=561168; convert canvas to use layers for rendering - file removals 2010-05-17 21:04:21 -07:00
Josh Matthews
1ce131d32a Bug 388569 - Memory leaks when calling nsVariant::GetAsInterface. r=benjamin
--HG--
extra : rebase_source : 4bcffd36a6fa65c9b4dbefff4bc810254c2a222c
2010-05-04 00:39:26 -04:00
Benoit Jacob
018563d74f fix build on windows (NS_IMETHODIMP--->nsresult, discussed with Bas on IRC #developers) 2010-06-19 11:25:42 -04:00
Benoit Jacob
f1bfcf8e35 b=570779; validate enums in blend functions; r=vladimir 2010-06-19 10:48:44 -04:00
Benoit Jacob
95bc657a6d b=572018; DOMElementToImageSurface: fix memleak and work in one pass; r=vladimir 2010-06-19 10:47:53 -04:00
Benoit Jacob
6c594ab3c3 b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir 2010-06-19 10:46:12 -04:00
Benoit Jacob
e605de34fb b=567499; fix getuniform for bool uniforms and return nsIVariant; r=vladimir 2010-06-19 10:43:40 -04:00
Benoit Jacob
e548bc3db5 b=567499; let getXxxParameter functions return nsIVariant; r=vladimir 2010-06-19 10:42:43 -04:00
Boris Zbarsky
037bfe5f69 Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad 2010-06-18 12:23:05 -04:00
Hanspeter Niederstrasser
a60247b2fc Fix for bug 557660 (WebGL interfaces are created even when MOZ_WEBGL unset). r=jst.
--HG--
extra : rebase_source : c9c67ac7ddff650869a0d68b4f9f2e5df9cfcc2f
2010-04-09 19:05:54 +02:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Daniel Holbert
899900c50a Bug 560378, Patch C: Make int<-->float conversions explicit to avoid MSVC compile warnings, in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:50:39 -07:00
Daniel Holbert
a695ddc7b3 Bug 560378, patch B: Use the correct version of delete[] in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:49:38 -07:00
Daniel Holbert
52559e4960 Bug 560378, Patch A: Use "!!" for converting int to bool, to avoid MSVC compile warning in nsCanvasRenderingContext2D.cpp. r=vlad 2010-04-20 11:48:29 -07:00
Chris Jones
1b1a244ef5 Fix merge bustage 2010-04-16 01:58:01 -05:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Oleg Romashin
baece4fff9 Bug 556850 - WebGL compilation busted for Qt builds. r=vladimir 2010-04-07 03:53:18 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Josh Matthews
b60190028f Bug 554835 - Build fixes for undefined MOZ_IPC. r=bnewman,joe 2010-03-25 12:10:14 -04:00
Josh Matthews
4b0e00f8b8 Bug 524180 - Fix non-MOZ_IPC build. r=joe 2010-03-24 18:27:08 -04:00
Vladimir Vukicevic
58b27f08d0 b=571287; let canvas participate in cycle collection; r=bz 2010-06-15 14:38:05 -07:00
Vladimir Vukicevic
4fc2ef05d4 webgl test suite update 2010-06-15 10:30:13 -07:00
Benoit Jacob
db543d277d b=571027; implement new PixelStorei parameters for textures; r=vladimir 2010-06-15 11:59:39 -04:00
Benoit Jacob
3e15743355 b=571027; implement new TexImage2D signatures; r=vladimir 2010-06-15 11:54:03 -04:00
Benoit Jacob
f0a49876fe b=571076; Implement GetAttachedShaders; r=vladimir 2010-06-15 11:49:34 -04:00
Benoit Jacob
0ff97eaf80 b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Benoit Jacob
d96d512c4a b=571028; remove GetString and merge into GetParameter as per the updated spec; r=vladimir 2010-06-11 17:45:40 -04:00
Benoit Jacob
ef65032a3c b=569714; Fix GetParameter and let it return nsIVariant; r=vladimir 2010-06-11 17:36:34 -04:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Phil Ringnalda
71bd192ba4 Correct spelling of recieve 2010-04-16 22:03:49 -07:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Doug Turner
5bc934713f Fix #ifndef MOZ_IPC bustage 2010-03-24 04:25:33 -07:00
Joe Drew
4a4ac6eb22 Bug 524180 - fire an event when async canvas draws finish. r=olli 2010-03-24 03:48:12 -07:00
Joe Drew
d4c42c1218 Bug 524180 - Implement async drawWindow/Element() using shared memory. r=cjones 2010-03-24 03:47:18 -07:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00