Milan Sreckovic
95619c8d0d
Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard
2014-02-26 21:52:54 -05:00
Milan Sreckovic
3dfa3dead4
Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva
2014-02-26 21:52:54 -05:00
Vivien Nicolas
ab4d18e9fd
Bug 977207 - The fps counter requires a restart to be displayed. r=bgirard
2014-02-26 23:12:35 +01:00
Milan Sreckovic
825c103203
Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob
2014-02-22 18:53:04 -05:00
Ryan VanderMeulen
0fceb198fa
Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures.
2014-02-21 12:35:35 -05:00
Milan Sreckovic
eb4c7c8908
Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa
2014-02-18 19:55:48 -05:00
Bill McCloskey
4d1519077d
Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe)
2014-02-20 17:26:41 -08:00
Wes Kocher
8d647a6ec0
Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
...
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
91032a3dca
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ehsan Akhgari
5643b79842
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
ee9a1556e5
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
Milan Sreckovic
327933ac1d
Bug 971817 - GetLog statics are initialized too late. r=jdaggett
2014-02-14 10:27:47 -05:00
Milan Sreckovic
690e84b90c
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
Benoit Girard
0f3a70b95f
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
Ehsan Akhgari
d91d200572
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
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Milan Sreckovic
b0b663f7da
Bug 967794 - Pick up the low resolution preference during the session, not just at start. r=Cwiiis
2014-02-05 14:42:15 -05:00
Nicolas Silva
78ddfafb28
Bug 965844 - Remove the pref "layers.prefer-memory-over-shmem". r=gal
2014-01-31 14:22:25 +01:00
Nicolas Silva
7e4d9d4164
Bug 965804 - Ignore the deprecated texture pref except on Windows. r=Bas,Vlad
2014-01-31 14:17:11 +01:00
Oleg Romashin
e153d57ee2
Bug 840874 - Get Skia backend working on Qt port. r=bas
2014-01-29 23:01:16 -08:00
Benoit Girard
07811375fe
Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange
2014-01-29 18:26:38 -05:00
Benoit Jacob
aebf0bb92a
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
ed427f9600
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Nicholas Cameron
8a8c7b4d2b
Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow
2014-01-22 11:15:48 +13:00
guozhu cheng
cf3277421c
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Ryan VanderMeulen
5ced299fa2
Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
...
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng
46a51e4e02
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Nicholas Cameron
ec62fec751
Bug 956967. If we have to fallback to our default Azure backend, we must support that backend. r=nical
...
--HG--
extra : rebase_source : 2cc8d34078df6db64353cf5236572f085c2be72e
2014-01-12 17:02:18 +13:00
Benoit Jacob
6660086ef4
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
ccaa35314d
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Milan Sreckovic
5e81b5895e
Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=BenWa
2014-01-09 13:17:29 -05:00
Wes Kocher
1b803048c2
Backed out changeset 010f5faed9cf (bug 956796) for build bustage
2014-01-08 15:03:23 -08:00
Milan Sreckovic
8ca53ac317
Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=bgirard
2014-01-06 14:14:39 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Henri Sivonen
93d2e07020
Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame.
2014-01-02 09:18:20 +02:00
Nicholas Cameron
15d5a81b18
Bug 898828. Don't even try async video on Windows. r=nical
2013-12-21 10:37:07 +13:00
Chris Lord
eb39e0acf3
Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
...
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Trevor Saunders
d43c55ca0e
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Phil Ringnalda
ef063fb0d4
Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes
2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8
Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow).
2013-12-12 20:29:14 -08:00
Bill McCloskey
e3463fe50e
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
Matt Woodrow
c40c4b1a78
Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas
2013-12-12 10:05:26 +13:00
Ehsan Akhgari
e004ec8ac0
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Andreas Gal
62ef63ce40
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Benoit Girard
48786b9c7c
Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
...
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Nicholas Nethercote
39004db706
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Markus Stange
3ba56fecc6
Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa
2013-11-27 08:33:39 +01:00
Nicholas Cameron
ad4e27c5f7
Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow
2013-11-27 11:15:17 +13:00
John Daggett
11931c9dfc
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Benoit Girard
5aa117f19b
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Benoit Jacob
98bafb9609
Bug 937204 - 1/3. Simplify the D3D9_LAYERS gfxinfo check and only run it on Windows - r=jrmuizel
2013-11-15 11:28:40 -05:00
Nicholas Cameron
69478b80a7
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE.
2013-11-15 10:54:25 +13:00
Jaroslav Kopecký
be4abc046a
Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa
2013-11-08 09:04:30 -05:00
Andreas Gal
fed880adef
Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc
2013-11-08 17:50:39 +13:00
Peter Chang
b9df3af067
Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280
2013-11-07 09:20:58 -05:00
Benoit Girard
1dffedf3df
Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Benoit Girard
5788c09304
Bug 935701 - Get drawing recording working on b2g. r=bas
...
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Matt Woodrow
cb73971347
Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
...
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Chris Lord
f500d6a735
Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa
2013-10-31 15:53:51 +00:00
James Willcox
f44cfbba54
Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
...
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Robert O'Callahan
d862803ca5
Bug 924679. Part 1: Band-aid robustness fix. r=mattwoodrow
...
--HG--
extra : rebase_source : fee33a1412e123adb2fbd91221684c1ece8d8b86
2013-10-25 23:25:39 +02:00
Jonathan Watt
0ea41b656f
Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas
2013-10-24 17:50:26 +02:00
Ed Morley
0d194ca5ae
Backed out changeset 9cd10d6fb0de (bug 930516)
2013-10-24 18:44:55 +01:00
Jonathan Watt
eda1cc23be
Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas
2013-10-24 17:50:26 +02:00
Matt Woodrow
b721789ba1
Bug 844819 - Don't create DrawTargets for invalid cairo surfaces. r=Bas
2013-10-24 16:35:29 +02:00
George Wright
ecae0e66b7
Bug 920160 - Add prefs for SkiaGL cache size r=snorp
...
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
f1a11dfd16
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Nicholas Cameron
abd5b28be1
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E)
d53de97263
Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa
2013-08-14 16:31:05 +12:00
Matt Woodrow
10d608653c
Bug 914984 - Enable Azure content for b2g. r=nrc
2013-08-15 10:49:45 +12:00
John Daggett
a103db7527
Bug 901845 - add a pref to specify the max entries in a word cache. r=jfkthame
2013-09-11 10:36:57 +09:00
John Daggett
007662fa1d
Bug 901845 - add a pref to specify the length limit of words in word caches. r=jfkthame
2013-09-11 10:36:57 +09:00
Ryan VanderMeulen
66808396a3
Backed out changeset 35575118c650 (bug 912794) for asserts.
2013-09-06 23:08:36 -04:00
Milan Sreckovic
5413b28258
Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
...
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.
--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Matt Woodrow
f4bda420bc
Bug 909000 - Make SupportsAzureContentForBackend only return true for backends allowed by the current prefs. r=nrc
2013-08-26 16:13:24 +12:00
Matt Woodrow
e2c4e8b284
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
David Anderson
c926626e10
Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron).
2013-08-19 00:13:32 -07:00
Arnaud Sourioux
25dd048448
Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame
2013-08-16 09:18:36 -04:00
Nicholas Cameron
6668fc7c4a
Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow
2013-08-09 11:32:19 +12:00
Nicholas Cameron
dcdeebdb8d
Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow
2013-08-09 11:30:19 +12:00
Nicolas Silva
8d92d2210c
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Nicholas Cameron
f742a26a6e
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Birunthan Mohanathas
c742394e75
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Nicholas Cameron
8e21f36a1b
Bug 756606. Don't try to fast path D2D A8 surfaces in GetSourceSurfaceForSurface. r=Bas
2013-07-29 10:12:37 +12:00
Matt Woodrow
70cfe88aa9
Bug 892966 - Clear any cached SourceSurfaces when a gfxASurface is flushed or marked dirty. r=jrmuizel
2013-07-11 22:44:29 -04:00
Phil Ringnalda
eb8de189ea
Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
...
CLOSED TREE
2013-07-12 16:39:36 -07:00
Matt Woodrow
eb65fc3063
Bug 892966 - Implement CreateSourceSurfaceFromNativeSurface for DrawTargetCG and use it instead of copying pixel data. r=jrmuizel
2013-07-12 17:19:28 -04:00
Avi Halachmi
5d2c672668
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Jeff Muizelaar
1e6e84f8d1
Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
...
This is not the best approach but it works for now. We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.
--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Benoit Girard
0cad7b2d27
Bug 890630 - Port FrameCounter to the compositor API. r=nical
2013-07-06 12:19:52 -04:00
Benoit Jacob
2647d72fc9
Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow
2013-06-16 22:07:18 -04:00
Benoit Jacob
5ee1188ac5
Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel
2013-06-28 22:48:35 -04:00
George Wright
df877b614e
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
George Wright
8a86a63e18
Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow
2013-04-09 15:57:22 -04:00
Matt Woodrow
1cff1e2f07
Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc
2013-06-24 17:27:29 +12:00
Matt Woodrow
7fe6df5f70
Bug 756601 - Enable OMTC by default on OSX 10.7 and 10.8. r=roc
2013-06-21 09:32:04 +12:00
Nicholas Cameron
4f491064ec
Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas
2013-05-28 10:04:37 +12:00
Connor Behan
b8c31ae955
Bug 722975: Unbreak builds using --with-system-cairo. r=bas
2013-06-01 00:23:05 +02:00
Aryeh Gregor
8b16f79037
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Jonathan Kew
47eb38be78
bug 871961 pt 1 - handle on-the-fly changes to the gfx.font_rendering.opentype_svg.enabled preference setting. r=roc
2013-05-16 17:32:41 +01:00
Nicolas Silva
11c6d3c7eb
Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel
2013-03-21 18:08:01 +01:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03: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
Bas Schouten
002b90f700
Bug 859791 - Part 1: Listen for changes to the Moz2D recording pref. r=jrmuizel
2013-04-09 17:37:56 +00:00
Bas Schouten
f769e31c87
Bug 854446: Allow setting Moz2D recording destination. r=joedrew
2013-03-26 03:20:30 +00:00
George Wright
b48b6ce203
Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow
2013-03-13 19:29:47 -04:00
Joe Drew
881978fd10
Bug 853169 - Initialize the output profile explicitly from within gfxPlatform::Init, and handle when we can't create one in xpcshell tests on Gtk because we don't have an X Display. r=jrmuizel
2013-03-21 23:12:30 -04:00
Joe Drew
f618004273
Backed out 3 changesets (bug 853628, bug 853169) for crashing mysteriously
...
Backed out changeset c0befbf2533d (bug 853169)
Backed out changeset 2e318d0a172b (bug 853169)
Backed out changeset 69f965c0fd46 (bug 853628)
--HG--
extra : rebase_source : cbf40a9b54d1ab221ab1823f9ea32bae7c965c3b
2013-03-22 00:27:58 -04:00
Joe Drew
169c21dee6
Bug 853169 - Initialize the output profile explicitly from within gfxPlatform::Init, and handle when we can't create one in xpcshell tests on Gtk because we don't have an X Display. r=jrmuizel
2013-03-21 23:12:30 -04:00
Phil Ringnalda
c89ff31b6f
Back out d77773a8abf9 and eca6b3ea3e8d (bug 853169) for Linux xpcshell crashes
...
CLOSED TREE
2013-03-20 21:33:03 -07:00
Joe Drew
393320f48c
Bug 853169 - Initialize the output profile at gfxPlatform::Init() time. r=jrmuizel
2013-03-20 22:25:43 -04:00
George Wright
ceb8b0a733
[PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
...
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
content/canvas/src/CanvasRenderingContext2D.h | 5 +++
gfx/2d/2D.h | 8 +++++
gfx/2d/Factory.cpp | 10 ++++++
gfx/thebes/gfxPlatform.cpp | 34 ++++++++++++++++++++
gfx/thebes/gfxPlatform.h | 12 +++++++
6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Milan Sreckovic
a4a0dd7987
Bug 843830 - Consolidate the enums in one place, so that bad things don't happen if the qcms enums ever change. r=bgirard
2013-02-21 17:38:10 -05:00
Jonathan Kew
c8a9d651b2
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
Jonathan Kew
f752845e1e
bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett
2013-01-23 16:41:18 +00:00
Ehsan Akhgari
c023e35440
Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky
2013-01-07 18:34:38 -05:00
Jonathan Kew
32fd2a26de
bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
2013-01-04 18:35:37 +00:00
Chiajung Hung
a3797d3442
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Mark Hammond
e249240d97
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Oleg Romashin
09597e2391
Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow
2012-12-16 11:25:04 -08:00
Ed Morley
44da20404d
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
555f703aa1
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Chris Lord
f192c200fc
Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard
2012-12-05 17:10:41 +00:00
Chris Lord
ba78c1a393
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 22:34:20 +00:00
Chris Lord
f08ea7da39
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
86af4e1c99
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 19:16:53 +00:00
Chris Lord
5c9a4aaab2
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Ryan VanderMeulen
ff740d59ea
Backout c3933841e06e (bug 793013) for possible Win7 reftest failures.
2012-11-06 21:27:09 -05:00
Anthony Jones
0508e2aafe
Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron
2012-11-06 18:23:13 -05:00
Anthony Jones
e4c4f98a12
Bug 793013 - Remove unnecessary whitespace.
2012-11-06 18:23:13 -05:00
Jeff Gilbert
d9a04350b5
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Nicholas Cameron
1cccb0d825
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ed Morley
09fad7f017
Backout 2231b8e778a3 (bug 715658) for errors linking on Windows
2012-10-10 12:15:30 +01:00
Uli Schlachter
4c511b46d7
Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas
2012-10-10 06:32:36 -04:00
Anthony Jones
a0fe5018ee
Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
...
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Bas Schouten
29ab97de1c
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Bas Schouten
555c2a462b
Backed out changeset 41b5180cf6af DONTBUILD
2012-10-08 12:56:00 +02:00
Bas Schouten
e78be54307
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Ed Morley
ae328bf180
Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends
2012-10-08 10:31:57 +01:00
Bas Schouten
d057f4086a
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
...
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Anthony Jones
64a3fde7b6
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Bas Schouten
dac31dcf8d
Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
a1cb82c019
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Anthony Jones
a84827280d
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Phil Ringnalda
e68bd50029
Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build
2012-09-16 17:59:25 -07:00
Anthony Jones
1e224ae09c
Bug 789367 - Add content preference for GTK platform. r=nrc
2012-09-16 20:20:16 -04:00
Andrew Quartey
0e25c1e408
Bug 743755 - Remove OSMesa support r=bjacob
2012-09-07 18:35:22 -04:00
Edwin Flores
ca569f62dc
Bug 719286 - Basic OpenType SVG functionality r=roc
2012-09-06 16:57:54 +12:00
Anthony Jones
5a0d03626e
Bug 781731 - Fix Azure Cairo GTK perf by removing xlib to buffered image conversion. r=mattwoodrow
2012-09-02 19:07:05 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ms2ger
a77fd1cc47
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
7f47812dfb
Bug 781731 - Fixed Azure Cairo GTK perf by removing xlib to buffered image conversion; r=Bas
2012-08-27 11:31:33 +02:00
David Zbarsky
b20ba33014
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04: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
Nicholas Cameron
c45bb4fff0
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 19:57:28 +12:00
Nicholas Cameron
afcbca306a
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
Nicholas Cameron
5dd825ba63
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
77df30f28c
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 13:46:05 +12:00
Nicholas Cameron
883ca8cb74
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Bas Schouten
79321c56de
Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel
2012-07-28 02:33:08 +02:00
Benjamin Peterson
b91c0c80ef
Backout 22eea4925efc for windows failures
2012-07-27 21:47:06 -07:00
Bas Schouten
8f4e48a32e
Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel
2012-07-28 02:33:08 +02:00
Nicholas Cameron
3e80396ca2
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Nicholas Cameron
952f2e4661
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
9c67b116d5
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Anthony Jones
addbceb368
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Anthony Jones
57cabdb240
Bug 764125; fixed crash test fail on gtk caused by null. r=Bas
2012-07-24 22:18:38 +12:00
Anthony Jones
ce97d078d1
Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
a09794d38c
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
9bcaf104d6
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
e5b55a65ac
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
5c8c9441ba
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Nicholas Cameron
c934b676bb
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
3843356847
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Anthony Jones
0de5f9da76
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Anthony Jones
48ad611564
Bug 764125; fixed crash test fail on gtk caused by null. r=Bas
2012-07-24 22:18:38 +12:00
Anthony Jones
9f057a5253
Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
1292400ee5
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
d671f23535
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
James Willcox
30e0f551ce
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
cb94cc2ce1
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Vladimir Vukicevic
3bf3ba878d
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob
2012-07-06 09:19:27 -04:00
Chris Jones
161b9050f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Nicolas Silva
966f3cd0b1
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00
Nicolas Silva
08004b7444
Bug 763234 - Use only one compositor thread with OMTC. r=cjones
2012-07-13 11:25:29 -04:00