Граф коммитов

9653 Коммитов

Автор SHA1 Сообщение Дата
Benoit Girard fef1f7c122 Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage 2011-10-11 21:36:03 -04:00
Benoit Girard b68dcd1a37 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Kyle Huey 3fc13b7b6d Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Ted Mielczarek be05dfce26 bug 686371 - Use pixman C fallback on iOS. r=jmuizelaar 2011-10-10 16:01:55 -04:00
Benoit Girard 011a0ece0e Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar 2011-10-06 12:12:51 -07:00
Oleg Romashin be134854a7 Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones 2011-10-10 16:43:56 -07:00
Matt Brubeck e8cbf38fa7 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Ehsan Akhgari 46f95f9ad9 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Brad Lassey 1984f4b690 merge 2011-10-10 11:01:34 -04:00
Brad Lassey 472de3a44a Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin f098738cd4 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Jonathan Kew 6aad6c5836 bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Jeff Gilbert 8a0a638428 Bug 692458 - Fix for GLContext currency error - r=bjacob 2011-10-07 15:16:48 -04:00
Jonathan Kew 4252f39559 back out 32989cd5377b for total (non-DEBUG) bustage 2011-10-07 17:45:39 +01:00
Jonathan Kew 8b00b4dee9 bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Matt Woodrow 1934f743d7 Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow 669bd978eb Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Matt Woodrow 224fe2d2f1 Bug 684759 - Part 3a - Sort preserve-3d layers using their z depth at points where they intersect in 2d space. r=roc 2011-10-07 10:23:18 +13:00
Matt Woodrow c45a16d1df Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc 2011-10-07 10:22:18 +13:00
timeless@mozdev.org 01e5ea98a3 Bug 620171 - [@ ImageContainerOGL::GetCurrentAsSurface] if GetFormat() can return anything other than PLANAR_YCBCR or CAIRO_SURFACE
r=bgirard
2011-10-10 15:27:05 +01:00
Ali Juma 8d44e3dfeb Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Bas Schouten 0c716243d1 Bug 691571: Properly mark Azure DrawTarget changed on all drawing operations. r=jrmuizel 2011-10-05 16:08:56 +02:00
Benoit Jacob 428d131019 Bug 658826 - disable optimization in D3DCompiler to avoid freeze bugs - r=jrmuizel
ANGLE's own buildsystem, which Chrome uses, has been doing this for a long time. This aligns us with them.
2011-10-03 23:09:03 -04:00
Josh Matthews e66ec993d9 Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel 2011-09-13 10:49:01 -04:00
Doug Sherk 7fbbe5ab74 Bug 684853: implement OES_standard_derivatives
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Benoit Jacob af9e531138 Bug 690735 - upgrade ANGLE to r774 - no review, just syncing with upstream
This doesn't involve any Makefile change so should be relatively safe.

This is needed for:
  * BUILTIN_FUNCTION_EMULATION (r773,774), blocker for 665578
  * extensions validation in shaders (r745), blocker for 684853
  * major performance improvements and bug fixes
2011-10-01 00:03:10 -04:00
Ali Juma 45454493af Bug 690443 - Make GLContextEGL::CreateTextureImage pass on its aUseNearestFilter argument. r=bgirard 2011-09-30 09:33:20 -04:00
Matt Woodrow c2ce6259ac Bug 689501 - Use an offscreen surface for rendering 3d transformed content instead of PushGroup in BasicLayers. r=roc 2011-09-30 14:13:50 +13:00
Chris Coulson 5fdbc9e8ad Bug 690432: Fix "format not a string literal and no format arguments" error in gfx logging code. r=bas 2011-09-29 12:25:07 -07:00
Ehsan Akhgari b6f090784e Merge mozilla-central into mozila-inbound 2011-09-29 12:51:50 -04:00
Michael Wu a14efdef80 Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame 2011-09-29 03:59:43 -07:00
Michael Wu ac54b41b01 Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Rafael Ávila de Espíndola 32d279f08c Bug 690235 - Fix Mac builds with clang caused by bug 666414 not catching the stupidness of gcc4.2 (see bug 689397); r=ehsan 2011-09-29 10:56:57 -04:00
Oleg Romashin b0a107ab29 Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin 7ec9c0bcb5 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Oleg Romashin 7dd5232e47 Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Brad Lassey f456eadf17 bug 688798 - disable client side rendering for maemo only r=cjones 2011-09-23 13:24:12 -04:00
Landry Breuil 42f752b7a0 Bug 651444 - inttypes.h is needed on OpenBSD to get uintptr_t; r=jmuizelaar 2011-09-27 19:59:34 +01:00
Kyle Huey a05812adf5 Merge m-i to m-c. 2011-09-27 08:33:03 -04:00
Dão Gottwald 0de2ca5547 add missing newline 2011-09-27 10:49:53 +02:00
Jonathan Kew cd9bad484a bug 689179 - don't apply cswh feature by default. r=jdaggett 2011-09-27 09:45:55 +01:00
Matt Woodrow 811f656e2c Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf 2011-09-27 10:54:45 +13:00
Ehsan Akhgari 10fb1dbda5 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Benoit Girard 11148902e3 Bug 687864 - Part 2: Add offline renderer awareness for Mac OGL in plugins; r=jmuizelaar 2011-09-21 15:20:52 -04:00
Benoit Girard a9630e4260 Bug 687864 - Part 1: Add offline renderer awareness for Mac OGL in browser; r=jmuizelaar 2011-09-21 15:20:40 -04:00
Ali Juma 329778947c Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Benoit Jacob f6669a003b Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Jeff Muizelaar ff52c21b41 Bug 688902. 2d: Document Color as being non-premultiplied. r=bas 2011-09-24 11:51:29 -04:00
Jonathan Kew 95088f829f bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett 2011-09-23 12:16:13 +01:00
Jonathan Kew 4332abb7f3 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley 7767126300 Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Ed Morley 5c86c8bab1 Backout changeset f4b1fa7a0f31 (bug 684889) for Android bustage 2011-09-23 10:34:42 +01:00
Jonathan Kew 2733184f2a bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett 2011-09-23 09:53:41 +01:00
Jonathan Kew 1a937a885c bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Chris Jones 1dbbdbfeb2 Bug 688115: Try harder to find EGLConfigs. r=ajuma 2011-09-22 22:58:15 -07:00
Florian Hänel 69c8f51a20 Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa 2011-09-22 00:16:12 -04:00
Jim Chen 141a1c6c56 Bug 672787 - Use proper alignment for libpixman ARM assembly; r=siarhei.siamashka 2011-09-21 09:01:07 -04:00
Landry Breuil 304ec3cb7e Bug 651444 - Dont redefine intX_t types on OpenBSD; r=jmuizelaar 2011-09-20 17:32:18 +01:00
arno renevier 6d67327e51 Bug 687634 - Test for whiteImage status in gfxXlibNativeRenderer::Draw; r=roc 2011-09-20 17:20:51 +01:00
Oleg Romashin abbc248a06 Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones 2011-09-20 17:20:51 +01:00
Alon Zakai e4b362e602 Bug 633627 - Fixedpoint division in blur code. r=jmuizelaar 2011-09-19 09:32:59 -07:00
Kyle Huey af85bd8b2c Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari cc60054a3e Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook f25a6bc977 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Kyle Huey 18e2976d19 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Florian Haenel 32d6b82dd7 Bug 667885 - about:support causes screen freeze. r=chrislord 2011-09-14 21:14:43 +02:00
Adrian Johnson 6cbb2f9387 Bug 454532. cairo: Print as Unicode. r=jrmuizel
--HG--
extra : rebase_source : 3b10e50f3763535d7eee5aa5dcdc6ca2ad445ad3
2011-09-14 11:44:15 -07:00
Chris Lord 5aa15831e6 Bug 683514 - Use GL_EXT_unpack_subimage when available (part 2). r=joe
The previous patch used the extension in GLContext::TexImage2D, but not
TexSubImage2D. This patch corrects that and makes sure to use the extension
in both cases.
2011-09-14 10:54:54 -07:00
Oleg Romashin fd638cf4a1 Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones 2011-09-14 08:51:24 +01:00
Kyle Huey 69617da4ba Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Benoit Jacob 00d7637115 Bug 680840 - Use infallible allocations in GrowAtomTable() - r=dveditz 2011-09-09 18:00:21 -04:00
Jonathan Kew e2ea57fc87 bug 686190 - crashtest. r=jdaggett
--HG--
rename : layout/reftests/fonts/Prototype.ttf => gfx/tests/crashtests/Prototype.ttf
2011-09-12 21:49:37 +01:00
Jonathan Kew 9cfbcccfc0 bug 686190 - ensure glyph buffer is flushed when necessary during synthetic bolding. r=jdaggett 2011-09-12 13:10:46 +01:00
Kyle Huey 3c5aedafa5 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matheus Kerschbaum 5adf06c84c Bug 684155 - Remove MOZ_STATIC_BUILD r=khuey 2011-09-07 00:14:30 +01:00
Jonathan Kew 9573ab57b4 bug 3512 - support font-stretch in the GDI font backend. r=jdaggett 2011-09-05 08:34:40 +01:00
Jonathan Kew c741cae8f2 bug 3512 - fix computation of StyleDistance to account for font-stretch more accurately. r=jdaggett 2011-09-05 08:34:12 +01:00
Jonathan Kew 3b3c24c548 bug 3512 - implement font-stretch property for Linux (fontconfig) backend. r=karlt 2011-09-05 08:33:43 +01:00
Ehsan Akhgari eb98e83e7c Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari 2489ec0182 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Ehsan Akhgari 2a96e9b0ba Bug 684049 - cairoint.h should only use lround in C99 programs; r=jrmuizel 2011-09-01 17:46:52 -04:00
Chris Lord e1602e2e8f Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).

This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.

Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-09-09 10:41:11 +01:00
Jonathan Kew 59f68737fb bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett 2011-09-02 21:18:25 +01:00
Jonathan Kew 3ad15a1de2 bug 683618 - adjust glyph metrics appropriately when applying synthetic bolding on Android (gfxFT2Fonts). r=jdaggett 2011-09-02 21:18:10 +01:00
Ed Morley 650a8a75a6 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Benoit Girard dc74a5282c Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel 2011-08-31 15:58:19 -07:00
Kyle Huey a733d4d347 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Matt Woodrow 0c8db7cb1e Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc 2011-08-31 14:03:34 +12:00
Benoit Jacob 3569758375 Bug 682506 - Upgrade ANGLE to r740 - r=upstream
I need this now especially as it gets us the shader modification mechanisms to work around Mac GL crashes, see bug 665578

The relevant ANGLE revisions are 734, 738, and 740 fixes a bug in 738.

This also allows us to reset our set of cherrypicked ANGLE revisions which was starting to be very big.
2011-08-30 18:50:05 -04:00
Jonathan Kew a546bea919 bug 675383 - add a tiny delta to x-coordinates to avoid erratic spacing of DWrite font using GDI rendering mode when a transform (e.g. synthetic italics) is in effect. r=bas 2011-08-30 20:44:34 +01:00
Chris Lord b867c6b3d2 Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).

This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.

Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-08-31 18:25:25 +01:00
Joshua Cranmer c53373976e Bug 681634 - Get m-c to build with static checking; NS_OVERRIDE failure in gfx. r=cjones 2011-08-29 12:29:51 -07:00
Benjamin Stover 6bca62e7c7 Bug 634759 Allow buffer rotation for mobile r=roc 2011-08-29 10:56:50 -07:00
Jonathan Kew 95970ea876 bug 680402 - avoid calling SanitizeGlyphRuns repeatedly during textrun construction with multiple scripts. r=jdaggett 2011-08-29 09:21:53 +01:00
Karl Tomlinson 6d410f0c0f b=678561 fix strcmp logic error introduced in 032297452afd r=jfkthame
--HG--
extra : transplant_source : %CB%23%CC%E9%F9%84%F2%7B%02%E3%0D%2C%F3%7B%7D%EA%F3cY2
2011-08-26 10:57:51 +12:00
Matt Woodrow f759ab2855 Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf 2011-08-27 12:07:05 +12:00
Matt Woodrow 19a7d127bb Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matt Woodrow 7da28f98a5 Bug 675837 - Add 3D transforms support to BasicLayers. r=roc 2011-08-27 12:04:06 +12:00
Matt Woodrow 40b785ca36 Bug 675837 - Add gfxContext::ClipContainsRect. r=roc 2011-08-27 12:03:04 +12:00
Matt Woodrow 72dd10803c Bug 675837 - Only flush Quartz surfaces on the success paths during cairo_quartz_get_image. r=roc 2011-08-27 12:02:03 +12:00
Oleg Romashin 4a774b6f11 Bug 682327 - ASSERTION: Failed to make GL context current; r=ajuma 2011-08-27 00:23:02 +01:00
Ed Morley 614e8bdc51 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 6e8022d0b4 Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Ed Morley 16078ec601 Merge last green changeset of mozilla-inbound to mozilla-central 2011-08-25 01:09:05 +01:00
Tatiana Meshkova 95e5df825d Bug 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa 2011-08-24 16:19:15 -07:00
Chris Lord 5f138b7af9 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-24 20:21:53 +01:00
Oleg Romashin dae581c361 Bug 677712 - Make Qt port support No X11 build; r=dougt,joe
--HG--
rename : dom/plugins/ipc/NPEventX11.h => dom/plugins/ipc/NPEventUnix.h
2011-08-24 17:15:58 +01:00
Benoit Jacob 05e5c6e76f Bug 681400 - import ANGLE r739 - r=upstream 2011-08-24 11:32:17 -04:00
Chris Lord fa2eb454b3 Bug 611315 - Fix handling of rotated ShadowBufferOGL
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 updates.

This fixes that handling by offsetting the updated region by the rotation,
and if that new region crosses texture boundaries, splitting it into
multiple uploads.
2011-08-24 15:10:03 +01:00
Chris Lord 47440d1eaa Fix drawing of GL Thebes layers with rotation when using tiled textures
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-24 15:09:59 +01:00
Matt Woodrow f072105a3d Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob 2011-08-24 13:56:30 +12:00
Matt Woodrow 3a5bd224c0 Bug 675532 - Add GLX debug mode. r=bjacob 2011-08-24 13:55:43 +12:00
Benoit Girard f9d86a4ee5 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 3907c4a266 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 c6036c1c5c Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Jonathan Kew 19548169db 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 5e50dbe670 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 04cb43744e Bug 594876 - Turn OpenGL compositing on by default on X11. r=joe 2011-08-20 14:04:24 +12:00
Matt Woodrow 79eb8b98c8 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 5b709d19f6 Bug 675532 - Add GLX debugging mode. r=bjacob 2011-08-20 14:04:24 +12:00
Jeff Muizelaar f96d4372b5 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 de7992113c Bug 678452 - Fix misuse of NS_ENSURE_ARG_POINTER. r=roc 2011-08-19 12:52:07 +02:00
Chris Lord 7d1f192cc5 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 0dd7097f9b 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 37774578b6 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 38ac18531e 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 4663ed52fc 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 d76f4073e0 Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow 2011-08-18 09:52:48 +12:00
Marco Bonardo bc786313e0 Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression. 2011-08-17 22:55:14 +02:00
Benoit Girard 6b2ff85fcb Bug 666385 - Fix tiled scrolling on Android; r=roc
--HG--
extra : rebase_source : 8a4660808501e8dfc9c58f7769b6c05db6519e83
2011-08-10 08:47:23 -07:00
Jeff Muizelaar c6aeedd0c9 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 7ef139c508 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Bas Schouten 35d30b70ea Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel 2011-08-16 04:37:00 +02:00
Daniel Holbert e145d6b74a Bug 679091: Remove unused variable |size| from gfxASurface::FastMovePixels(). r=cjones 2011-08-15 17:15:55 -07:00
Jonathan Kew 0f01da68e5 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 b91ad4d41f 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 3a5f5d8a37 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 a13fbb2eed Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Jonathan Kew 7a06588a3b 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 840353c068 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 993a5395d2 Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Rafael Ávila de Espíndola 3fa692759f 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 166de5a0cf Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Benoit Jacob 832c79d5d2 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 c20c7473d6 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 91cc3cdc07 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 c8204f38b9 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 42b5b42c90 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 93a718c08d 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 8f708dccbb Merging mozilla-central into mozilla-inbound. 2011-08-11 13:09:54 +02:00