Matt Brubeck
f2cba5adcb
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Rafael Ávila de Espíndola
92df261412
Bug 677648 - Change the type of the 'advance' variable in gfxTextRun::AdjustAdvancesForSyntheticBold, to allow using it to initialize the mAdvance field of DetailedGlyph using clang in c++0x mode; r=roc
2011-08-11 15:40:59 +02:00
Mounir Lamouri
8b3a5c07fb
Merging mozilla-inbound into mozilla-central.
2011-08-11 13:08:47 +02:00
Benoit Jacob
c3bf80c8aa
Bug 676315 - ANGLE build problem: d3dx9.h not found unless $DXSDK_DIR points to it - r=joe
...
In configure, we detect the DXSDK using the windows registry and set MOZ_DIRECTX_SDK_PATH accordingly. This patch fixes a bug whereby we weren't using that to actually find headers, and were relying on the half-universal DXSDK_DIR variable instead, which is not always defined and in case of multiple versions installed may not point to the most recent one.
2011-08-10 18:25:23 -04:00
Rafael Ávila de Espíndola
9ca4b64c4b
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Robert O'Callahan
5d0f7c6076
Bug 657401. Ensure that when our double-buffering logic expects layers to clip to their visible regions, we actually do. r=tnikkel
...
--HG--
extra : rebase_source : 16ea17d5a6a0177a26a3d38ae587290e194234b1
2011-08-12 10:44:50 +12:00
Robert O'Callahan
8453430402
Bug 677095. Compute reasonable destination alpha values with component-alpha blending in D3D10. r=bas
...
--HG--
extra : rebase_source : b0264c52df9a37334d9524e1fdd1f15e4e4df866
2011-08-12 10:40:39 +12:00
Jeff Muizelaar
98172b4cb6
Bug 671428. cairo: Crash even earlier to try to figure out what went wrong with the image surface. r=bjacob
...
--HG--
extra : rebase_source : 42891c468199c1ae8a2bae09e00c1f4d2f55df9b
2011-08-10 19:34:18 -04:00
Rafael Ávila de Espíndola
4480ce9030
Bug 678022: Fix build with clang and c++0x. In c++0x one cannot use -1 in a position in an initializer list that is unsigned. Use UINT_MAX instead. r=roc
2011-08-10 16:09:22 -04:00
Mounir Lamouri
f03780250a
Merging mozilla-central into mozilla-inbound.
2011-08-11 13:09:54 +02:00
Makoto Kato
bcce667983
Bug 616918 - Turn on ANGLE on Win64. r=bjacob
2011-08-11 19:17:54 +09:00
Benoit Jacob
78960e0532
Bug 673075 - import ANGLE r711 - r=upstream
...
This lets ANGLE reject shaders that have recursive functions.
2011-08-15 15:54:25 -04:00
Benoit Jacob
32d2e69807
Bug 676918 - import ANGLE r719 - r=upstream
...
This fixes a crash in glReadPixels in some unusual circumstances like after locking and unlocking the screen.
2011-08-15 15:53:46 -04:00
Benoit Jacob
b097dfda2f
Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe
2011-08-15 15:53:02 -04:00
Benoit Girard
d3e424a1a7
Bug 677699 - TiledTextureImage::GetTileRect() computes the wrong offset; r=heeen
...
--HG--
extra : rebase_source : 01fb1f2f4044332f2d15fc197a573c40b59f2e10
2011-08-09 14:41:27 -07:00
Chris Jones
02362cc047
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
9003c2c033
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-08-09 12:38:26 -07:00
Chris Jones
cf90535cbd
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
df81c875f3
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
cfdff93df0
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
d5c4f07060
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
e119678c6c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
c55298d9ae
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
453f918565
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
12b80c293a
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
a3317162ef
Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-08-09 12:38:26 -07:00
Chris Jones
8786c55e3f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Chris Jones
fe42f83e74
Bug 648484, part 1: Fix some warning spam. r=roc
2011-08-09 12:38:26 -07:00
Florian Haenel
c543f5d68b
Bug 669602 - Fennec/OGL: Paint Artifacts on chrome pages background after scrolling. r=joe,roc
2011-08-09 11:38:05 -04:00
Jonathan Kew
3468d6f6ed
bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett
2011-08-09 09:06:01 +01:00
Jonathan Kew
cf6ef49886
bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett
2011-08-09 09:00:52 +01:00
Benoit Girard
13e2f34b00
Bug 685694 - Don't use glDrawBuffer in GLES2. r=matt.woodrow
2011-09-08 14:21:36 -07:00
Atul Aggarwal
622e043b51
Bug 678785 - resource leak (not closed directory) in gfx/thebes/gfxFT2FontList.cpp. r=jdaggett
2011-09-02 02:22:28 +05:30
Benoit Girard
4c0174ebcb
Bug 683514 - [backout] Add support for the GL_EXT_unpack_subimage extension. r=backout;
...
--HG--
extra : rebase_source : 23710be7f1e2376eb21fb5f6f208ef167f77ef1e
2011-09-07 17:33:56 -04:00
Benoit Girard
ccdacc69a0
Bug 681333 - Check MakeCurrent return code on init; r=jmuizelaar
2011-08-31 07:27:05 -07:00
Atul Aggarwal
3360aa4b4c
Bug 679618 - Uninitialized memory in gfx/2d/SourceSurfaceCG.cpp; r=jmuizelaar
2011-08-31 13:16:12 +01:00
Jeff Walden
49d1d5ab36
Bug 676738 - Change the index argument to JS_DefineElement from jsint to uint32. r=jst, r=dmandelin
...
--HG--
extra : rebase_source : d0e3be27e3f0cf022eea21805923c2f4736a36ca
2011-08-04 19:39:12 -07:00
Jeff Muizelaar
7cb83bc84a
Bug 676747. qcms: Fix a warning about using the wrong function type. r=bgirard
...
--HG--
extra : rebase_source : 177b781ea8f8cc350283bd082cbd3600433c3f82
2011-08-05 09:49:45 -04:00
Jeff Muizelaar
e741cc4d8a
Bug 671428. cairo: try to crash earlier and record some stuff about the crash. r=joe.
2011-08-04 16:30:51 -04:00
Matt Woodrow
ca6f9b4c50
No Bug - Fix Maemo/Qt bustage by only referencing GLXPixmap on GTK2. r=roc
2011-08-05 15:10:47 +12:00
Matt Woodrow
343093175d
Bug 675073 - Release OpenGL textures with the global context if the creating context has been destroyed. r=joe
2011-08-05 13:13:25 +12:00
Matt Woodrow
6b3e01d5ec
Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc
2011-08-05 13:13:25 +12:00
Jim Chen
7cbd23a51a
Bug 674806 - a. Include cast in compound literal expression. r=blassey
2011-08-04 15:01:47 -07:00
Justin Lebar
51d9635f4a
Bug 664659 - Fix about:memory image reporters. r=joe
...
--HG--
extra : rebase_source : 489def10afa7f9a33e988d9fc78acdb50e450817
2011-07-18 09:20:27 -04:00
Robert Sesek
6a70e0ff21
Bug 448168 - Apply |s/entires/entries/g|; r=roc
2011-08-04 09:04:29 +02:00
Ali Juma
6224d810fd
Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow
2011-08-03 23:18:31 -04:00
Marco Bonardo
b92ca56a08
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Matt Woodrow
62d1425e0b
Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc
2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
ed6a68e2ae
Bug 505115 - Part 8b - Add 3D Point support, and ray tracing to gfx3DMatrix. r=bjacob, sr=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
9486dc0d39
Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
cd05bbfd33
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Matt Brubeck
96deef1828
Bug 669851 - Update reftest annotations for tests that no longer have Android-specific failures
2011-08-02 19:57:42 -07:00
Benoit Jacob
c3d59e565c
Bug 675634 - import ANGLE r712 - r=upstream
2011-08-02 18:06:25 -04:00
Benoit Jacob
d624db447b
Bug 675625 - limit GLSL identifiers to 250 characters to work around a NVIDIA bug - r=jrmuizel
2011-08-02 18:06:25 -04:00
Marco Bonardo
99ffcc6359
Backout changeset 984e656becec (Bug 664659) due to regressions in Tp5 XRES and RSS.
2011-08-01 10:20:18 +02:00
Mike Hommey
d1ce73f80c
Bug 654049 - Use global optimization flags for jemalloc, cairo, pixman and sqlite. r=ted
2011-07-21 08:32:23 +02:00
Brad Lassey
b355e967d6
bug 636042 - All fonts are serif, follow up to fix build warning r=jdaggett
2011-07-29 21:44:32 -04:00
Walter Meinl
1a962a5ab4
Bug672951 [OS/2] follow-up for bug668758 r=dragtext
2011-07-31 14:05:14 -07:00
Walter Meinl
28228f2ee2
Bug672959 [OS/2] follow-up to bug467669 r=dragtext
2011-07-31 14:00:13 -07:00
Justin Lebar
816e51259b
Bug 664659 - Fix about:memory image reporters. r=joe
2011-07-18 09:20:27 -04:00
Marco Bonardo
b818d65b85
Merge mozilla-central and mozilla-inbound
2011-07-29 13:46:15 +02:00
Marco Bonardo
394c34977d
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-29 11:48:24 +02:00
Benoit Jacob
2bc65bec27
Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
...
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Jeffrey Gilbert
a50f06d79d
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Ehsan Akhgari
b9380105e9
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-28 10:37:23 -04:00
Benoit Jacob
06db157d33
Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
...
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Scott Ruff
a1835137c8
Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar
2011-07-27 13:00:17 +02:00
Michael Wu
6a28121ce1
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Michael Wu
3d255259df
Bug 668133 - Add telemetry probes for font enumeration, r=jtd
2011-07-26 23:42:53 -07:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Brad Lassey
fabf4f3f9a
bug 636042 - All fonts are serif, give preference to stock android fonts r=jdaggett
2011-07-28 01:28:43 -04:00
Benoit Girard
378a10a454
Bug 674230 - Rename qcms pref; r=jmuizelaar
2011-07-27 16:09:27 -04:00
Joe Drew
769a87995c
Bug 660090 - EGL: Track creation/allocation/valid status of textures; r=florian.haenel,romaxa
2011-07-26 13:52:03 -07:00
Joe Drew
c72fce6b51
Bug 660090 - EGL: Allocate Texture in Constructor; r=florian.haenel,romaxa
2011-07-26 13:51:56 -07:00
Benoit Girard
fa00069d9c
Bug 674230 - Add 'Add gfx.color_management.force_v4' pref; r=jmuizelaar
2011-07-27 13:56:22 -04:00
Benoit Girard
3cde961989
Bug 674230 - Merge from qcms github branch v4; r=jmuizelaar
2011-07-27 10:11:19 -04:00
Daniel Holbert
95e333a50a
Merge last green mozilla-central changeset to mozilla-inbound
2011-07-28 14:53:21 -07:00
Jeff Muizelaar
783a3434f0
Bug 674003. D2D: Fix premultiplying to only premultiply the color components. r=bjacob
...
We were accidentally squaring alpha this caused our surface to end up with superluminescent values.
Fix this by only multiplying alpha with the color componenets and not itself.
2011-07-28 16:31:28 -04:00
Chris Lord
0d59203155
Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar]
2011-07-07 03:08:00 -07:00
Ed Morley
08c695d2ea
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
4b39be95e2
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ehsan Akhgari
0742b4d4cd
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-26 14:03:34 -04:00
Benoit Jacob
002ad973d9
Bug 646825 - import ANGLE r702 - r=upstream
2011-07-26 11:53:47 -04:00
Paul ADENOT
a09cf85d8c
Bug 634997 - no synthetic bolding on Android. r=jdaggett
2011-07-26 10:04:55 -04:00
Marco Castelluccio
6e58070f5f
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Josh Matthews
67d4a7782c
Bug 671960 - Prevent calling cairo functions on invalid surfaces through gfxASurface. r=joe,dougt,jmuizelaar
2011-07-21 20:41:39 -07:00
Matt Woodrow
ba6834dec3
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 19:32:56 +12:00
Matt Woodrow
071b50617b
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
0b746c54ed
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 12:50:00 +12:00
Matt Woodrow
0be3a56574
Bug 505115 - Part 4 - Add a lot of new functionality to gfx3DMatrix. r=jrmuizel
2011-07-23 10:28:33 +12:00
Matt Woodrow
f00688318f
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Steven Michaud
d922d20572
Bug 671064 - Work around bug in Cairo 1.10 that causes Print Preview to crash. r=jmuizelaar
2011-08-02 12:30:42 +02:00
Jonathan Kew
f6edd66077
bug 671385 - restore the recursive application of ForEachFontInternal to font names from preferences, to avoid breaking Fontconfig generics. r=jdaggett
2011-07-26 10:50:14 +01:00
Jonathan Kew
15cc1d8920
bug 672955 - prefer harfbuzz to core text backend for Thai OT fonts on OS X. r=jdaggett
2011-07-26 10:47:36 +01:00
Jeff Muizelaar
49346550bd
Bug 672646. D2D: Fix trasparent radial gradients. r=roc
...
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.
Also adds a reftest for this situation.
2011-07-21 18:40:41 -04:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Justin Lebar
6132ee5300
Backing out bug 664659 (rev 7b49a2857e18) due to Mac memory regressions.
2011-07-19 19:25:19 -04:00
Jeff Muizelaar
1a508abb82
Bug 672280. qcms: Use C99-style flexible arrays. r=bgirard
...
This is in preparation for adding more of these for the
upcoming ICCv4 parsing.
2011-07-19 11:17:47 -04:00
Justin Lebar
ecdd58c973
Bug 664659 - Fix about:memory image reporters. r=joe,njn
2011-07-18 09:20:27 -04:00
Mats Palmgren
5437bbbfbe
Bug 665218 - Keep the printing surface until the next BeginPage to avoid null-ptr crash [MacOSX only]. r=roc
2011-07-19 14:20:33 +02:00
Oleg Romashin
7d3e811adb
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Joe Drew
702262ed50
Rebase mozilla-inbound to 569a960b4a64 and then re-merge with mozilla-central so we're in a known good state.
2011-07-16 21:37:41 -04:00
Chris Jones
d8c3256765
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Jonathan Kew
4a85d71c3c
bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett
2011-07-15 15:16:15 +01:00
Mike Hommey
b8a5bdd1fc
Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar
2011-07-15 10:15:28 +02:00
Ehsan Akhgari
2da92ee675
Backout changeset ed3036facfb2 (bug 670338) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:28:13 -04:00
Ehsan Akhgari
f85c34e56a
Backout changeset e2139ab44181 (bug 670111) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:27:27 -04:00
Chris Jones
d827503aa5
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
935a393f3a
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-13 22:43:43 -07:00
Chris Jones
bdfb401e6b
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
cb2ee3417a
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
8325aff847
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
0a936edcc7
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
9037e7684c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
e77d94694c
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
8a96cd22fa
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
46987600ab
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
289ccdf1c6
Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-07-13 22:43:43 -07:00
Chris Jones
7e90855ae8
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
7a11870b91
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
b154d14e64
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Rob Bradford
a3a670fa80
Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow
2011-07-11 14:07:49 +01:00
Adrian Johnson
ca5502b6f3
Bug 624699. Fix some landscape printing bugs. r=roc
...
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Jacek Caban
3cdbb68a2e
Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe)
2011-07-13 17:58:17 +02:00
Ehsan Akhgari
c2c6bac9e3
Merge mozilla-central and mozilla-inbound
2011-07-13 11:51:33 -04:00
Ehsan Akhgari
096131f2a7
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-13 11:40:03 -04:00
Jonathan Kew
4ddf26ea1f
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Jonathan Kew
c7c5b7169b
Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage
2011-07-13 10:50:37 +01:00
Jonathan Kew
e163f1538f
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Bas Schouten
9df92e2b44
Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc
2011-07-13 02:36:28 +02:00
Bas Schouten
d364586638
Bug 666452 - Part 2: Minimize drawing done with shadow in the Azure D2D backend. r=BenWa
2011-07-13 02:34:43 +02:00
Bas Schouten
aa8d9fe0e0
Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc
2011-07-13 02:34:40 +02:00
Benoit Girard
952c2f25af
Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
...
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Jonathan Kew
275db5cd96
bug 494130 - log downloadable font errors to console. r=jdaggett
2011-07-12 12:24:36 +01:00
Daniel Holbert
7024f8afe3
Bug 670025: Use more fine-grained checks to pick depth in GLContext::ResizeOffscreenFBO. r=vlad
2011-07-12 00:11:20 -07:00
Daniel Holbert
452e2996ff
backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7
2011-07-11 18:24:03 -07:00
Jeff Gilbert
247edcfca1
Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe
2011-07-11 12:24:21 -07:00
Bas Schouten
b4f2c613de
Bug 668764: Properly specify stroke offset in Direct2D cairo backend. r=jrmuizel
2011-07-11 16:37:01 +02:00
Ed Morley
3bd1c95cf1
Bug 631155 - undefined return value in function '_cairo_surface_wrapper_flush'; r=jrmuizel
2011-07-11 09:14:12 -04:00
Ed Morley
f3a9335535
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
2e399e9852
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Bas Schouten
70cf943058
Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
...
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Marco Bonardo
94da8809f7
Merge mozilla-inbound and mozilla-central
2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Benoit Jacob
eb0e51fa33
Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel
2011-07-07 20:01:16 -04:00
Marco Bonardo
331cfdd0fa
Merge mozilla-inbound and mozilla-central
2011-07-07 12:02:38 +02:00
Justin Lebar
82e8ec8cdb
Backing out bug Bug 648484 (csets 9fcd404d97aa through 2bfa7417504d) due to orange.
2011-07-06 20:27:35 -04:00
Florian Haenel
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Chris Jones
01bd80b344
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
3a8730cfb8
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-06 13:29:27 -04:00
Chris Jones
fdccfcc943
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
dcfb4599ee
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
2019352cf7
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
50a0f24763
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
d7df36fbe8
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
d455e8ab6b
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-06 13:29:27 -04:00
Chris Jones
dc8f49c9a6
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-07-06 13:29:26 -04:00
Chris Jones
61d03418ec
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-06 13:29:26 -04:00
Chris Jones
1383ae51c9
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-06 13:29:26 -04:00
Chris Jones
179dd1b1f5
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-06 13:29:26 -04:00
Mounir Lamouri
620eea42dc
Merge mozilla-central into mozilla-inbound.
2011-07-06 14:49:29 +02:00
L. David Baron
dbb636b97e
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Jonathan Kew
18076188b4
bug 669175 - [harfbuzz] fix indexing in reverse_range() to avoid pathological perf & incorrect results. r=behdad
2011-07-06 08:01:41 +01:00
Jacob Bramley
6d297c4c1a
Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones]
2011-07-05 09:48:40 +01:00
Bas Schouten
20707018d6
Bug 668801 - Followup: Properly address review comments.
2011-07-05 08:52:48 +00:00
Bas Schouten
951afc154e
Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel
2011-07-05 06:28:20 +00:00
Bas Schouten
1234946c68
Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel
2011-07-05 06:28:17 +00:00
Bas Schouten
756d1c7e15
Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel
2011-07-05 06:28:14 +00:00
Matt Woodrow
dbbef6ee35
Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:50 +12:00
Matt Woodrow
dd264db48d
Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:34 +12:00
Matt Woodrow
89e737996c
Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf
2011-07-05 14:52:00 +12:00
Matt Woodrow
7ab3748569
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Benoit Girard
9c46ca57c5
Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow
2011-07-04 09:51:37 -04:00
Benoit Girard
dd61f3a2ea
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Ed Morley
e2dd282c90
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Benoit Girard
069dc7b333
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Marco Bonardo
d6c4314155
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02:00
Benoit Girard
c83b82cbd1
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Jonathan Kew
21a371ca1a
bug 666893 - add padding pixels to DWrite text bounds because of ClearType bleed when using GDI Classic mode. r=roc
2011-07-01 07:38:17 +01:00
Jonathan Kew
636a69c177
bug 553571 - try to avoid breaking font runs at ZWNJ when using font fallback, because Indic scripts require shaping across the ZWNJ character. r=roc
2011-07-01 07:38:14 +01:00
Makoto Kato
09ff6f5746
Bug 413019 - Remove PGO workaround for some modules. r=ted
2011-07-01 12:46:02 +09:00
Steven Michaud
b9da15d745
Bug 659851 - Firefox and Lion disagree on GLintptr. f=bas.schouten r=bjacob
2011-06-30 14:06:25 -05:00
Benoit Girard
2655767197
Bug 663259 - Part 1: Mac Async rendering fixes. r=josh
2011-06-30 12:46:25 -04:00
Ryan VanderMeulen
3daf9bf212
Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas
2011-06-30 14:35:46 +02:00
Ehsan Akhgari
68be621524
Merge mozilla-central and mozilla-inbound
2011-06-30 05:08:20 -04:00
Oleg Romashin
fdc131bf41
Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten
2011-06-29 15:13:21 -07:00
Jonathan Kew
b6406524e0
bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett
2011-06-29 14:16:12 +01:00
Justin Lebar
169b00ccad
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jeff Muizelaar
a4fa82cf61
2D: Add a comment about why we need to know the fill mode early. r=bas
2011-07-07 12:57:52 -04:00
Ed Morley
345c2b06c0
Merge mozilla-central and mozilla-inbound
2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Khaled Hosny
04aa8b9de9
bug 680692 - cherry-pick fix for GPOS contextual chaining positioning, needed by some Arabic fonts (from upstream harfbuzz-ng commit cc1a8a938b4c13e76b58825a9e1951c4134e634a). r=jfkthame
2011-11-05 11:48:16 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Masatoshi Kimura
f54fcc46d3
Bug 699420 - Update OTS to r74; r=jfkthame
2011-11-04 01:26:56 +00:00
Jeff Gilbert
50ccee0ff9
Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten
2011-11-03 12:10:10 -07:00
Doug Sherk
72f02b078a
Bug 695912: implemented antialiasing blocklisting r=jgilbert
...
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Doug Sherk
a5a9d0244b
Bug 668004 - generalized GPU blocklist to all platforms - r=bjacob
...
Refactored Windows-specific code for blocklisting GPUs to GfxInfoBase so that it
could be re-used by every platform. Also enabled all downloaded blocklist code on X11 (Linux) and Cocoa (Mac)
but not yet on Android.
2011-11-03 10:50:40 -04:00
Benoit Jacob
10ec1bc94f
Bug 699025 - Don't try to use more multisampling samples than is supported by the GL - r=jgilbert
...
This fixes "WebGL is broken unless I set webgl.msaa-level=0" issues.
2011-11-03 10:50:39 -04:00
Matt Woodrow
02854b30fc
Bug 688368 - Make SourceSurfaceSkia data surfaces copy-on-write. r=joe
2011-11-03 08:55:03 +13:00
Matt Woodrow
b74458f46e
Bug 698318 - Share ArcToBezier code. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
bc5c7f13cf
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
807731094a
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ali Juma
558d777703
Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel
2011-11-02 09:40:14 -04:00
Benoit Jacob
e3f00a8572
Bug 697333 - Update ANGLE to r809 - no review
...
This is just syncing us with the upstream,
http://code.google.com/p/angleproject/
This gets us two important fixes, for bug 676071 and bug 694495.
2011-11-02 00:56:35 -04:00
Matt Woodrow
9e5aed979b
Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa
2011-10-31 14:03:00 +13:00
Mike Hommey
60b73b4219
Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted
2011-08-29 07:34:02 +02:00
Matt Brubeck
4e7caa789f
Merge mozilla-central and mozilla-inbound
2011-08-12 07:08:33 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jonathan Kew
3169ac9189
bug 667166 - apply 'locl' feature early along with 'ccmp', before Arabic-specific shaping features. r=jdaggett
2011-08-12 11:49:36 +01:00
Chris Jones
1ed2dae061
Bug 662038, part 3: Implement dashing for d2d. r=Bas
2011-06-29 14:34:58 -07:00
Chris Jones
546a15416f
Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc
2011-06-29 14:34:58 -07:00
Chris Jones
c4559259a5
Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel
2011-06-29 14:34:58 -07:00
Marco Bonardo
e42980dbde
Merge last green changeset from mozilla-inbound to mozilla-central
2011-06-28 11:17:15 +02:00
Bas Schouten
915c27a3f4
Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel
2011-06-28 02:10:06 +02:00
Benoit Jacob
c4cbfb78a0
Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
...
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Mounir Lamouri
d8b025aad8
Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression.
2011-06-27 14:52:57 +02:00
Matt Woodrow
cc66446a05
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
31412c006b
Bug 656185 - Part 4 - Fix for D3D9. r=Bas
2011-06-27 14:32:42 +12:00
Matt Woodrow
379c7e6f82
Bug 656185 - Part 3 - Fix for D3D10. r=Bas
2011-06-27 14:32:34 +12:00
Matt Woodrow
8aba398b72
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Matt Woodrow
9376e72c7e
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Benoit Girard
6455de56ad
Enabled Mac Async plugin by default + Fixes. b=663259 r=josh
2011-06-25 15:12:59 -04:00
Benoit Girard
9f6defe8cd
Bug 577224 - Fix nsCARenderer warnings; r=smichaud
2011-06-24 10:49:42 -04:00
Takanori MATSUURA
bd263d1c2f
Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas
2011-06-26 23:10:35 +09:00
Doug Sherk
0e41e843ea
Bug 697757 - WebGL context fix for alpha being improperly set on OSX. r=jgilbert
...
If we request alpha and it isn't enabled, or we request it off and it gets
enabled, we now fail the pbuffer creation and fall back to FBOs. This is bad for
performance but allows us to pass the conformance test in this case.
2011-10-31 17:49:55 -07:00
Benoit Girard
bcdd27f3de
Bug 698137 - Set texture unit before binding FPS texture. r=ajuma
...
--HG--
extra : rebase_source : 5ea49b85e0ba0d2b5eabc4477a0e692d0a531faf
2011-10-31 15:04:09 -04:00
Matt Woodrow
aa850c7070
Bug 688366 - Fix Skia marking radial gradients with the same radius as invalid. r=jrmuizel
2011-10-31 13:48:54 +13:00
Matt Woodrow
a43bc9ddf2
Bug 688365 - Enable Skia 'New AA' mode. r=jrmuizel
2011-10-31 13:47:43 +13:00
Adrian Johnson
992a5d330a
Bug 691061 - Don't use EXTEND_PAD on printing surfaces. r=jmuizelaar
2011-10-29 19:36:19 +10:30
Nicholas Nethercote
dcb5c7be56
Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
...
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Rafael Ávila de Espíndola
f16f02377c
Bug 708051 - Avoid IPC x ipc confusion on case insensitive filesystems. r=joe.
2012-01-03 14:36:00 -05:00
Marco Bonardo
181c5aa8a8
Merge mozilla-central and mozilla-inbound
2012-01-03 12:39:02 +01:00
Benoit Jacob
08064474fb
Bug 713266 - Update ANGLE to r930 - no review
...
No review because this is just syncing us with the upstream
http://code.google.com/p/angleproject/
2012-01-03 05:01:43 -05:00
Thomas Prip Vestergaard
9fdf146bd7
Bug 710992 - Fix third argument in memcmp call in pixman-image.c; r=roc
2012-01-02 19:15:04 +01:00
Jeff Walden
08edc0c58a
Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert
2011-12-31 01:15:59 -06:00
Kyle Huey
535386a8e6
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Nicholas Nethercote
cc36bb0b51
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Bas Schouten
9be9c0d565
Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc
2011-12-28 06:56:11 +01:00
Phil Ringnalda
65d20c6b05
Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange
2011-12-27 21:09:44 -08:00
Bas Schouten
c30eae6661
Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc
2011-12-28 03:51:38 +01:00
Makoto Kato
88492785cf
Bug 712870 - Skia works on non-tier1 cpu. r=mattwoodrow
2011-12-27 18:01:12 +09:00
Jonathan Kew
9d1616c6d6
bug 691505 followup - use the proper #define so that our malloc replacements actually take effect. r=roc
2011-12-22 11:13:29 +00:00
Yury
41cc9ce3a0
Bug 712217 - Update OTS to r77 [r=jfkthame]
2011-12-22 11:46:51 +01:00
Jeff Walden
841701c767
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jeff Gilbert
f298556127
Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob
2011-12-19 15:47:54 -08:00
Ed Morley
8ed69ffe5f
Backout 76dcfabe0a2a, d8004eb22252, 86e91202ef51 & f9a5736cd6bc (bug 695845) for build failures on windows
2011-12-19 20:27:59 +00:00
Matt Woodrow
63e3a252af
Bug 695845 - Part 4: Move BasicShadowableLayer into ImageLayers.h. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
a9922d609f
Bug 695845 - Part 3: Add Flush() and Disconnect() methods to ImageContainer. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
9898776457
Bug 695845 - Part 2: Add ShadowImplData. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
5c7862842a
Bug 695845 - Part 1: Add ImplData to ImageContainer. r=roc
2011-12-19 14:49:45 -05:00
Jeff Gilbert
1da9894cfb
Bug 711649 - Resolve OGL canvas layer in UpdateSurface - r=mattwoodrow
2011-12-19 11:21:56 -08:00
Jacek Caban
2da79dd182
Bug 711385 - DrawTargetD2D.h fails to compile on mingw r=bas.schouten
2011-12-19 14:06:10 +01:00
Jacek Caban
484dec1072
Bug 670096 - cairo fails to compile on mingw with D2D and DWrite enabled r=jones.chris.g
2011-12-19 14:04:39 +01:00
Jonathan Kew
f4cbe3b555
bug 663688 - prefer CGFont APIs to older ATS APIs on 10.6 or later. r=smichaud,roc
2011-06-24 18:55:27 +01:00
Bas Schouten
bfb8808747
Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
933cae4fbb
Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Bas Schouten
58d40df2a4
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Bas Schouten
1c08a19bd8
Bug 651858 - Part 2: Add glue code in gfx for thebes-azure interop. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
1fb2634ff2
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
...
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Marco Bonardo
d50a414c3e
Merge last green changeset in mozilla-inbound to mozilla-central
2011-06-24 11:32:12 +02:00
Ed Morley
d44febb3ea
Bug 665622 - Fix unused variable warnings in GLContext.cpp & GLContextProviderEGL.cpp; r=joedrew
2011-06-23 19:01:17 -07:00
Daniel Holbert
9649e82049
Bug 661969: If no delay is passed to gfxFontInfoLoader::StartLoader, use the interval as delay. r=jdaggett
2011-06-23 19:01:17 -07:00
Jeff Muizelaar
9c940cc534
Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe
2011-06-22 14:53:11 -04:00
Jeff Muizelaar
d2cc193c0b
Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird.
2011-06-22 14:49:31 -04:00
Jeff Muizelaar
f15d555c8f
Bug 662649. DrawFPS: Make sure we use a 32 bit type instead of a 64 bit one. r=joe
...
This was causing badness on platforms where unsigned long is 64 bits.
2011-06-22 14:46:27 -04:00
Jeff Muizelaar
e70b966d11
Bug 662649. DrawFPS: free leaked buffer. r=joe
...
glTexImage2D will keep a copy of this data around so we don't have to.
2011-06-22 14:43:52 -04:00
Jeff Muizelaar
5db1ac6018
Bug 661658. Fix pointer as int size problem on Win64. r=joedrew
...
The glyph cache uses a pointer for a hash value, and uses
that hash value as a pointer. We need to ensure that the
hash type is large enough to fit a pointer.
2011-06-22 14:38:25 -04:00
Ehsan Akhgari
6905c5d4c5
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-06-22 19:17:32 -04:00
Mats Palmgren
0efe54035d
Bug 312156 - Make gfxFont::HasCharacter work for Pango fonts. r=roc
2011-06-22 20:11:47 +02:00
Robert O'Callahan
ae6647d4d2
Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
70312fec05
Bug 637852. Part 25: Add nsSize ScaleToNearestPixels. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
779fca303f
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0c48fabd49
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9c74d507a9
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
7f64e9bccf
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0cc6be313b
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
64c5e295e0
Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
0041df680e
Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
fcf2510a5d
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
3cbadba941
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
c58a20de4e
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
06e6b72a58
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
2685eb6583
Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
...
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Ehsan Akhgari
006b4e90d7
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-06-22 15:50:44 -04:00
Jonathan Kew
8cbce74327
bug 476927 - add padding to text bounds on OS X to allow for possible antialiasing pixels. r=roc
2011-06-22 09:49:57 +01:00
Jonathan Kew
f3ed02ab79
bug 475968 - add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc
2011-06-22 09:49:53 +01:00
Steven Michaud
cf03bf9786
Bug 663688 - Temporarily default to turning off downloadable fonts on OS X Lion. r=jdaggett,jfkthame
2011-06-20 10:42:39 -05:00
Benoit Girard
3eb91dc88f
Bug 572571 - Abort Core Animation rendering for windows that are too large. r=josh
2010-08-01 19:15:25 -04:00
Mounir Lamouri
3be4c39ecb
Merging mozilla-inbound with mozilla-central.
2011-06-18 18:29:10 +02:00
Jacek Caban
7144aad2b8
Bug 663784 - Don't use using statement before includes r=masayuki
2011-06-17 14:55:51 +02:00
Jonathan Kew
4e89d25c0d
bug 647560 followup - put the color components in the right order. a=test-bustage
2011-06-17 09:14:09 +01:00
Robert O'Callahan
3c21113890
Bug 647560. Implement non-fallbacky behavior for _cairo_win32_surface_fill_rectangles on an ARGB surface, using StretchDIBits. r=jrmuizel
2011-06-17 15:36:37 +12:00
Ed Morley
c8157ac7e6
Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar
2011-06-18 11:04:30 +02:00
Benoit Jacob
4285792db3
Bug 659842 comment 86 - accidentally removed a glXDestroyContext call + fix a warning in opt build - r=trivial-fix
2011-06-17 21:42:31 -04:00
Benoit Jacob
8dbe82a76f
Bug 659842 - [topcrash] release the GL context before calling glXDestroyContext - r=karlt
...
See the glXDestroyContext man page:
If GLX rendering context ctx is not current to any thread,
glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed
when it becomes not current to any thread. In either case, the resource ID
referenced by ctx is freed immediately.
In other words, if we want glXDestroyContext to have the well-defined semantics
of destroying the context before future X commands take effect, we must first
release the GL context before calling it. We were failing to do that, but we
were destroying the drawable immediately after that call, and as a result, the
context was outliving its underlying drawable. This eventually resulted in
X_GLXMakeCurrent: GLXBadContextTag X errors on subsequent glXMakeCurrent calls.
2011-06-17 11:49:27 -04:00
Oleg Romashin
dea57d8792
Bug 660565 - HTML5 HW accelerated video is slow r=roc
...
--HG--
extra : rebase_source : 5a46d17c72caf5ec4afd3f59093be803008c61ec
2011-06-16 12:51:05 +02:00
Jonathan Kew
f9cb8da613
bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
a7411a0c9d
bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
a8e92df002
bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
b0ae7172d2
bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
0bc82a4ba2
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
7292ce81d9
bug 660088 - [OTS] parse and serialize the 'name' table instead of discarding it and using fake names. r=jdaggett
2011-06-16 07:31:36 +01:00
Ehsan Akhgari
13d84f740f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
84a84cc118
bug 660088 - [OTS] parse and serialize the 'name' table instead of discarding it and using fake names. r=jdaggett
...
--HG--
extra : rebase_source : 3f3672c4cac5d1dfe7911c0f603032c33c205b42
2011-06-15 20:17:54 +01:00
Jonathan Kew
be3ae9b1a0
bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
...
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew
ba1202c246
bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
...
--HG--
extra : rebase_source : 91e7f231b281e1949997996d7308aceb4935247b
2011-06-15 20:17:52 +01:00
Jonathan Kew
0696341392
bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc
...
--HG--
extra : rebase_source : 9ef420cb21d14276e766e1acea5d93364d48b87f
2011-06-15 20:17:52 +01:00
Jonathan Kew
d5411cefc7
bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
...
--HG--
extra : rebase_source : f3d41348ab01a21ac6b6a1713b1e5e7274cf7fbf
2011-06-15 20:17:52 +01:00
Jonathan Kew
eacb2d87b0
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
...
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
Jacek Caban
68973a00a6
Bug 663784 - gfxWindowsPlatform.cpp doesn't compile without D2D r=masayuki
2011-06-15 12:22:57 +02:00
Neil Rashbrook
747f874cd4
Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew!
2011-06-13 19:02:35 -07:00
Ted Mielczarek
a88f0715f0
merge m-c and b-s
2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Makoto Kato
f73a47bd47
Bug 662726 - Remove unused ANGLE source. r=bjacob
2011-06-13 10:32:34 +09:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Joe Drew
638fc56959
Bug 660448 - look up FT_Library_SetLcdFilter via dlsym at runtime to fix terrible subpixel rendering on up-to-date Linux systems. r=karlt,bjacob
...
This will need to be reverted once our build systems are upgraded to a newer
version of FreeType. In the long run, we need to increase our runtime
dependency to this newer version.
2011-06-10 21:06:23 -04:00
Ehsan Akhgari
0bcdd4209a
Merge mozilla-central and mozilla-inbound
2011-06-10 16:07:54 -04:00
Benoit Jacob
66919c207e
Bug 663162 - Update ANGLE to r686 - r=joedrew
...
Just an ANGLE update, plus updating the list of failed tests on WinXP, also now properly reporting on unexpeced success (using todo(true) instead of ok(false))
2011-06-10 14:59:08 -04:00
Matheus Kerschbaum
5a7b295546
Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel
2011-06-10 18:27:01 +02:00
Mounir Lamouri
6895a96f41
Merginig mozilla-inbound with mozilla-central.
2011-06-10 09:58:03 +02:00
Oleg Romashin
dc9d518633
Bug 659832 - Make WebGL working on Maemo r=joe
2011-06-09 21:18:43 -04:00
Oleg Romashin
bcfe656b06
Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g
2011-06-09 21:17:02 -04:00
Bas Schouten
9c51d7683c
Bug 655836: Flush surface A when B changes and A has a pending drawing command depending on B. r=jrmuizel
2011-06-09 17:28:12 -04:00
Jonathan Kew
4ce8038dca
Bug 661471. Part 7: Only force GDI_CLASSIC rendering for specified fonts if a rendering mode has not been explicitly chosen in prefs. r=roc
2011-06-09 08:17:20 +01:00
Jonathan Kew
37cc5bd232
Bug 661471. Part 6.3: Only force DW to use specific ClearType modes if ClearType is actually enabled. r=roc
2011-06-09 08:13:13 +01:00
Robert O'Callahan
d7aa0ae8f6
Bug 661471. Part 6.1: Expose cairo_win32_get_system_text_quality. r=jfkthame
2011-06-09 08:13:02 +01:00
Oleg Romashin
9ef30f9708
Bug 594418 - GLDefs.h GLsizeiptr, GLintptr gl types definition conflicts with khronos gl types r=bjacob
2011-06-07 11:42:22 -07:00
Nicholas Nethercote
75c9bc6319
Bug 658814 - move gfx/surface/* reporters out of the "explicit" group to avoid double-counting of some meomry bytes and subsequent negative values in about:memory. r=jmuizelaar.
2011-06-07 12:17:01 +10:00
Nicholas Nethercote
3f2c2d551f
Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc.
2011-06-06 11:22:45 +10:00
Mounir Lamouri
af81ce3c72
Merging cedar with mozilla-central.
2011-06-03 12:06:08 +02:00
Robert O'Callahan
4bb2d42df6
Bug 661471. Part 3: Apply 'GDI Classic' prefs to @font-face local(). r=jdaggett,jfkthame
2011-06-03 16:31:08 +12:00
Robert O'Callahan
72424d8066
Bug 661471. Part 2: Add a pref to limit the forcing of 'GDI Classic' to a maximum font size. r=jdaggett,jfkthame
2011-06-03 16:31:08 +12:00
Robert O'Callahan
0e9af9395b
Bug 661471. Part 1: Create preference to force particular font families to use 'GDI Classic' rendering with DirectWrite. r=jdaggett,jfkthame
2011-06-03 16:31:07 +12:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Kyle Huey
39d58838ba
Fix a spelling mistake on this CLOSED TREE
2011-05-31 09:14:54 -07:00
Mounir Lamouri
454f172816
Merging cedar with mozilla-central.
2011-05-31 12:17:48 +02:00
Makoto Kato
c3c6ebce4f
Bug 660584 - nsILanguageAtomService.LookupLanguage should use nsACString instead of nsAString. r=smontagu
2011-05-31 14:09:05 +09:00
Karl Tomlinson
1b4841d995
mark new reftest as failing on Android b=660740
2011-05-31 16:30:00 +12:00
Ehsan Akhgari
a0939ce343
Bug 660676 - Remove the copy constructor for nsSize and nsIntSize; r=roc
2011-05-30 19:07:35 -04:00
Zack Weinberg
826aad9720
extend_pad tests for bug 468496
...
--HG--
extra : transplant_source : %1A%F9%8E%1F%29%23%E4%9EE%BA%20%A7%18%B0%FE%5B%A3A%28%E4
2011-05-31 09:53:41 +12:00
Oleg Romashin
65a70a8e4c
Bug 659768 - HTML5 video does not render anything on Maemo r=mattwoodrow
2011-05-31 09:48:47 +12:00
Karl Tomlinson
837dcebd95
b=468496 use RepeatPad on newer X servers even when downscaling r=joe
...
--HG--
extra : transplant_source : %8DY%BB%96%10%93%5C%E7%60%04h%5C%400%F8%1Dx%CCq%FC
2011-05-31 09:38:50 +12:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Mounir Lamouri
53c39f24f1
Merging cedar with mozilla-central.
2011-05-30 12:50:04 +02:00
Ed Morley
6649ee0b7d
Bug 624748 - Remove unused nsITheme::RegisterWidgetGeometry. r=roc
2011-05-30 09:31:42 +02:00
Robert O'Callahan
a1ebcbf532
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-30 15:48:34 +12:00
Robert O'Callahan
a537a15852
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-30 15:48:29 +12:00
Robert O'Callahan
89fdba6cb9
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-30 15:48:23 +12:00
Robert O'Callahan
b49eae116d
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-30 15:48:13 +12:00
Robert O'Callahan
c0afe87a4e
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-30 15:48:08 +12:00
Robert O'Callahan
9a390fc021
Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel
2011-05-30 15:48:01 +12:00
Robert O'Callahan
66a57a0a84
Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel
2011-05-30 15:29:07 +12:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Jeff Muizelaar
e9dec64aff
Bug 659676 - remove debugging code that snuck in. r=khuey
2011-05-26 09:29:25 +02:00
Jeff Muizelaar
8f912ae15e
Bug 562746. Update cairo to 1.10.
...
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
741e33c428
Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
...
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Mounir Lamouri
927ee0c01a
Merging cedar with mozilla-central.
2011-05-27 09:57:51 +02:00
Daniel Holbert
8556ef49be
Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz
2011-05-26 01:20:08 -07:00
Neil Rashbrook
a823051c1e
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01:00
Ehsan Akhgari
bfd552d30a
Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5)
2011-05-26 14:57:50 -04:00
Ehsan Akhgari
d463f51425
Backout changeset ecbe9bb3433f (bug 659676) because of the backout of bug 562746, which introduced the removed line here
2011-05-26 14:52:54 -04:00
Benoit Jacob
2980ccd7c4
Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
...
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Jeff Muizelaar
f49a520423
Bug 659676 - remove debugging code that snuck in. r=khuey
2011-05-26 09:29:25 +02:00
Jeff Muizelaar
f9513e5a85
Bug 562746. Update cairo to 1.10.
...
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
1592328268
Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
...
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Oleg Romashin
d4e430f071
Bug 659217 - HW accelerated video crashing with OGL layerss enabled. r=matt.woodrow
...
--HG--
extra : rebase_source : bd3b7998f5b8193a01d927c388ee2375d2a6bacf
2011-05-25 10:09:55 +02:00
Matt Brubeck
ec953fc5a6
Merge cedar to mozilla-central
2011-05-24 14:55:37 -07:00
Benoit Jacob
2c0eb7e54e
Bug 657748 - Update ANGLE to r653 - a=joe
...
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.
http://code.google.com/p/angleproject/
This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
John Daggett
c5f9095961
Bug 659182. Null-check bundle ID's before releasing.
...
r=roc
2011-05-23 22:14:16 -07:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Matt Brubeck
9eb38101c8
Merge cedar and mozilla-central
2011-05-23 07:39:21 -07:00
Robert O'Callahan
ea286efab6
Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas
2011-05-23 12:27:03 +12:00
Benjamin Peterson
f8d31dc977
Bug 658314 - UserToDevice uses the transform matrix. r=roc
...
--HG--
extra : rebase_source : 642b8d2ec5c5a523c74d44c4285731810f28e7ba
2011-05-21 22:06:24 +02:00
Benoit Jacob
eca44c5cc8
Bug 656215 - check max size for textures and renderbuffers - r=joedrew
...
This is needed to correctly handle exceedingly large canvases, for example.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03
Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
...
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Joel Maher
6993636556
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Vivien Nicolas
8b7b339cab
backout bug 647560 - Pages on Fennec desktop does not not draw anymore
2011-05-20 17:45:00 +02:00
John Daggett
0cc810376c
Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew
2011-05-20 15:09:30 +09:00
John Daggett
d513f6e578
Backout 2e0e36b0feae due to odd Linux bustage
2011-05-20 16:13:01 +09:00
John Daggett
43f90511f3
Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew
2011-05-20 15:09:30 +09:00
Jeff Muizelaar
0ffb2687b5
Bug 658249. Update pixman to 0f6a4d45886d64b244d57403609f0377b58cc7fb.
...
Andrea Canciani (1):
test: Fix compilation on win32
Dave Yeo (1):
Check for working mmap()
Gilles Espinasse (2):
Fix missing AC_MSG_RESULT value from Werror test
Fix OpenMP not supported case
Siarhei Siamashka (7):
ARM: tweaked horizontal weights update in NEON bilinear scaling code
ARM: use aligned memory writes in NEON bilinear scaling code
ARM: support for software pipelining in bilinear macros
ARM: use less ARM instructions in NEON bilinear scaling code
ARM: support different levels of loop unrolling in bilinear scaler
ARM: pipelined NEON implementation of bilinear scaled 'src_8888_8888'
ARM: pipelined NEON implementation of bilinear scaled 'src_8888_0565'
Søren Sandmann Pedersen (8):
Makefile.am: Put development releases in "snapshots" directory
ARM: Tiny improvement in over_n_8888_8888_ca_process_pixblock_head
ARM: Add 'neon_composite_over_n_8888_0565_ca' fast path
Offset rendering in pixman_composite_trapezoids() by (x_dst, y_dst)
Pre-release version bump to 0.21.8
Post-release version bump to 0.21.9
Pre-release version bump to 0.22.0
Post-release version bump to 0.23.1
Taekyun Kim (3):
ARM: Common macro for scaled bilinear scanline function with A8 mask
ARM: NEON scanline functions for bilinear scaling
ARM: Enable bilinear fast paths using scanline functions in pixman-arm-neon-asm-bilinear.S
--HG--
extra : rebase_source : aff729718af3e7d25577603241d204bf02ecfb90
2011-05-18 13:43:30 -04:00
Florian Hänel
8e0d9ab286
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
4ada86d2cb
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-18 23:24:52 +12:00
Robert O'Callahan
77cd75a0d2
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-18 23:24:52 +12:00
Robert O'Callahan
ebe9f8f585
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-18 23:24:52 +12:00
Robert O'Callahan
887d235ef0
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
99936bcd94
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
80101e2ad0
Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones
2011-05-18 23:24:52 +12:00
Mounir Lamouri
3614c727b5
Merging cedar with mozilla-central.
2011-05-18 11:42:37 +02:00
Ed Morley
d260544670
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Mounir Lamouri
eceb98864c
Backout bug 629866 and bug 647560.
2011-05-17 11:44:17 +02:00
Robert O'Callahan
c5e00b2e8a
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-17 11:42:19 +12:00
Robert O'Callahan
e5e28d9ac2
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-17 11:42:05 +12:00
Robert O'Callahan
3e50014290
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-17 11:41:57 +12:00
Robert O'Callahan
d1fe5a6711
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-17 11:41:48 +12:00
Robert O'Callahan
0bca45c661
Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones
2011-05-17 11:41:39 +12:00
Siarhei Siamashka
45f3e58d85
Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
...
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Matt Brubeck
d4397cc6d1
Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel]
2011-04-08 10:15:37 -07:00
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Matt Woodrow
b386255490
Bug 606855 - Re-enable checking of GLX extensions. r=bjacob
2011-05-23 11:04:22 +12:00
Bas Schouten
de12263c7f
Bug 657141: Avoid excessive clipping by only popping to the common ancestor. r=jrmuizel
2011-05-17 21:27:05 +02:00
Florian Hänel
ba640eeb4a
Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe
2011-05-14 12:11:37 +12:00
Jim Mathies
2a4de6175a
Bug 633282 - Add ToNearestPixels to nsRegion. r=roc.
2011-05-13 11:40:46 -05:00
Jim Mathies
02f8ccf86e
Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.
2011-05-13 11:40:46 -05:00
Oleg Romashin
5c6eaea720
Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g
2011-05-12 09:49:33 -07:00
Matt Woodrow
1b63f405ae
Bug 649417 - Check if BasicShadowableImageLayer has a current image before attempting to use it. r=cjones
2011-05-13 12:38:44 +12:00
Matt Woodrow
9d7dd64918
Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe
2011-04-21 16:38:39 +12:00
Matt Woodrow
d3c4acee47
Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones
2011-04-21 11:21:56 +12:00
Jonathan Kew
7839f4a060
bug 654057 - fix the zeroing of diacritic widths to resolve misplaced accents with Segoe UI. r=jdaggett
2011-05-11 20:24:56 +01:00
Oleg Romashin
13f01190c4
Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel
2011-05-10 21:45:42 -04:00
John Daggett
5fb2f0c9f2
Bug 567552. Disable font auto-activation. r=josh
2011-05-11 09:44:35 +09:00
John Daggett
375ce049e0
Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel
2011-05-11 09:30:20 +09:00
Jeff Muizelaar
2dfcf68c91
qcms: avoid unnecessary promotion to double. r=ehsan
2011-05-10 12:01:48 -04:00
Jeff Muizelaar
cd58cf15e6
Bug 605179. qcms: revert build warning fixes. r=ehsan
...
0ec22e77aefc fixed some build warnings that no longer happen because pedantic is disabled.
2011-05-10 11:55:39 -04:00
John Daggett
0603515438
Backed out changeset d34dd7156b4d
2011-05-09 15:19:33 +09:00
John Daggett
d51efebde6
Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel
2011-05-09 14:56:27 +09:00
Matt Woodrow
a4d6cf8613
Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe
2011-05-09 11:44:03 +12:00
Makoto Kato
008efccff3
Bug 571739 - Fix VC8 support on Win64. r=neil
2011-05-09 00:07:58 +09:00
Jonathan Kew
172cf715bc
bug 655138 - don't use font entry after it's been replaced. r=jdaggett
2011-05-08 13:09:03 +01:00
Matt Woodrow
04c30e5628
Bug 651469 - Add FastMovePixels to gfxASurface and use it where appropriate. r=roc
2011-05-08 13:19:11 +12:00
Mounir Lamouri
ad09541e90
Backout 2348924d6410 (bug 612407) for build bustage.
2011-05-06 11:42:42 +02:00
Oleg Romashin
bf1f0f0f3d
Bug 612407 - Add FPS counter like fraps r=joe
2011-05-06 11:04:14 +02:00
Benoit Jacob
2efacff0c8
Bug 645407 - remove useless GLX checks - r=karlt
2011-05-03 16:07:17 -04:00
Benoit Jacob
d8a3b2e314
Bug 645407 - remove old blacklisting - r=karlt
2011-05-03 16:07:17 -04:00
Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Nicholas Nethercote
6ef173ddbb
Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin.
2011-05-03 17:12:58 -07:00
Benoit Jacob
c3b3ed17f9
backout bug 645407, bug 639842, bug 642502
2011-05-03 17:18:44 -04:00
Benoit Jacob
f383bf0179
Bug 645407 - remove useless GLX checks - r=karlt
2011-05-03 16:07:17 -04:00
Benoit Jacob
a739bbaf8e
Bug 645407 - remove old blacklisting - r=karlt
2011-05-03 16:07:17 -04:00
Jonathan Kew
6a0388114b
bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett
2011-05-02 10:01:55 +01:00
Jonathan Kew
450943ec19
bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett
2011-04-28 09:01:59 +01:00
Jonathan Kew
012d4ea43f
bug 653408 - [ots] fix GDEF sanitizer so it doesn't reject LinLibertine. r=jdaggett
2011-05-02 10:01:54 +01:00
Jonathan Kew
306e33cbda
bug 653705 - ensure mIsCFF is not left uninitialized for downloaded fonts. r=jdaggett
2011-05-02 10:01:54 +01:00
Zack Weinberg
85ef3b518f
Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
...
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Oleg Romashin
0dbd90df0c
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Jonathan Kew
fcadc04ff6
Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges.
2011-04-28 10:52:04 +01:00
Jonathan Kew
32c814b853
bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett
2011-04-28 09:01:59 +01:00
Jonathan Kew
eed7de5c54
bug 653098 - remove unused function gfxUserFontSet::RemoveFamily. r=jdaggett
2011-04-28 09:01:19 +01:00
Jonathan Kew
0d12b6c03d
bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett
2011-04-28 06:06:53 +01:00
Jonathan Kew
eb0e942dc9
bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron
2011-04-28 06:04:45 +01:00
Masatoshi Kimura
07ab33fd8d
bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame
2011-04-26 16:29:43 +01:00
Masatoshi Kimura
8c7a95115c
bug 643460 pt 2 - apply patches to OTS for local build/platform issues. r=jfkthame
2011-04-26 16:29:39 +01:00
Masatoshi Kimura
53b6da83b9
bug 643460 pt 1 - import OTS r.62 from http://code.google.com/p/ots/ . r=jfkthame
2011-04-26 16:29:36 +01:00
Makoto Kato
1af4175e89
Bug 571739 - Use SIMD for conversion from RGB to YUV on Win64. r=kinetik
2011-04-18 09:51:18 +09:00
Zack Weinberg
43341e9470
Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel
2011-04-21 12:36:53 -07:00
Zack Weinberg
8a4c92cea7
Bug 649429 part 1: fix undefined behavior in gfxASurface::CheckSurfaceSize. r=jrmuizel
...
--HG--
extra : rebase_source : 145c3c4b2acd86e2743811f4be5eba599dcc1df3
2011-04-12 12:22:45 -07:00
Daniel Holbert
96fc781c65
Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android
2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Jonathan Kew
8e92dd97a6
bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett
2011-04-21 07:29:50 +01:00
Timothy B. Terriberry
e63a2989e7
Bug 650834 - Add casts to pointer differences in assertion r=dougt
2011-04-18 12:22:51 -07:00
Zack Weinberg
647b7a0bfe
Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
668fa81e1d
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8
Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
792bb82cfb
Bug 651017, part 3: Make nsThebesDeviceContext not an nsIObserver. Also remove some more obsolete junk from nsThebesDeviceContext itself.
...
--HG--
extra : rebase_source : 38fdc667532509e272726bf8098c6f728e94e8ad
2011-04-16 18:22:41 -07:00
Zack Weinberg
ba4c919431
Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
...
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -07:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Kew
f67ad53dd4
bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett
2011-04-19 09:01:21 +01:00
Robert O'Callahan
d4c414cf18
Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel
2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
cffed533b7
Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
8b71e83f60
Bug 641426. Part 2.5: Make gfxBlur bail out in all cases where the blur rect is empty. r=tnikkel
2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
John Daggett
a5724434f7
Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar
2011-04-19 10:11:09 +09:00
Matt Woodrow
c43047b608
Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob
2011-04-19 10:50:54 +12:00
Matt Woodrow
8fd6e01911
Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob
2011-04-19 10:49:00 +12:00
Matt Woodrow
1b93d0832f
Bug 586508 - Improve GL error code output. r=bjacob
2011-04-19 10:47:40 +12:00
Timothy B. Terriberry
371832a9bb
Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley
2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
bc00a0826c
Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec
2011-04-14 17:32:15 -07:00
Zack Weinberg
8f84e87563
Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*.
2011-04-14 10:43:21 -07:00
Zack Weinberg
2c3c349dad
Bug 174055, part 7: remove unnecessary members from nsFontMetrics.
2011-04-08 08:32:29 -07:00
Zack Weinberg
52c99aabb7
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
1c1eb035f0
Bug 174055, part 3: deCOM ns(I|Thebes)FontMetrics. Code outside gfx/ not fixed up.
...
--HG--
rename : gfx/src/nsThebesFontMetrics.cpp => gfx/src/nsFontMetrics.cpp
rename : gfx/src/nsThebesFontMetrics.h => gfx/src/nsFontMetrics.h
2011-04-07 18:05:26 -07:00
Zack Weinberg
d6425e8bd1
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
f5d56fa57a
Bug 648197 (2/2): make nsIDeviceContext::FirstExistingFont and ::GetLocalFontName into complete stubs; remove the alias table.
2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068
Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4
Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1
Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
b7e2ce1e01
Bug 266236 part 5: Make all nsRenderingContext methods with no out-parameters and that never fail return nothing.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 7c11bd0cd2a93d30347a1bb6c1b7675e85f0f579
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e
Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
09deeaef3d
Bug 266236 part 2: Merge nsIRenderingContext with nsThebesRenderingContext (the sole implementation) and remove XPCOM vestiges. Non-mechanical fixups. DOES NOT COMPILE without part 3.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 9e149d30da5222d072071043d30d83033fec9787
2011-04-07 18:04:39 -07:00
Jan Küchler
0e92a9d34a
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Landry Breuil
5334f0f25b
Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic
2011-04-14 17:48:27 +09:00
Zack Weinberg
2698de77fc
Fix partial DOS line endings in nsRect.cpp, rs=khuey, no bug
...
--HG--
extra : rebase_source : 0bf86cf3015a3eecb19282159277581656136734
2011-04-13 10:16:36 -07:00
Jonathan Kew
99d0c392b8
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Jonathan Kew
5a633fc5ed
bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett
2011-04-13 08:28:34 +01:00
Ms2ger
4c894d44d4
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Matt Woodrow
38a5c34624
Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
...
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Benoit Jacob
0a4801660a
Bug 649233 - Include ANGLE r611. r=joe
...
--HG--
extra : rebase_source : 7d917f7bdca76e0abbea6ce5ac41154e2285ec79
2011-04-12 00:36:13 -07:00
Benoit Jacob
d78d9c76dd
Bug 649233 - Include ANGLE r551. r=joe
...
--HG--
extra : rebase_source : 0124d3285a5b552b129e7057ce5a7bec23d3f3bf
2011-04-12 00:36:13 -07:00
Joe Drew
8452c3dcf1
Bug 641630 - Write proper makefiles for ANGLE. r=bjacob,khuey,ted
...
--HG--
extra : rebase_source : ff1657325b7ccb3dede8ab587c16e1749ab28c46
2011-03-29 18:16:39 -04:00
Joe Drew
e8ff106234
Bug 641630 - Rename compiler/debug.{h,cpp} to compiler/compilerdebug.{h,cpp} r=bjacob
...
--HG--
rename : gfx/angle/src/compiler/debug.cpp => gfx/angle/src/compiler/compilerdebug.cpp
rename : gfx/angle/src/compiler/debug.h => gfx/angle/src/compiler/compilerdebug.h
extra : rebase_source : cc2d21846981ffd28bf0d7215274171569f43bbd
2011-03-29 18:16:39 -04:00
Zack Weinberg
1a54f9512d
Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
...
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Bas Schouten
9f51158443
Bug 600760: Optimize mask with rectangular clip. r=jrmuizel
2011-04-11 16:42:05 -07:00
Benjamin Stover
3dc5b1f7a2
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
Ehsan Akhgari
8e2d030028
Merge mozilla-central into cedar
2011-04-11 13:11:47 -04:00
Doug Turner
bb9cf72cbb
Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me
2011-04-11 09:25:59 -07:00
Jonathan Kew
6206d783fa
bug 644184 - ensure basic arabic shaping features are applied before ligature formation. r=jdaggett
2011-04-11 16:33:12 +01:00
Jonathan Kew
5b310ec5f3
bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas
2011-04-11 13:02:51 +01:00
Jonathan Kew
97dc391126
bug 638764 - print DirectWrite text via ExtTextOut using a GDI font, to get decent PDF output. r=bas
2011-04-11 13:02:31 +01:00
Jonathan Kew
95036edb98
bug 623495 - revise prefs for dispatching scripts to shaping backends; enable harfbuzz for Hebrew on OS X. r=smontagu
2011-04-11 12:17:31 +01:00
Rich Walsh
463cdad8da
Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno
2011-04-09 23:32:09 -04:00
L. David Baron
ad4318958b
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Jeff Muizelaar
4b4fccbd45
Bug 648446. Remove -pedantic from CFLAGS in qcms. r=khuey
...
-pedantic causes warnings that we don't care about
2011-04-08 11:34:16 -07:00
Tim Terribe
cb46080bbf
Bug 641014 - Fix broken NEO Y'CbCr to RGB conversion - r=doublec
...
--HG--
extra : rebase_source : fddd6ccddd083484c8b46a53747fb2058a46463e
2011-04-09 06:59:22 +12:00
Tim Terribe
6bbc2a8bd4
Bug 583958 - Add NEON detection to SSE.h - r=jmuizelaar
...
--HG--
extra : rebase_source : 2ae9de7e5a914e7ea30c3ef432edfa100027d656
2011-04-09 06:57:52 +12:00
Chris Double
8ea4897f3e
Bug 639415 - Disable prescaling of videos if they have an offset due to chromium scaling code not supporting offsets - r=kinetik
...
--HG--
extra : rebase_source : 0b72a504f731a81a498876a28dfae0d7c4aebded
2011-03-14 17:31:48 +13:00
Oleg Romashin
631800dfd2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Ehsan Akhgari
c142d20d2c
Merge cedar into mozilla-central
2011-04-08 11:05:22 -07:00
Matt Brubeck
170c710ac7
Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel
2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b
Merge cedar into mozilla-central
2011-04-08 02:27:03 -07:00
Ms2ger
1528a3aa42
Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob
2011-04-07 21:55:10 -07:00
Matt Woodrow
099fef4367
Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
6043fccf2f
Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4
Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a
Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe
2011-04-07 16:58:08 -07:00
Jeff Muizelaar
c64cd62159
Bug 646321. qcms: Avoid implicit conversion to double. r=bjacob
...
The double literal will cause us to unnecessarily convert to double.
2011-04-07 16:59:12 -07:00
Matt Woodrow
179c7950e6
Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe
2011-03-09 10:41:10 +13:00
Matt Woodrow
0ff89b8752
Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe
2011-04-07 16:58:07 -07:00
Robert O'Callahan
acc1dd656b
Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow
2011-04-06 16:38:01 -07:00
Robert O'Callahan
de0d6f2c5e
Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow
2011-04-06 16:37:56 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
...
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Makoto Kato
0aac0cc47c
Bug 644054 - Support WOFF on Android; r=jfkthame
2011-03-22 21:40:00 -04:00
Benoit Jacob
a4d00bab86
Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar
2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Zack Weinberg
2ec3d0e203
Bug 571989, much-delayed part 6: merge gfx/src/thebes into gfx/src. r=joedrew
...
--HG--
rename : gfx/src/thebes/mozilla-decoder.cpp => gfx/src/mozilla-decoder.cpp
rename : gfx/src/thebes/mozilla-decoder.h => gfx/src/mozilla-decoder.h
rename : gfx/src/thebes/nsIThebesFontMetrics.h => gfx/src/nsIThebesFontMetrics.h
rename : gfx/src/thebes/nsSystemFontsAndroid.cpp => gfx/src/nsSystemFontsAndroid.cpp
rename : gfx/src/thebes/nsSystemFontsAndroid.h => gfx/src/nsSystemFontsAndroid.h
rename : gfx/src/thebes/nsSystemFontsGTK2.cpp => gfx/src/nsSystemFontsGTK2.cpp
rename : gfx/src/thebes/nsSystemFontsGTK2.h => gfx/src/nsSystemFontsGTK2.h
rename : gfx/src/thebes/nsSystemFontsMac.h => gfx/src/nsSystemFontsMac.h
rename : gfx/src/thebes/nsSystemFontsMac.mm => gfx/src/nsSystemFontsMac.mm
rename : gfx/src/thebes/nsSystemFontsOS2.cpp => gfx/src/nsSystemFontsOS2.cpp
rename : gfx/src/thebes/nsSystemFontsOS2.h => gfx/src/nsSystemFontsOS2.h
rename : gfx/src/thebes/nsSystemFontsQt.cpp => gfx/src/nsSystemFontsQt.cpp
rename : gfx/src/thebes/nsSystemFontsQt.h => gfx/src/nsSystemFontsQt.h
rename : gfx/src/thebes/nsSystemFontsWin.cpp => gfx/src/nsSystemFontsWin.cpp
rename : gfx/src/thebes/nsSystemFontsWin.h => gfx/src/nsSystemFontsWin.h
rename : gfx/src/thebes/nsThebesDeviceContext.cpp => gfx/src/nsThebesDeviceContext.cpp
rename : gfx/src/thebes/nsThebesDeviceContext.h => gfx/src/nsThebesDeviceContext.h
rename : gfx/src/thebes/nsThebesFontEnumerator.cpp => gfx/src/nsThebesFontEnumerator.cpp
rename : gfx/src/thebes/nsThebesFontEnumerator.h => gfx/src/nsThebesFontEnumerator.h
rename : gfx/src/thebes/nsThebesFontMetrics.cpp => gfx/src/nsThebesFontMetrics.cpp
rename : gfx/src/thebes/nsThebesFontMetrics.h => gfx/src/nsThebesFontMetrics.h
rename : gfx/src/thebes/nsThebesGfxFactory.cpp => gfx/src/nsThebesGfxFactory.cpp
rename : gfx/src/thebes/nsThebesRegion.cpp => gfx/src/nsThebesRegion.cpp
rename : gfx/src/thebes/nsThebesRegion.h => gfx/src/nsThebesRegion.h
rename : gfx/src/thebes/nsThebesRenderingContext.cpp => gfx/src/nsThebesRenderingContext.cpp
rename : gfx/src/thebes/nsThebesRenderingContext.h => gfx/src/nsThebesRenderingContext.h
2011-03-31 11:30:28 -07:00
Jonathan Kew
6b4f50d01a
bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu
2011-03-31 09:47:02 +01:00
Josh Matthews
b2ae468243
Bug 640968 - Avoid using null cache if the singleton does not actually exist. r=blassey
2011-03-24 19:37:07 -04:00