Commit Graph

77 Commits

Author SHA1 Message Date
Benoit Jacob
7f759366c7 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Benoit Jacob
f801627b1e Bug 827170 - back out a920571903da to see if it is what caused SVG reftests (android R4) to fail - no review, bustage on a CLOSED TREE 2013-01-25 17:50:29 -05:00
Benoit Jacob
f8931fa873 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Chris Jones
8a2473fc33 Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc 2012-11-07 19:51:55 -08:00
Jeff Muizelaar
82d19c2b98 Bug 805689. Don't copy when we don't need subpixel AA. r=mwoodrow
Avoid copying the background for subpixel AA when we aren't using
subpixel AA rendering.
2012-10-31 22:12:26 -04:00
Chris Lord
d599966391 Bug 785333 - Add ContainerLayer::RepositionChild. r=bas
Add a function that can be used to quickly reposition a layer child, rather
than forcing removal/insertion and the extra work that can involve.
2012-08-29 11:52:55 +01:00
Chris Lord
b66d5cde2d Bug 785333 - Synchronise layer InsertAfter/RemoveChild methods. r=bas
InsertAfter/RemoveChild in the Direct3D and OpenGL Layer backends have fallen
behind the implementation in BasicContainerLayer. Synchronise them.
2012-08-29 11:52:44 +01:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
2b1ef36f45 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-08-13 22:10:10 +12:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
ec5933ed72 Bug 776940: Fix shutdown protocol of shadow OGL layers. r=vlad 2012-07-24 19:46:32 -07:00
Chris Jones
ba57040674 Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc 2012-07-17 16:59:45 -07:00
Ehsan Akhgari
cee73c3f9e Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions 2012-07-03 20:26:18 -04:00
Matt Woodrow
36717ce675 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-30 15:06:10 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Cameron
ece642df25 Bug 716439; using mask layers in OGL. r=BenWa 2012-03-19 09:08:53 +13:00
Nicholas Cameron
44c6d07ba4 Bug 733894; changing the framework for representing shaders in the OGL
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Matt Woodrow
bf3005c3f4 Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Chris Jones
c4d3bbde9f Bug 715232: Don't attempt to CopyTexImage from an RGB framebuffer to an RGBA texture. r=joedrew 2012-01-25 18:05:34 -08:00
Oleg Romashin
23660a956c Bug 715822 - OGL CleanupResources should cleanup Texture resources too. r=mattwoodrow 2012-01-16 00:41:55 -05: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
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
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
Robert O'Callahan
ea286efab6 Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas 2011-05-23 12:27:03 +12:00
Florian Hänel
ba640eeb4a Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe 2011-05-14 12:11:37 +12:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Matt Woodrow
ca1fbaeed0 Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
Matt Woodrow
260ec13425 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker. 2011-02-20 11:19:11 +13:00
Mike Shaver
4b8d36a579 backout of 6bad6cd2dded due to failure of test it added (a=backout-orange) 2011-02-19 11:08:39 -08:00
Matt Woodrow
24de18c7d0 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker.
See also bug 635383 for improving this logic in the longer term.
2011-02-18 18:11:00 -08:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Matt Woodrow
5a77adecad Bug 622585 - Fix logic deciding when to flip the scissor rect in OpenGL layer. r=jrmuizel a=blocking2.0 2011-02-16 16:19:45 +13:00
Oleg Romashin
1a9564c770 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe 2011-02-04 14:47:06 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Oleg Romashin
19db525f87 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe
--HG--
extra : rebase_source : 7983ed59e06d33e5c17878a24434eef409684d25
2011-02-04 14:47:06 -05:00
Matt Woodrow
b4e55ae952 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Oleg Romashin
3ae058666d Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-30 08:02:46 +02:00
Oleg Romashin
61e5abed8a Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0 2010-11-30 07:51:56 +02:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Tatiana Meshkova
b3ef0bae09 bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc 2010-11-16 18:33:56 -05:00
Markus Stange ext:(%2C%20Joe%20Drew%20%3Cjoe%40drew.ca%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
19a64fc670 Bug 593342 - Use double buffering on Mac instead of flushing, for greater performance. r=vlad,roc,joe a=b 2010-09-21 14:39:38 -04:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Matt Woodrow
eb10edeff3 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00