Commit Graph

3812 Commits

Author SHA1 Message Date
Benoit Girard
e84a828b1c Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage 2011-10-16 22:31:15 -04:00
Benoit Girard
1daed01c41 Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Jeff Walden
8e58215339 Bug 694709 - Remove $DXSDK_DIR/include from LOCAL_INCLUDES two places in ANGLE code. It's redundant with a sibling $MOZ_DIRECTX_SDK_PATH/include, at best, and at worst if the two conflict (as happens if the more-recently-installed DirectX SDK is not the most recent SDK), building breaks in the middle of ANGLE. r=bjacob
--HG--
extra : rebase_source : 909fa5cd8c1042fab7d2e95693541784d83bd23d
2011-10-14 16:28:14 -07:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Oleg Romashin
46a8580477 Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma 2011-10-15 21:07:10 +01:00
Matt Woodrow
67c757e3a4 Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc 2011-10-15 09:45:01 +13:00
Yati Sagade
83f095410d Bug 550969 - Fix white_point_from_temp to handle out of range input. r=jmuizelaar 2011-10-14 14:58:34 -04:00
Jonathan Kew
36c1dc9fbe bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Matt Woodrow
903d47038f Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas 2011-10-13 14:01:30 +13:00
Jonathan Kew
2b0c2eef67 bug 692744 - don't create a 1x1 image surface when it should really be empty. r=jrmuizel 2011-10-12 22:29:40 +01:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Woodrow
911c9a449a Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf 2011-10-12 16:16:06 +13:00
Benoit Girard
b30b117622 Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage 2011-10-11 21:36:03 -04:00
Benoit Girard
881b619cc6 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Kyle Huey
7acd90d977 Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Ted Mielczarek
50422c9345 bug 686371 - Use pixman C fallback on iOS. r=jmuizelaar 2011-10-10 16:01:55 -04:00
Benoit Girard
68a8c52603 Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar 2011-10-06 12:12:51 -07:00
Oleg Romashin
a969b2f6e7 Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones 2011-10-10 16:43:56 -07:00
Matt Brubeck
eb9465f1a3 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
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Brad Lassey
24e472b6ab merge 2011-10-10 11:01:34 -04:00
Brad Lassey
a80dbfc6f5 Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Jonathan Kew
7571b3d682 bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Jeff Gilbert
ddbd79d20d Bug 692458 - Fix for GLContext currency error - r=bjacob 2011-10-07 15:16:48 -04:00
Jonathan Kew
faf99ed6aa back out 32989cd5377b for total (non-DEBUG) bustage 2011-10-07 17:45:39 +01:00
Jonathan Kew
e2f00a270f bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Matt Woodrow
f5bcaad772 Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow
37b2a02d8f Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Matt Woodrow
5725b611f5 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
5ca101cd1c Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc 2011-10-07 10:22:18 +13:00
timeless@mozdev.org
14354c0e59 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
26e350dca1 Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Bas Schouten
f8f9365920 Bug 691571: Properly mark Azure DrawTarget changed on all drawing operations. r=jrmuizel 2011-10-05 16:08:56 +02:00
Benoit Jacob
f43b187c10 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
9d68aebc29 Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel 2011-09-13 10:49:01 -04:00
Doug Sherk
5b5702d6a4 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
d0562bfee9 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
8b7081cada Bug 690443 - Make GLContextEGL::CreateTextureImage pass on its aUseNearestFilter argument. r=bgirard 2011-09-30 09:33:20 -04:00
Matt Woodrow
e23cc710a1 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
4f70e5207f 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
a8d2514455 Merge mozilla-central into mozila-inbound 2011-09-29 12:51:50 -04:00
Michael Wu
48a76e1463 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
d8e503c38b 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
024d135d42 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
c4c535022d 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
ae53d5a0c3 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
8ddd2bdc2f 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
74b3e46a33 bug 688798 - disable client side rendering for maemo only r=cjones 2011-09-23 13:24:12 -04:00
Landry Breuil
4c9bbf5e1f Bug 651444 - inttypes.h is needed on OpenBSD to get uintptr_t; r=jmuizelaar 2011-09-27 19:59:34 +01:00
Kyle Huey
4a7c84e525 Merge m-i to m-c. 2011-09-27 08:33:03 -04:00
Dão Gottwald
46b5e8b3b3 add missing newline 2011-09-27 10:49:53 +02:00
Jonathan Kew
82097f362a bug 689179 - don't apply cswh feature by default. r=jdaggett 2011-09-27 09:45:55 +01:00
Matt Woodrow
77eeddfb4e Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf 2011-09-27 10:54:45 +13:00
Ehsan Akhgari
b542efd4e6 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
8fbf78c009 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
830bc91c3f 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
e85791a064 Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Benoit Jacob
ac72c48614 Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Jeff Muizelaar
531d78716c Bug 688902. 2d: Document Color as being non-premultiplied. r=bas 2011-09-24 11:51:29 -04:00
Jonathan Kew
4661532843 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
1f9c88fc75 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley
69df3bc60b Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Ed Morley
8bd144e7d9 Backout changeset f4b1fa7a0f31 (bug 684889) for Android bustage 2011-09-23 10:34:42 +01:00
Jonathan Kew
410af68cbb 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
66391fedb7 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Chris Jones
69ca107669 Bug 688115: Try harder to find EGLConfigs. r=ajuma 2011-09-22 22:58:15 -07:00
Florian Hänel
5b1dfe0a4d Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa 2011-09-22 00:16:12 -04:00
Jim Chen
ff43470eb0 Bug 672787 - Use proper alignment for libpixman ARM assembly; r=siarhei.siamashka 2011-09-21 09:01:07 -04:00
Landry Breuil
00c4f00daf Bug 651444 - Dont redefine intX_t types on OpenBSD; r=jmuizelaar 2011-09-20 17:32:18 +01:00
arno renevier
e96d12eda5 Bug 687634 - Test for whiteImage status in gfxXlibNativeRenderer::Draw; r=roc 2011-09-20 17:20:51 +01:00
Oleg Romashin
2043d49e51 Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones 2011-09-20 17:20:51 +01:00
Alon Zakai
e2ac733ae9 Bug 633627 - Fixedpoint division in blur code. r=jmuizelaar 2011-09-19 09:32:59 -07:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari
733e4ea2dd Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Florian Haenel
348c5227d7 Bug 667885 - about:support causes screen freeze. r=chrislord 2011-09-14 21:14:43 +02:00
Adrian Johnson
f5ccf3e8a4 Bug 454532. cairo: Print as Unicode. r=jrmuizel
--HG--
extra : rebase_source : 3b10e50f3763535d7eee5aa5dcdc6ca2ad445ad3
2011-09-14 11:44:15 -07:00
Chris Lord
7ab85e1b14 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
4ead548122 Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones 2011-09-14 08:51:24 +01:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Benoit Jacob
7f79f5e7b1 Bug 680840 - Use infallible allocations in GrowAtomTable() - r=dveditz 2011-09-09 18:00:21 -04:00
Jonathan Kew
fa0e53e436 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
283225c307 bug 686190 - ensure glyph buffer is flushed when necessary during synthetic bolding. r=jdaggett 2011-09-12 13:10:46 +01:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matheus Kerschbaum
2a89994f3f Bug 684155 - Remove MOZ_STATIC_BUILD r=khuey 2011-09-07 00:14:30 +01:00
Jonathan Kew
90e4ffa117 bug 3512 - support font-stretch in the GDI font backend. r=jdaggett 2011-09-05 08:34:40 +01:00
Jonathan Kew
52da6a7240 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
5baab87ad2 bug 3512 - implement font-stretch property for Linux (fontconfig) backend. r=karlt 2011-09-05 08:33:43 +01:00
Ehsan Akhgari
78f4e1ccb9 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
a171549936 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
effcb104f8 Bug 684049 - cairoint.h should only use lround in C99 programs; r=jrmuizel 2011-09-01 17:46:52 -04:00
Chris Lord
29aa750d42 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
b3bc1a2f7c bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett 2011-09-02 21:18:25 +01:00
Jonathan Kew
fe11128007 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
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Benoit Girard
645ee9b6d4 Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel 2011-08-31 15:58:19 -07:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00