Commit Graph

9471 Commits

Author SHA1 Message Date
Jeff Gilbert
f68d00bf9a Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob 2014-02-13 15:38:53 -08:00
Jeff Gilbert
c296158df3 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Jeff Gilbert
fb236555b8 Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Milan Sreckovic
27abf0ad4d Bug 912794 - Setup a place where graphics preferences can live, safe from multi-threading issues. r=bjacob 2014-02-13 12:38:40 -05:00
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Jeff Gilbert
f300bc1aab Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Dmitry Rozhkov
2c9373d718 Bug 968222 - Update zoom scale and devPixelsPerPx in APZC upon orientation change. r=kats,botond 2014-02-12 21:27:45 +02:00
Markus Stange
bb055b7334 Bug 966996 - The computed gradient stops need not cover the origin, so don't start at zero. r=jrmuizel
--HG--
extra : rebase_source : cc8afae8083129aee8765855037fc89ea1280b1c
2014-02-13 12:11:16 +01:00
Markus Stange
80443d62bf Bug 966996 - Clamp the gradient extents to the current clip extents so that we don't compute unseen gradient stops. r=jrmuizel
--HG--
extra : rebase_source : 5ccf62603305ff2d88c98512e795fed87badc2c8
2014-02-13 12:10:43 +01:00
Markus Stange
44c7c2835d Bug 960017 - Make the surfaces big enough. r=Bas
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange
7a8f365ba0 Bug 960017 - Add some debug-only checks. r=Bas
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Nicolas Silva
27d133cd82 Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow 2014-02-13 11:45:13 +01:00
Phil Ringnalda
d6216c9ade Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten
e8ed6e1f20 Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel 2014-02-13 07:31:51 +01:00
Ryan VanderMeulen
7549943bac Merge m-c to inbound. 2014-02-12 15:58:22 -05:00
Ryan VanderMeulen
37a64da0e4 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Benoit Girard
8ee5fc432a Bug 971875 - Fix regression to HWC on b2g. r=sotaro
--HG--
extra : rebase_source : 8aaa3818d1dbfe1e07137010a7734a2da8dc3379
2014-02-12 15:25:52 -05:00
Ali Akhtarzada
cf5f5c5cfa Bug 959121 - Moz2Dify ImageClientSingle::UpdateImage. r=nical 2014-02-12 10:24:21 -05:00
Ali Akhtarzada
8779b97143 Bug 959120 - Moz2Dify AutoLockImage contructor. r=nical
Changed the AutoLockImage constructor to take a SourceSurface
instead of a gfxASurface
2014-02-12 10:24:21 -05:00
Mason Chang
d92f7844bd Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow 2014-02-12 10:24:20 -05:00
Sotaro Ikeda
c11af41305 Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical 2014-02-12 09:54:23 -05:00
Masatoshi Kimura
3cdb8254e4 Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame 2014-02-12 06:01:30 +09:00
Benoit Girard
5630e118c1 Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund
471e8c6b58 Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical
There seemed to be some duplication of code in the UpdateSurface method,
as well as an issue with updating that caused some reftests to fail.

In this patch, I remove the mSurface member variable from
CanvasLayerD3D9.h, and instead call mDrawTarget->Snapshot() as needed.

I also reuse the code to draw into the D3DLOCKED_RECT so that we don't
duplicate that portion anymore. It seems now to be more similar to the way
CanvasLayerD3D10 works.

The reftests now pass.
2014-02-12 10:07:47 -05:00
Tor Arvid Lund
19730a14f2 Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
ea7fb02614 Bug 948765 - Implement BasicColorLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
edf342c191 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Tor Arvid Lund
3b6d00b226 Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical
This file is currently just a helper for doing PremultiplySurface in
Moz2D. It corresponds to an existing Thebes one in the gfxUtils class.

An upcoming patch will require this PremultiplySurface method. The
existing one in gfxUtils has been renamed internally to
DeprecatedPremultiplyTables.
2014-02-12 10:07:46 -05:00
Masatoshi Kimura
e64f747483 Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy 2014-02-12 23:49:06 +09:00
Kartikaya Gupta
773eff20ab Bug 970070 - Update the last-dispatched-paint metrics when we get a scroll update from layout. r=botond 2014-02-12 09:04:38 -05:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jacek Caban
d58401494a Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Ali Akhtarzada
ef197a24c4 Bug 970327 - Add PNG dump utils for SourceSurface. r=nical 2014-02-11 13:41:09 -05:00
Ehsan Akhgari
d1964b92f6 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Nicolas Silva
a98bb5a45e Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
Kartikaya Gupta
40bb6ba9dc Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey 2014-02-11 10:42:42 -05:00
Masatoshi Kimura
9411ded657 Bug 957002. Stop including prtypes.h for endian macros. r=jrmuizel
We don't need these anymore.

--HG--
rename : config/autoconf-js.mk.in => config/autoconf.mk.in
rename : config/emptyvars-js.mk.in => config/emptyvars.mk.in
rename : dom/events/test/test_bug967796.html => dom/events/test/test_bug432698.html
extra : rebase_source : e9879157bb3efa8c1834c9d57ecfca8ddb9567a8
2014-02-10 18:45:43 -05:00
Benoit Girard
fd8eb83796 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Doug Sherk
247f79eba5 Bug 969860: Set GEL's state back to GESTURE_NONE after spoofing a touch start on pinch end r=kats 2014-02-10 12:43:12 -05:00
Ali Akhtarzada
a3118d7b92 Bug 970331 - Make sure moz pattern is not set on cairo context. r=nical 2014-02-11 09:22:46 -05:00
Jacek Caban
2a9babd0d5 Bug 970364 - Fix conversions between enum classes and ints in gfx/2d/. r=bas.schouten 2014-02-11 13:44:17 +01:00
Matt Woodrow
ede8359603 Bug 966679 - Follow-up to fix bustage on gcc 4.4, split Compose() into separate functions. CLOSED TREE 2014-02-11 17:58:01 +13:00
Matt Woodrow
aefec0df73 Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc 2014-02-11 17:01:49 +13:00
Matt Woodrow
5179f9a16e Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
Matt Woodrow
21ada525f1 Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
Matt Woodrow
1b9e2a7317 Bug 966679 - Make sure all RefLayers are resolved before calling BeginTransaction. r=nical 2014-02-11 17:00:16 +13:00
Matt Woodrow
2a1194062e Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc 2014-02-11 16:59:39 +13:00
Bill McCloskey
f98d7e2332 Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow) 2014-02-10 18:46:34 -08:00
Bill McCloskey
9dc45e266e Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow) 2014-02-10 18:46:27 -08:00
Bill McCloskey
f9915544fb Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow) 2014-02-10 18:45:11 -08:00