Commit Graph

14 Commits

Author SHA1 Message Date
Doug Sherk
0696522f34 Bug 699482: refactored GfxDriverInfo init to happen after global init r=bjacob
This patch moves all static initialization of GfxDriverInfo and DeviceFamily
classes to the point that they're actually used. It also converts all static
GfxDriverInfo arrays into nsTArray<GfxDriverInfo> so that they can be used
interchangeably with the downloadable blocklist.

This patch also introduces a new phase of blocklist checking called
BEING_PROCESSED, which is the status set when a blocklist check is currently
being processed. NO_INFO now only means that we have confirmed that a device is
not blocked.
2011-12-14 21:02:59 -08:00
Doug Sherk
086371f121 Bug 668004 - generalized GPU blocklist to all platforms - r=bjacob
Refactored Windows-specific code for blocklisting GPUs to GfxInfoBase so that it
could be re-used by every platform. Also enabled all downloaded blocklist code on X11 (Linux) and Cocoa (Mac)
but not yet on Android.
2011-11-03 10:50:40 -04: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
Benoit Jacob
4cb87108c8 Bug 681026 - always get data from glxtest process and waitpid() for it - r=joe
This patch makes GetShouldAccelerate directly call GetData, just before the place where we call GetFeatureStatus, which we know is reached.

Initially I considered instead calling GetData from GfxInfo::Init() but that turned out to be a bad idea: Init() is called by the factory constructor, which is called significantly earlier in the startup process. We want to call GetData as late as possible, just when we need it, to maximize chances that the glxtest process be already finished by the time we waitpid() it, so that we don't end up wasting time waiting for it.
2011-09-07 17:17:44 -04:00
Benoit Jacob
a2f6d38ccb Backed out changeset 432a30ebd148 2011-09-18 21:29:08 -04:00
Benoit Jacob
59f6f04750 Bug 681026 - always get data from glxtest process and waitpid() for it - r=joe
This patch makes GetShouldAccelerate directly call GetData, just before the place where we call GetFeatureStatus, which we know is reached.

Initially I considered instead calling GetData from GfxInfo::Init() but that turned out to be a bad idea: Init() is called by the factory constructor, which is called significantly earlier in the startup process. We want to call GetData as late as possible, just when we need it, to maximize chances that the glxtest process be already finished by the time we waitpid() it, so that we don't end up wasting time waiting for it.
2011-09-07 17:17:44 -04:00
Phil Ringnalda
946b02e238 Back out d333f4021aaf, 5e90688c720e and bdb0bff93ce8 for Windows build redness 2011-09-07 15:20:26 -07:00
Benoit Jacob
d12c50cf40 Bug 681026 - glxtest should wait() for its child to exit - r=joe
This patch makes GetShouldAccelerate directly call GetData, just before the place where we call GetFeatureStatus, which we know is reached.

Initially I considered instead calling GetData from GfxInfo::Init() but that turned out to be a bad idea: Init() is called by the factory constructor, which is called significantly earlier in the startup process. We want to call GetData as late as possible, just when we need it, to maximize chances that the glxtest process be already finished by the time we waitpid() it, so that we don't end up wasting time waiting for it.
2011-09-07 17:17:44 -04:00
Ali Juma
58644cb240 Bug 591057 - List both GPUs in about:support and crash reports. - r=jrmuizel 2011-08-12 09:46:41 -04:00
Matt Woodrow
018085f85d Bug 671259 - Disable OpenGL layers on linux when we don't have texture_from_pixmap. r=bjacob 2011-08-05 13:13:25 +12:00
Matt Woodrow
4954a4f84f Bug 659560 - Block Mesa versions lower than 7.10.3. r=bjacob 2011-08-05 13:13:25 +12:00
Bas Schouten
027fa3f061 Bug 651858 - Part 8: Expose azure on/off state from gfxInfo. r=joedrew 2011-06-24 19:41:18 +02:00
John Daggett
375ce049e0 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-11 09:30:20 +09:00
Benoit Jacob
a748aff9a6 Bug 639842 and Bug 645407 - implement GfxInfoX11, using the info from the glxtest probe - r=bsmedberg,joe,karl
* * *
try: -b do -p linux,linux64,android-r7,maemo5-gtk,maemo5-qt -u mochitest-1 -t none
2011-05-03 16:07:17 -04:00