Commit Graph

47 Commits

Author SHA1 Message Date
Nicholas Cameron
26cbbbaaa2 Bug 895369. Add some asserts to ThebesLayerBuffer. r=mattwoodrow 2013-07-24 18:46:27 +12:00
Ryan VanderMeulen
841f54b252 Backed out changeset b86c8fc67f5b (bug 873937) for causing bug 895976. 2013-07-19 21:12:18 -04:00
Sotaro Ikeda
6d4e999a49 Bug 873937 - Extend ThebesLayerBuffer's height to more than 32. r=jmuizelaar 2013-07-18 10:06:46 -04:00
Matt Woodrow
4ef57ae4bc Bug 756601 - Fix bugs with OMTC component alpha. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
fbeb0e7f79 Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
1b4925d2fb Bug 809273 - Remove old buffer provider code. r=nrc 2013-04-22 14:40:52 +12:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Benoit Girard
042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Chris Jones
f79f5f15fd Bug 799644: Need to clear areas of rgba buffers we're about to repaint. r=mattwoodrow 2012-10-17 22:44:26 -07:00
Ryan VanderMeulen
657d66adaf Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391. 2012-10-03 22:13:14 -04:00
George Wright
e9fe9ba610 Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas 2012-10-02 22:09:12 -04:00
Chris Jones
c606a0e68f Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc 2012-09-20 12:49:03 -07:00
Chris Jones
39e006604f Bug 780330: Avoid mapping/unmapping buffers when we don't use them. r=mattwoodrow sr=roc 2012-09-12 03:41:34 -07:00
Ehsan Akhgari
e368dc9c85 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
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Cameron
99e2641b5e Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Jeff Muizelaar
a571beb2bc Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
Robert O'Callahan
ed241d1046 Bug 700867. Don't allow rotation when we're drawing a BasicThebesLayer that needs to be drawn atomically. r=tnikkel 2012-03-19 13:01:47 +13:00
Ehsan Akhgari
92064e6d3f 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
Michael Wu
d2b70213ac 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
a97f0fea4e Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
73527b85f3 Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel 2011-05-30 15:29:07 +12:00
Zack Weinberg
0d75035ecd Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Robert O'Callahan
a7b4f1246b Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
629c1b7e18 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
5d14389f57 Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow 2011-04-06 16:37:56 -07:00
Robert O'Callahan
181c9b04ba Bug 635373. ThebesLayerOGL needs to make sure we only sample valid pixels too. r=mattwoodrow 2011-04-01 10:33:46 +13:00
Chris Jones
8617d00c98 Bug 640444: Self-copies end up changing all buffer content, so we need to read back the entire buffer after swapping. r=Bas a=b 2011-03-11 23:22:39 -06:00
Chris Jones
5c61114efe Bug 635035, part 6: Use gfxASurface::MovePixels() for self-copies of ThebesLayerBuffers. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
ac95b431ba Bug 635035, part 2: Ensure that the buffer rect only grows in the presence of scaling. r=roc 2011-03-09 11:27:37 -06:00
Robert O'Callahan
808d55a6a9 Bug 635373. Disable ThebesLayerBuffer rotation for non-identity resolutions, and add API to disable rotation explicitly. r=cjones a=beltzner 2011-03-01 14:30:16 -06:00
Benjamin Stover
5aecf79a2c Bug 612599 Gray lines when using content.scrollTo r=cjones a=blocking-fennec 2011-01-07 08:11:18 -08:00
Brad Lassey
2a732521f3 bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Chris Jones
599ea35c26 Bug 603885, part 5: Move the code for getting a gfxContext for a quadrant update into its own method. r=roc 2010-11-05 02:17:07 -05:00
Oleg Romashin
8bf2f65db7 Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Chris Jones
f5894e967e Bug 570625, part 0: Don't throw out buffers when scrolling with a resolution applied. r=roc 2010-09-14 00:23:08 -05:00
Doug Turner
e41b48044c Bug 594080 - On mobile, use nearest-neighbor interpolation when drawing BasicThebesLayers with a scale transform. r=roc a=cjones 2010-09-09 12:33:04 -07:00
Chris Jones
a2c93af9b1 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Robert O'Callahan
dc9e28789b Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Chris Jones
40a231016e Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00