Commit Graph

3634 Commits

Author SHA1 Message Date
Benoit Jacob
ba4e0394e4 Bug 681400 - import ANGLE r739 - r=upstream 2011-08-24 11:32:17 -04:00
Matt Woodrow
5188be7c9c Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob 2011-08-24 13:56:30 +12:00
Matt Woodrow
dc9ab97c70 Bug 675532 - Add GLX debug mode. r=bjacob 2011-08-24 13:55:43 +12:00
Benoit Girard
7ea86c481d Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Ali Juma
defea5258d Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -04:00
Jacek Caban
0cbb10bd5d Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Jonathan Kew
a20455ee43 bug 680717 - use the correct loop index variable when parsing cmap VS subtable. r=jdaggett 2011-08-23 13:28:05 +01:00
Justin Wood
3ef675a7ec Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
f4ccdb742e Bug 594876 - Turn OpenGL compositing on by default on X11. r=joe 2011-08-20 14:04:24 +12:00
Matt Woodrow
2db91dc2ea Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc 2011-08-20 14:04:24 +12:00
Matt Woodrow
9890e1fe33 Bug 675532 - Add GLX debugging mode. r=bjacob 2011-08-20 14:04:24 +12:00
Jeff Muizelaar
037d7d743d Bug 668921. cairo: Fix fixup_unbounded_boxes() to work even if the box is smaller than the extents. r=ickle
Currently fixup_unbounded_boxes assumes that the extents are tight when we only
have one box. This is not always true. e.g. when we tesselate boxes we can end
up with only one box which is smaller than the extents and the extents are not
updated.

--HG--
extra : rebase_source : 5e01da7d845c1cd34f9e87d5c7de22dafe9df7a4
2011-08-19 11:26:23 -04:00
Hiroyuki Ikezoe
35ce0be6f4 Bug 678452 - Fix misuse of NS_ENSURE_ARG_POINTER. r=roc 2011-08-19 12:52:07 +02:00
Chris Lord
c785511059 Bug 611315 - Fix handling of rotated ShadowBufferOGL. r=mattwoodrow
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling uploads.

This fixes that handling by offsetting the updated region by the rotation and
adds an assertion if the updated region crosses a rotation boundary (which
should never happen).
2011-08-19 09:36:18 +01:00
Chris Lord
0aedc7dacb Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-19 09:36:08 +01:00
Chris Lord
7f1c4e37b9 Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:

- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile

Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-19 09:36:04 +01:00
Ed Morley
58bc85d190 Bug 670461 - Fix conversion from 'double' to 'PRUint32' build warning in gfx/src/nsRenderingContext.h(73); r=joedrew 2011-08-18 15:17:34 +02:00
Makoto Kato
896d2168dd Bug 678451 - Remove unused gfx files (mozilla-decoder.*, gfxIFormats.idl and gfxidltypes.idl). r=joe 2011-08-18 11:41:26 +09:00
Chris Lord
75809b99c5 Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow 2011-08-18 09:52:48 +12:00
Marco Bonardo
a1c8c3f3a3 Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression. 2011-08-17 22:55:14 +02:00
Benoit Girard
c98196049e Bug 666385 - Fix tiled scrolling on Android; r=roc
--HG--
extra : rebase_source : 8a4660808501e8dfc9c58f7769b6c05db6519e83
2011-08-10 08:47:23 -07:00
Jeff Muizelaar
c39caffd5a Bug 671428. cairo: Handle bad strides in acquire_source_surface. r=bas
Cairo requires image surfaces to have a particular stride alignment.
Sometimes the texture we get back from Direct3D doesn't meet these
requirements. In that case, copy to a different buffer that meets
these requirments.

--HG--
extra : rebase_source : b4a09d5dd33c921d36158f33fc2cd386ebe57883
2011-08-16 19:07:49 -04:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Bas Schouten
773198cdeb Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel 2011-08-16 04:37:00 +02:00
Daniel Holbert
21539bdc2a Bug 679091: Remove unused variable |size| from gfxASurface::FastMovePixels(). r=cjones 2011-08-15 17:15:55 -07:00
Jonathan Kew
6ac2cac59a bug 678181 - backout changeset c433a1d53dd5 (bug 668813 pt 1) on suspicion of causing crashiness. r=backout 2011-08-15 18:32:19 +01:00
L. David Baron
22f0790155 Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness).  Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
Jeff Muizelaar
49d871e1d4 Bug 664930 - Handle the case where an edge lies at the left most coordinate and initialize the rest of the data; r=bjacob 2011-08-12 15:18:06 -04:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Jonathan Kew
ef8cece286 bug 678181 - back out second part of bug 668813 (changeset 431a8297db1f) on suspicion of causing crashiness. r=backout 2011-08-13 13:34:56 +01:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
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