GithubHelp home page GithubHelp logo

isabella232 / webgl-diagnostic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashima/webgl-diagnostic

0.0 0.0 0.0 220 KB

WebGL System Capability Profiles, Diagnostic Reports, and Onboarding

License: MIT License

JavaScript 64.46% PHP 11.46% XML 15.06% Shell 9.03%

webgl-diagnostic's Introduction

Ashima webgl-diagnostic

webgl-diagnostic is a WebGL onboarding system to help users get a working WebGL implementation and, should an error occur, supply helpful system information to you in a bug report. The software is free and open source under the MIT Expat license which can be found in the LICENSE file.

Features

  • Up-to-date and accurate browser and platform detection (cf. get.webgl.org)
  • Easy system profile report generation for high quality user bug reports
  • A user support database in JSON with support for experimental implementations and plugins
  • Plugin recommendations (e.g. Google Chrome Frame for IE users)
  • WebGL extension detection
  • Graphics driver detection and driver support links
  • Easily skinnable support messages
  • Easily localizable support messages
  • WebGL capability sniffing
  • Your contributions

Usage

WebGL Onboarding

Requirements

You will need an XSLT 1.0 processor (e.g. xsltproc from libxml/libxslt) and a make program (e.g. GNU Make) to build localized HTML versions of the onboarder. If you have tools like these, you can run 'make' in example/ to generate example localizations.

Localization

Onboarding messages are provided in an ad-hoc XML dialect in lang/ organized by HTTP language code (ISO 639-1). A simple language resource processor is provided as lang/message.xsl.

Driver Information

Driver information is presently gleaned from the RENDERER string on a WebGL context unless the user is on Mac OS X, in which case the driver vendor is reported as "Apple".

Updates

The get.webgl.org/ directory contains the scripts that the author uses to stay up-to-date on changes to this onboarding site. These scripts make If-Modified-Since requests using curl to reduce the burden on the get.webgl.org host. Users of this software should monitor this repository or the get.webgl.org site directly to stay current on ecosystem changes and prevent bit-rot.

If this monitoring and maintenance is not possible or desirable, we recommend linking users to get.webgl.org.

Bug Report System Profiles

Updates

The ext_reg/ directory contains the scripts that the author uses to stay up-to-date on new WebGL extensions. These scripts make If-Modified-Since requests using curl to reduce the burden on the Khronos host.

Credits

  • David Sheets (JavaScript, XSLT, author)
  • Yuan Lian (Simplified Chinese translation)
  • Chris Lee (Welsh translation)

Special Thanks

  • W3C Blog which published the HTTP language content negotiation PHP code in example/
  • The Khronos WebGL working group without whose work, none of this would be possible
  • webgl-bench which has been collecting useful WebGL benchmark statistics for the community

Feedback

Data updates? Bugs? Browser compatibility issues? Translations? We would love to hear from you!

webgl-diagnostic's People

Contributors

dsheets avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.