Platform/GFX

From MozillaWiki
Jump to navigation Jump to search

Details on the active work

SkiaGL

  • Joint effort with Fennec, Taipei teams
  • Taipei visited Toronto, May 13-17, 2013
  • Toronto et al. visited Taipei May 20-24, 2013
  • Visiting Skia team in Chapel Hill, August 5-6, 2013
  • See Mobile SkiaGL page
  • Some notes about Gralloc

Scrolling (async, subframe panning)

  • B2G (performance) target applications: gallery, contacts, applist, browser, e-mail see here for details

Off main thread ...

OMT image animation

Moz2D (Azure)

WebGL

Testing, replaying, building Moz2D

  • Linux/Mac
  • Windows
    • Dependencies:
      • VS2012, Express 2012 for Windows Desktop is fine
      • A default Cairo and Skia build in the cairo/skia directories in the parent directory of Moz2D if you plan to use skia/cairo
      • QtSDK if you plan on using player2d
        • Use the VS2012 32-bit version
        • You will need at least version 5.1.0 since earlier versions don't have a 32-bit binary for VS2012 and have a bug (QTBUG-30822) that cause Visual Studio to pick up the wrong Windows SDK headers when building in an environment with both VS2010 and VS2012 installed.
        • Older versions can be used if needed. Use one of the installers and select "Source Components" when installing. Then, from a VS2012 command prompt run:
          • C:\Qt\Qt5.0.2\5.0.2\Src\qtbase> configure -opensource -confirm-license -static -debug-and-release -no-angle -no-opengl -nomake examples -nomake tests -platform win32-msvc2012
          • nmake
          • (Requires Perl)
    • hg clone http://hg.mozilla.org/users/bschouten_mozilla.com/moz2d
    • Open the gfx2d.sln visual studio solution
    • Build the solution
      • Build the Debug configuration first since it generates the shader code
      • Don't build Release (Skia) without installing Skia / Cairo first
    • For player2d, from a VS2012 command prompt:
      • Go to the moz2d repository clone, cd c:\users\me\moz2d
      • mkdir player2d-build
      • cd player2d-build
      • \qt\Qt5.1.0\5.1.0\msvc2012\bin\qmake.exe ..\player2d\player2d.pro -tp vc -spec win32-msvc2012
        (The final -spec win32-msvc2012 might not be necessary, particularly if you only have one version of Visual Studio installed)
      • Open the generated player2d.vcxproj file from the player2d-build directory in VS2012.
      • Press F7 to build.
      • If you get an error about surfaceview.h not being found when referenced from ui_sourcesurfaceview.h, change the line that reads:
        #include <surfaceview.h>
        to
        #include "surfaceview.h"
      • Add the directory containing the QT DLLs to your path (e.g. C:\qt\Qt5.1.0\5.1.0\msvc2012\bin)
      • Run player2d

Documentation

Development Planning

Feature Planning

Team Meetings

2013 Q1 2013 Q2 2013 Q3 2013 Q4
  • 7 October 2013 (5:30pm PDT)
  • 21 October 2013 (2:30pm PDT)
  • 4 November 2013 (5:30pm PDT)
  • 18 November 2013 (2:30pm PDT)
  • 2 December 2013 (5:30pm PDT)
  • 16 December 2013 (2:30pm PDT)
2012 Q1 2012 Q2 2012 Q3 2012 Q4


Other Information