Commit Graph

9554 Commits

Author SHA1 Message Date
L. David Baron
20ae29ccff Backed out changeset 31bc303caa56 (bug 970578) for failing to compile on many platforms, on a CLOSED TREE. 2014-02-14 20:55:41 -08:00
Doug Sherk
783858dcf1 Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats 2014-02-13 11:24:53 -05:00
Doug Sherk
2ac33b874c Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats 2014-02-13 11:24:53 -05:00
Ehsan Akhgari
de8052b706 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
56ec8c20a5 Bug 939276 - build bustage 2014-02-14 16:12:10 -06:00
James Willcox
48175fc2e0 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Bill McCloskey
57b623c1fe Back out assertion in bug 963952 for crashes 2014-02-14 13:35:49 -08:00
Andreas Pehrson
87cc055073 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson
c39d6fc9e7 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson
5f6eee106c Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
f5e9e64444 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson
053d840d5b Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson
9b11dcdc31 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson
eb2fa9c75e Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson
a61b8cc094 Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Ryan VanderMeulen
344dd922c4 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Ehsan Akhgari
3e1ad2460f Bug 969865 - Fix the allocation handling of frame time recording; r=avih
The size of these arrays can be controlled by a pref, but the max size
is bound to 216k, therefore we do not need to do a fallible allocation
for them.
2014-02-14 12:56:35 -05:00
Milan Sreckovic
76cb521333 Bug 971817 - GetLog statics are initialized too late. r=jdaggett 2014-02-14 10:27:47 -05:00
Andreas Pehrson
1cdf85e70e Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson
3b57ddea97 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson
ce51738acb Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
1fdf477883 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson
eeb6b7bfe7 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson
ced2402f77 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson
414a0a17f0 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson
cd99ce45cf Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Morris Tseng
6998680bed Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Ali Akhtarzada
2c7bbd2605 Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical 2014-02-18 08:59:34 -05:00
Nicolas Silva
dc6575b9c7 Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel 2014-02-14 10:20:41 +01:00
Wes Kocher
ee5da0ab00 Merge m-c to inbound on a CLOSED TREE 2014-02-13 18:50:08 -08:00
Wes Kocher
382e4b472b Merge b2g-inbound to m-c 2014-02-13 17:02:58 -08:00
Ryan VanderMeulen
41ac0e7e12 Merge m-c to b2g-inbound. 2014-02-13 10:32:21 -05:00
Sotaro Ikeda
78cb423d30 Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Nicolas Silva
f3df1dc1c3 Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow 2014-02-13 11:45:13 +01:00
Ryan VanderMeulen
8ca6124007 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Ali Akhtarzada
e3ab81296b Bug 959121 - Moz2Dify ImageClientSingle::UpdateImage. r=nical 2014-02-12 10:24:21 -05:00
Ali Akhtarzada
1b57105f97 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
40b0cfa157 Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow 2014-02-12 10:24:20 -05:00
Sotaro Ikeda
57345cecff Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical 2014-02-12 09:54:23 -05:00
Masatoshi Kimura
24b3683776 Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame 2014-02-12 06:01:30 +09:00
Milan Sreckovic
c349839321 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
785a0402ee Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Jeff Gilbert
f293d9048e Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Dmitry Rozhkov
f95cf51eb6 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
6c1f71473b 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
3a1354b2f9 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
efcd248c39 Bug 960017 - Make the surfaces big enough. r=Bas
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange
6ef8e10f62 Bug 960017 - Add some debug-only checks. r=Bas
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Jeff Gilbert
5cd597568c Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob 2014-02-13 15:38:53 -08:00
Jeff Gilbert
38115d3bf8 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Jeff Gilbert
4507e98ad6 Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Benoit Girard
d4789debbe Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund
b1c632ce74 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
a31d080fc6 Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
298876b747 Bug 948765 - Implement BasicColorLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
09df5cf35c 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
b272755e2d 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
e5fc47840c Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy 2014-02-12 23:49:06 +09:00
Kartikaya Gupta
2247452040 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
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jacek Caban
06c5f9e5cc Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Phil Ringnalda
11a4d1792b Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten
cc1b0d4865 Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel 2014-02-13 07:31:51 +01:00
Ryan VanderMeulen
a8eeeeb85c Merge m-c to inbound. 2014-02-12 15:58:22 -05:00
Benoit Girard
9836451746 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
f5a3044a06 Bug 970327 - Add PNG dump utils for SourceSurface. r=nical 2014-02-11 13:41:09 -05:00
Ehsan Akhgari
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Nicolas Silva
320150da1a Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
Kartikaya Gupta
8fce3ba9b2 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
3f8612390b 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
828b60ea42 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
cb96bdf766 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
62cda5ac7c Bug 970331 - Make sure moz pattern is not set on cairo context. r=nical 2014-02-11 09:22:46 -05:00
Jacek Caban
fc6cfb39f1 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
2eb7116930 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
69270deb38 Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc 2014-02-11 17:01:49 +13:00
Matt Woodrow
a008f620fb Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
Matt Woodrow
c6e16097b9 Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
Matt Woodrow
ce3484f7e9 Bug 966679 - Make sure all RefLayers are resolved before calling BeginTransaction. r=nical 2014-02-11 17:00:16 +13:00
Matt Woodrow
bf435a520d Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc 2014-02-11 16:59:39 +13:00
Bill McCloskey
5fa762bf98 Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow) 2014-02-10 18:46:34 -08:00
Bill McCloskey
2f2362b1f6 Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow) 2014-02-10 18:46:27 -08:00
Bill McCloskey
1e5217ce6b Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow) 2014-02-10 18:45:11 -08:00
L. David Baron
28f1ae0664 Bug 969898: Make gfx/heap-textures memory reporter support 64-bit numbers on 64-bit platforms. r=njn 2014-02-10 17:03:24 -08:00
Bill McCloskey
0bbb9d4f11 Bug 970496 - Make sure software compositor's invalid region is sane (r=mattwoodrow) 2014-02-10 16:43:32 -08:00
Wes Kocher
8c388d8430 Backed out changeset bde8b5894490 (bug 965381) for APZC failures 2014-02-10 16:02:06 -08:00
Jeff Gilbert
4f514cfdc6 Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish 2014-02-10 18:03:12 -05:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Kartikaya Gupta
4666e09d4c Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey 2014-02-10 17:34:24 -05:00
Sotaro Ikeda
5bfce7e8fc Bug 962101 - Handle Remove Texture in Compositable level. r=nical 2014-02-10 15:52:35 -05:00
Ryan VanderMeulen
7c4efd7351 Merge m-c to inbound. 2014-02-10 15:43:52 -05:00
Ryan VanderMeulen
afbec0e4a9 Merge inbound to m-c. 2014-02-10 15:42:58 -05:00
Ryan VanderMeulen
912aae99b9 Backed out changeset 68de70a3d9f8 (bug 969591) for assertions. 2014-02-10 11:04:20 -05:00
Mason Chang
41c5e4f8da Bug 969591 - Cleanup Thebes Layer if mRegionToDraw is Empty and we still have a buffer allocated. r=mattwoodrow 2014-02-10 08:56:31 -05:00
Kartikaya Gupta
bae6d34e37 Bug 969455 - Update FrameMetrics logging to include scroll generation. r=drs 2014-02-10 10:27:06 -05:00
Kartikaya Gupta
b8c763890e Bug 969455 - Forgot to update GfxMessageUtils.h when updating FrameMetrics.h in bug 963278. r=drs 2014-02-10 10:26:44 -05:00
Ehsan Akhgari
fb23854e8f Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Bill McCloskey
760c7bf9bb Bug 968635 - Store texture flags in the right place in TextureClientX11 (r=mattwoodrow) 2014-02-10 11:28:50 -08:00
Morris Tseng
8c18931d08 Bug 959114 - Remove websockify dependency from LayerScope. r=vlad, r=cku 2014-02-10 08:45:15 -05:00
Matt Woodrow
8b97bc5e71 Bug 966679 - Mark the layer as invalid when we get an async texture update. r=nical 2014-02-10 15:24:28 +13:00