TPEGFX/2017-Q1: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 46: Line 46:


=== Ethan Lin ===
=== Ethan Lin ===
* nsDisplayBorder conversion
* Display item conversion
** Enable more border properties (radius, color)
** nsDisplayBorder - Enable more border properties (radius, color)
*** {{Bug|1330230}} - Remove restrictions of creating WebRenderBorderLayer
*** {{Bug|1330230}} - Remove restrictions of creating WebRenderBorderLayer
** Turn on pref for some reftest
** Turn on border preference for some reftests
*** {{Bug|1329609}} - Enable some reftests for WebRenderBorderLayer
*** {{Bug|1329609}} - Enable some reftests for WebRenderBorderLayer
* Import ContentClient to WebRenderPaintedLayer
* Import ContentClient to WebRenderPaintedLayer
Line 57: Line 57:
*** gfx:Rect -> WRRect -> WrRect
*** gfx:Rect -> WRRect -> WrRect
** memory usage/memory copy/IPC cost when there are lots of displayitems
** memory usage/memory copy/IPC cost when there are lots of displayitems
** Convert other items


* TODO (senior engs)
* TODO (senior engs)

Revision as of 06:12, 12 January 2017

GFX Topics(from high to low priority)

  • gfx Stability
  • Quantum Rendering(FF57 Aurora on 8/7)
  • Canvas 2D perf(google sheet/streaming)
  • DisplayList(layout related work)
  • Paint correctness(buglist)
  • Any layout works, ex: perf/CSS properties

Goal

ChihYi Leu

  • WebGL conformance test
    • bug 1324765 - Crash in std::vector<T>::_Buy
    • bug 1315037 - Intermittent dom/canvas/test/webgl-conf/generated/test_2_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html | Test timed out.
  • Assist Daosheng for his VR Gamepad Mochitest work if he has no bandwidth to do it.
  • TODO
    • update bugzilla more frequently
    • gfx triage for WebGL(stability or regression)
    • Sharing testing environment/Fire request for video card purchase
    • Perform ANGLE update(before Mid of March) or Conformance suite upgrade
    • WebGL spec/flow(or depend on Topics peter provided)

Daosheng Mu

  • bug 1260558 - [webvr] [meta] Support Oculus Touch Controllers
    • bug 1305873 - [webvr] Update Oculus support to the latest SDK (Currently 1.10)
    • bug 1305889 - [webvr] Enumerate Oculus Touch Controllers through the Gamepad API
    • bug 1305890 - [webvr] Support Oculus Touch button and analogue inputs in the Gamepad API
    • bug 1305891 - [webvr] Support Oculus Touch orientation and position tracking in the Gamepad API
    • bug 1305892 - [webvr] Support Oculus Touch Haptic Feedback
  • WebVR conformance test suite
    • bug 1323328 - [webvr] Implement Cross-Browser compatible tool for emulating VR hardware
      • Integrate with OpenVR runtime source code to emulate the real device
      • Share conformance test suite to ensure compatibility across browsers as much as possible.
      • Gamepad extension tests
    • bug 1229479 - [webvr] Implement Mochitests for WebVR (optional)
      • bug 1306493 - [webvr] Implement Mochitest: Multiple calls to VRDisplay.GetFrameData must return the same values within a frame
      • bug 1306505 - [webvr] Implement mochitest: VRDisplay.exitPresent must only be allowed by content that started VR Presentation
      • bug 1306507 - [webvr] Implement Mochitest: VRDisplay.isPresenting must not spill information between JS contexts
      • bug 1311797 - [webvr] Implement Mochitest: `vrdisplayactivate` event should trigger only when no content is presenting
      • bug 1311802 - [webvr] Implement Mochitest: onvrdisplaydeactivate should only trigger for content that is presenting
  • WebGL module work
  • bug 1302341 - SVG link element focus behavior (optional)
  • bug 1302340 - SVG elements and negative tabindex (optional)

Ethan Lin

  • Display item conversion
    • nsDisplayBorder - Enable more border properties (radius, color)
      • bug 1330230 - Remove restrictions of creating WebRenderBorderLayer
    • Turn on border preference for some reftests
      • bug 1329609 - Enable some reftests for WebRenderBorderLayer
  • Import ContentClient to WebRenderPaintedLayer
    • bug 1322504 - Use TextureClient in WebRenderPaintedLayer
  • DisplayItem conversion perf
    • Simplify properties conversion
      • gfx:Rect -> WRRect -> WrRect
    • memory usage/memory copy/IPC cost when there are lots of displayitems
  • TODO (senior engs)
    • breackdown every item into one small bug(less than one month)
    • Copy WR items into gfx-wr-2017 with effort estimation
    • mentor topics(optional)
    • Team influence

Jerry Shih

  • WR external image
    • update compositable, textureHost and textureSource for new WR thread model(WR render and WR backend are not at IPC receiver thread)
    • [WR]handle shmem in WR(upload to gl texture in WR)
    • support subimage for wr add_image api
    • support GL_IOSurface ( https://github.com/servo/webrender/issues/642 )
  • WR software backend
    • TBD
  • Performance and memory usage comparison
    • compare the current gecko and the WR with all WRImageLayer for gallery-like page.
  • TODO (mid of Jan review first two itmes)
    • breackdown every item into one small bug(less than one month)
    • Copy WR items into gfx-wr-2017 with effort estimation
    • mentor topics
    • Team influence

Kevin Chen

  • gfx Stability
    • nvwgf2umx.dll crashes
      • bug 1292273 - Crash in nvwgf2um.dll | BaseThreadInitThunk
      • bug 1325933 - Crash in nvwgf2um.dll | TCLSWrappers<T>::CLSDestroy
      • bug 1328082 - Crash in nvwgf2umx.dll | NDXGI::CDevice::DestroySynchronizationObjectCB
    • device reset crashes
  • gfx triage practice
  • Quantum Rendering
  • Houdini Painting API
    • bug 1318573 - Refactor Canvas2D API to support a subset for Houdini Paint API
    • bug 1324740 - Implement PaintRenderingContext2D for Houdini API
    • integrate with paint worklet and add test case for it


  • TODO
    • breackdown every item into one small bug(between two week or less than one month)
    • frequently bugzilla updates

Morris Tseng

  • Canvas support
    • Using CanvasClient for canvas[Done]
    • [WR]Share MacIOSurface(lower)
      • WebRender need handle TextureRect in shader. (texture coordinate, shader code...etc)
    • Share ANGLE surface
      • Need to investigate how to translate DXGI to angle gl texture.
    • Handle y-flip
    • Handle surface format (e.g RGBA and RGBX)
  • Convert nsDisplayBullet
    • Create BulletLayer
    • Send Bullet attributes to webrender
    • Quote from https://public.etherpad-mozilla.org/p/wr-plan#lineNumber=185
      • Supports disc, circle, square, disclosure triangle and image.
      • disc, circle and square are drawn as glyphs -> text item
      • disclosure triangle is a triange path that is filled -> path item
      • image -> image item
  • TODO (senior engs)
    • List risk/black box for Canvas support
    • breackdown every item into one small bug(less than one month)
    • Copy WR items into gfx-wr-2017 with effort estimation
    • Your output/questions before Feb work week
    • mentor topics
    • Team influence

Peter Chang

  • OMTA
    • dispatch animation/animationdata (bug 1325022) ~ one week
    • Works in compositor side
      • save animation data based on related div(or containerlayer) ~ one week
      • Remove the layer dependency in SampleAnimation (bug 1328229) ~ one week
      • replay WRcmds in WRBridgeParent if animation exists (bug 1328231) ~ two weeks
      • Add support to Webrender(opacity and scaling) ~ TBD
    • Support OMTA testing flow ~ study effort(3 days)
   nsDOMWindowUtils::GetOMTAStyle()
   SetTestSampleTime()
   LeaveTestMode()

Vincent Liu

  • gfx Stability
  • WebGL Conformance Test
    • bug 1323122 - Upgrade 2.0.0 Webgl conformance tests to top-of-tree
    • 2.0.1 [TBD]
    • Following up.
  • TODO (senior engs)
    • breackdown every item into one small bug(less than one month)
    • mentor topics
    • Team influence
    • Figure out Canvas perf plan
    • Solid gfx triage/crash improvement plan

open qusetion

  • TODO (senior engs)
    • breackdown every item into one small bug(less than one month)
    • Copy WR items into gfx-wr-2017 with effort estimation
    • mentor topics
    • Team influence

Ethan

 disable fallback for reftest
 share the same mapping between c++/rust by code generator
 evaluate displayitem conversion performance/memory usage

Morris

 how to support image layer more efficiently(similar to jerry's question?)

Jerry

 image resource lifetime problem

peter

omta always repaint all pixel in WR