TPEGFX/2017-Q1

From MozillaWiki
Jump to navigation Jump to search

GFX Topics(from high to low priority)

Goal

ChihYi Leu

Daosheng Mu

Ethan Lin

  • nsDisplayBorder conversion
    • Enable more border properties (radius, color)
    • Testing
      • Turn on pref for some reftest
    • Debug Tool
      • Identify which layer is converted layer (not PaintedLayer)
  • DisplayItem conversion perf
    • Simplify properties conversion
      • gfx:Rect -> WRRect -> WrRect
    • memory usage/memory copy/IPC cost when there are lots of displayitems
    • Convert other items
  • Import ContentClient to WebRenderPaintedLayer
    • Import SingleTiledContentClient first
    • Rotation Buffer - Need to push two sub rect to WR

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)
    • 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.

Kevin Chen

Morris Tseng

  • Canvas support
    • Using CanvasClient for canvas
    • Share MacIOSurface
      • 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

Peter Chang

  • OMTA
    • dispatch animation/animationdata
    • Works in compositor side
      • save animation data based on related div(or containerlayer)
      • sampling animation during composition
      • replay framedata to WR with new animation
      • Add support to Webrender(opacity and scaling)
    • Support OMTA testing flow
   The followings related to testing of OMTA
   nsDOMWindowUtils::GetOMTAStyle()
   SetTestSampleTime()
   LeaveTestMode()

Vincent Liu

open qusetion

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