User:Jprosevear/GfxInternUpdate: Difference between revisions

 
Line 64: Line 64:
| roc
| roc
|-
|-
| GPU Clipping
| Efficient Clipping on GPU
| Our current GPU layer clipping code requires the clip to be an axis-aligned rectangle, and in other cases we are allocating an intermediate surface and rendering to that (transformations), or handling the render in software (SVG). We should be able to handle this using the stencil buffer or similar.
| Mozilla renders a page as a series of layers that are composited together, using the GPU when possible.  Clipping and opacity are properties on individual layers.  The current GPU layer clipping code requires the clip to be an axis-aligned rectangle, and in other cases we are allocating an intermediate surface and rendering to that (transformations), or handling the render in software (SVG). We should be able to handle this using the stencil buffer or similar.
| ''TBD''
| ''TBD''
| mattwoodrow/roc
| mattwoodrow/roc
|-
|-
| Store Images as textures
| Store Images as Textures
| When we separate an image into it's own dedicated layer we have two copies of the data, one in system memory (owned by imglib) and one as a texture. We can teach imglib about this second copy and free the system memory one in some cases to save memory usage. This is particularly useful for mobile where image scaling is much cheaper on the GPU, but the memory cost of two copies will hurt.<br><br>'''Note''': This would also be a good stepping stone towards decoding JPEGs on the GPU.
| Mozilla renders a page as a series of layers that are composited together, using the GPU when possible.  When Mozilla separates an image into a dedicated layer we have two copies of the data, one in system memory (owned by imglib) and one as a texture. We can teach imglib about this second copy and free the system memory one in some cases to save memory usage. This is particularly useful for mobile (Android) where image scaling is much cheaper on the GPU, but the memory cost of two copies will hurt.
| {{bug|650988}} for mobile's usage of this.
| {{bug|650988}} for mobile's usage of this.
| mattwoodrow/joe/roc
| mattwoodrow/joe/roc
|}
|}
761

edits