Jeff Gilbert
a3b143816e
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
Jeff Walden
4f3f8250ea
Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
...
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Robert O'Callahan
f6d9e65b02
Bug 703491. Part 2: use bools, not nsresults, and silence the rest of the assertions. r=bas
2011-11-24 12:01:39 +13:00
Ehsan Akhgari
3b2e403dd7
Remove the executable bit from the skia source files; rs=joe (no bug)
...
DONTBUILD
2011-11-23 15:18:18 -05:00
Nicholas Nethercote
a4c1789959
Bug 703456 - Kill REPORT_BUILD; kill it dead. r=ted.
2011-11-21 18:47:54 -08:00
Matt Brubeck
391dacada7
Merge last green changeset from mozilla-inbound to mozilla-central
2011-11-21 08:41:42 -08:00
Kyle Huey
3d4b98aef2
Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me
2011-11-21 09:56:24 -05:00
Oleg Romashin
1fe995bea0
Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=matt.woodrow
2011-11-20 08:49:48 -05:00
Benoit Jacob
8215f8aa3e
Bug 703917 - Upgrade ANGLE to r885 - no review
...
This is syncing us with the upstream http://code.google.com/p/angleproject
2011-11-19 18:18:59 -05:00
Jonathan Kew
5d3cc2bea2
bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett
2011-11-21 08:19:57 +00:00
Robert O'Callahan
46a8f52b3d
Bug 703491. Silence useless assertion. r=bas
2011-11-21 17:40:11 +13:00
Doug Sherk
ae918111a2
Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
...
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Oleg Romashin
9706557ec7
Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=jrmuizel
2011-11-18 14:01:35 +01:00
Joe Drew
9faa8a6d27
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-18 22:19:24 +13:00
Matt Woodrow
f1acc41494
Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel
...
--HG--
rename : gfx/thebes/EGLUtils.h => gfx/gl/EGLUtils.h
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProvider.h => gfx/gl/GLContextProvider.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderImpl.h => gfx/gl/GLContextProviderImpl.h
rename : gfx/thebes/GLContextProviderNull.cpp => gfx/gl/GLContextProviderNull.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLContextSymbols.h => gfx/gl/GLContextSymbols.h
rename : gfx/thebes/GLDefs.h => gfx/gl/GLDefs.h
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
2011-11-18 22:07:49 +13:00
Ed Morley
d06867876a
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
053e18194b
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Matt Woodrow
9f4d4881c9
Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas
2011-11-17 16:45:51 +13:00
Matt Woodrow
5adc6b8e01
Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Benoit Girard
1d1b235efb
Bug 671639 - Part 1: AttachIOSurface now updates the Framebuffer instead of recreating it. r=matt.woodrow
2011-11-16 11:36:06 +13:00
Jeff Walden
e15cf47cfd
Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones
2011-11-14 10:31:46 -08:00
Jonathan Kew
47c3c5c8dc
bug 702505 - [OTS] don't incorrectly discard OpenType layout tables due to presence of 'size' feature in GPOS. r=jdaggett
2011-11-16 14:13:16 +13:00
Benoit Girard
0cda6c0e73
Bug 701348 - qcms_transform_precacheLUT_float did not properly free dest buffer. r=jmuizelaar
2011-11-10 08:28:58 -05:00
Jacek Caban
e8e789bc52
Backed out changeset a21668ea9597 for Windows test failures
2011-11-15 14:09:06 +01:00
Jacek Caban
b8220f945e
Bug 670096 - cairo fails to compile on mingw with D2D and DWrite enabled r=cjones
2011-11-15 12:58:12 +01:00
Chris Pearce
f689fe4458
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00
Robert O'Callahan
f5a402ffe7
Bug 701528. Fix component alpha shader so correct destination alpha values are produced. r=bas
2011-11-14 17:42:08 +13:00
Joe Drew
890d07996d
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-14 17:29:28 +13:00
Joe Drew
303a252576
Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas
2011-11-14 17:29:14 +13:00
Joe Drew
3b842a0678
Bug 685322 - Create explicit conversion constructors for Rect and Point taking IntRect and IntPoint. r=roc
2011-11-14 17:29:01 +13:00
Matt Brubeck
d9a00c1f73
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Marco Castelluccio
dad1070375
Bug 699258 - Part 1: [Skia] Resolve Skia restrict problems.
2011-11-11 15:51:00 -05:00
Marco Bonardo
58bfb85dcd
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Gregory Szorc
dd260c7514
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
24695badf6
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Ali Juma
5ff47a56c5
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
c99fb93d82
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
f9737cefa1
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Benoit Jacob
b9688f7857
Bug 697845 - only call glFinish in RenderLayer, not in UpdateSurface - r=mattwoodrow
...
This could make WebGL a bit faster.
2011-10-29 19:15:52 -04:00
Matt Woodrow
4f177d1dba
Bug 702517 - Disable dithering of 32bit skia gradients. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
0160cea238
Bug 703463 - Let SourceSurfaceSkia snapshots take ownership of DrawTargetSkia pixel data when it is destroyed. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
d866e852f3
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
26c2668d5a
Bug 703428 - Handle invalid stroke options. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
c57d11d687
Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
01449931d4
Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
0b21d3a24b
Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
4503deadd0
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
f58c65db73
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
65fe650cde
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Marco Castelluccio
33003fe27f
Bug 699258 - Move skia gradient shader implementations out of the class to fix a compile error on windows. r=mattwoodrow
2011-11-11 15:51:00 +13:00
Jeff Muizelaar
3dc2412d44
Bug 703472. Retain the DataSourceSurface. r=bas
...
The Quartz Azure backend has the data owned by the DataSourceSurface so we
can't drop the DataSourceSurface after creating an image surface around it.
This patch keeps the DataSourceSurface around for the lifetime of the
gfxASurface.
--HG--
extra : rebase_source : d758646bab85d827c09af390d11e5e30ad33a6c9
2011-11-15 11:44:21 +13:00
Benoit Girard
d8ebb72e62
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
...
--HG--
extra : rebase_source : e121a8718fa68e602794957bae278d7351d7d585
2011-10-26 14:36:18 -07:00
Jonathan Kew
448a234431
Bug 689087 - Relax cmap format 4 checking slightly to allow Baskerville on Lion to work; r=jdaggett
2011-11-17 19:11:37 +01:00
Jonathan Watt
8a0b72332d
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Adrian Johnson
04bd6b7659
Bug 454532. Substitute "Courier" with "Courier New". r=jdagget
2011-10-28 09:58:49 -04:00
Matt Woodrow
4dff6352a5
Bug 687189 - Implement SkPaint::getPosTextPath. r=jrmuizel
2011-10-28 20:10:02 +13:00
Matt Woodrow
983581c509
Bug 687188 - Skia radial gradients should use the 0/1 color stop values for clamping. r=jrmuziel
2011-10-28 20:08:54 +13:00
Matt Woodrow
748e151af8
Bug 689069 - Disable frame pointer for Skia arm optimized functions. r=jrmuizel
2011-10-28 20:05:42 +13:00
Matt Woodrow
6ba9d89bcd
Bug 688333 - Build changes to compile skia. r=khuey
2011-10-28 20:05:35 +13:00
Matt Woodrow
4b4d0412eb
Bug 688333 - Initial import of Skia source code
2011-10-28 20:05:31 +13:00
Matt Woodrow
f9b815c30c
Bug 688333 - Add script for importing Skia into our source tree. r=jrmuizel
2011-10-28 20:05:24 +13:00
Benoit Girard
134532115c
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
202863145b
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
48817e26d9
Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar
2011-10-20 16:32:38 -04:00
Oleg Romashin
e9ae370ccc
Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones
2011-10-27 13:30:43 +02:00
Doug Sherk
1c15893d0b
Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
...
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Jeff Gilbert
f369e1aa40
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
0a33a7a798
Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc
2011-10-26 16:25:42 +13:00
Matt Woodrow
0ea6f9fa20
Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc
2011-10-26 16:19:13 +13:00
Matt Woodrow
99cf04846c
Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc
2011-10-26 16:15:53 +13:00
Ehsan Akhgari
c6b791606b
Bug 696889 followup - Remove the two patches which are no longer needed from the tree; rs=bjacob
...
DONTBUILD
2011-10-25 11:24:04 -04:00
Benoit Jacob
257620bd20
Bug 696889 - Upgrade ANGLE to r802 - no review
...
This is syncing us with the ANGLE project at
http://code.google.com/p/angleproject/
Also, with this new ANGLE revision, two WebGL conformance tests are now passing on windows so this patch removes them from failing_tests_windows.txt.
--HG--
rename : gfx/angle/angle-instrinsic-msvc2005.patch => gfx/angle/angle-intrinsic-msvc2005.patch
2011-10-25 08:58:43 -04:00
Landry Breuil
d81b4a6adc
Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
...
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Jonathan Kew
83fbbb1c82
bug 672456 - ensure proper font is selected into the DC for GDI text layout. r=jdaggett
2011-10-25 13:30:02 +01:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
964003f601
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Marco Bonardo
eb898b2d68
Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange
2011-10-21 12:07:32 +02:00
Marco Bonardo
7a65efe109
Merge mozilla-central to mozilla-inbound
2011-10-21 10:02:30 +02:00
Marco Bonardo
824c514d6a
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-21 10:00:11 +02:00
Jeff Gilbert
ca51139de9
Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob
2011-10-20 23:41:02 -04:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
dadc414f5e
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Jeff Muizelaar
52b2c7e436
Bug 690456. Initialize sz in a clearer way. r=joedrew
...
--HG--
extra : rebase_source : b4ac096a22ef8916e29e8a2a6cdb2fb8bce06594
2011-10-18 15:17:32 -04:00
Benoit Girard
9784f12f4d
Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel
2011-10-13 10:36:59 -04:00
Jeff Muizelaar
d6449a91c6
Bug 699507. cairo-win32: remove dead fallbacks. r=ajuma
...
This code was never used.
2011-11-04 12:07:12 -04:00
Jeff Muizelaar
c8e1bc84a2
Bug 699507. cairo-win32: remove dead create_span_renderer. r=ajuma
...
We create our span renderer ourselves so we don't need to implement
create_span_renderer anymore.
2011-11-04 12:06:46 -04:00
Jeff Muizelaar
c7aea97b45
Bug 699507. cairo-win32: inline check_span_renderer. r=ajuma
...
There's no need to call through _cairo_surface_check_span_renderer() because
we can make the decision directly.
--HG--
extra : rebase_source : 610b624d398665bc1ca9b47c35bd129d601c232b
2011-11-04 12:05:29 -04:00
Marco Bonardo
01f25559b7
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Phil Ringnalda
0794a9046f
Back out 446fbc59aa22 (bug 698205) for orange
2011-11-08 14:43:24 -08:00
Jeff Muizelaar
b4a44ef015
Bug 700773. qcms: cleanup up some integer types. r=bgirard
...
This fixes a couple of warnings in clang and makes things more consistent.
--HG--
extra : rebase_source : feac84090f270461a73de955902bc016b5835616
2011-11-08 15:43:33 -05:00
Bas Schouten
22a602342f
Bug 698205: Fix memory leak in Azure D2D backend gradients. r=jrmuizel
2011-11-08 20:24:24 +01:00
Jeff Gilbert
9f229b37a7
Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
d4f218fc86
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
825b094e01
Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
de773de2b6
Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
0e2d70e819
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
f64028dd1d
Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
7f1312bd00
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
dbe8765a97
Bug 615976 - Adds support for separate Draw/Read buffers in GLContext, with lazy blitting - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
441efd5332
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
63046148cd
Bug 686083 - Adds method to disable GL implementations - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
99bb756bd6
Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing.
2011-10-19 15:31:33 -04:00
Jeff Gilbert
03bb734c28
Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed
2011-10-19 15:09:57 -04:00
Jeff Gilbert
238d5879f3
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
69f1b4f393
Fixes layer compositing with AA on Mac
2011-10-19 15:09:57 -04:00
Jeff Gilbert
6c4a9283b6
Fixes for support for multisampled Mac/CGL GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
1b399b78a0
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Jeff Gilbert
a620f4be8d
Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample
2011-10-19 15:09:57 -04:00
Jeff Gilbert
656a0adcc0
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
41071bacf6
Adds support for separate Draw/Read buffers in GLContext, with lazy blitting
2011-10-19 15:09:57 -04:00
Jeff Gilbert
46d6e15195
Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
...
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Jeff Gilbert
fa4dfdd0ff
Fix for 686083: Adds method to disable GL implementations
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
1f2fca0d4d
Bug 694801 - VC11 fails to compile angle because pool_allocator<T> doesn't have operator =; r=bjacob
2011-10-19 10:17:02 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ehsan Akhgari
ba92e80802
Bug 694797 - Cairo fails to build with VC11 because it tries to #define inline, which is a keyword in C++; r=jrmuizel
2011-10-17 10:42:45 -04:00
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
Bas Schouten
b6b1c04f23
Bug 710509: Allow Skia to be easily switched off. r=khuey
2011-12-14 08:04:32 -05:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Ms2ger
f5e3aeffd1
Bug 709519 - Remove unused 1-argument nsRenderingContext::DrawEllipse; r=joe a=ehsan
2011-12-13 09:49:31 +11: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
Matt Woodrow
3ec9b74079
Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc
2011-08-31 14:03:34 +12:00
Benoit Jacob
5de2c95a0d
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
c9ea4b6537
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
e1a5b73680
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
de2c647b2f
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
d5d60db425
Bug 634759 Allow buffer rotation for mobile r=roc
2011-08-29 10:56:50 -07:00
Jonathan Kew
04e54a46d6
bug 680402 - avoid calling SanitizeGlyphRuns repeatedly during textrun construction with multiple scripts. r=jdaggett
2011-08-29 09:21:53 +01:00
Karl Tomlinson
8ca3b32d02
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
fd0bfbd9fd
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
f9d4b0bc4e
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Matt Woodrow
784208bb3e
Bug 675837 - Add 3D transforms support to BasicLayers. r=roc
2011-08-27 12:04:06 +12:00
Matt Woodrow
3df75d69f2
Bug 675837 - Add gfxContext::ClipContainsRect. r=roc
2011-08-27 12:03:04 +12:00
Matt Woodrow
5e32aaf40c
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
44bfc89d91
Bug 682327 - ASSERTION: Failed to make GL context current; r=ajuma
2011-08-27 00:23:02 +01:00
Ed Morley
a31b5adc78
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)
944c74ce98
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Ed Morley
1cf0ed230b
Merge last green changeset of mozilla-inbound to mozilla-central
2011-08-25 01:09:05 +01:00
Tatiana Meshkova
2ebf98b216
Bug 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa
2011-08-24 16:19:15 -07:00
Chris Lord
7ad668b25a
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
7cb6cc6d06
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
ba4e0394e4
Bug 681400 - import ANGLE r739 - r=upstream
2011-08-24 11:32:17 -04:00
Chris Lord
eab558f3d1
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
9f3d985c52
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
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
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