Commit Graph

  • 2e5b70805f
    Merge pull request #89 from nical/lyon-0-11 Patrick Walton 2018-07-17 08:24:17 -0700
  • 46d1878ef5 Update lyon and euclid dependencies. Nicolas Silva 2018-07-11 00:22:27 +0200
  • 2ec2adf1c7
    Merge pull request #88 from Eijebong/bump-core-stuff Patrick Walton 2018-07-09 15:58:48 -0700
  • 42d1c439aa Update core-graphics, core-text and bump version Bastien Orivel 2018-07-09 12:48:38 +0200
  • 63c17a7f15
    Merge pull request #82 from fschutt/pathfinder_glyph_dimensions_directwrite Patrick Walton 2018-05-03 18:10:57 -0700
  • 9223717234 Fixed calculation of glyph dimensions on Windows fschutt 2018-05-03 07:54:46 +0200
  • 2701757e29
    Merge pull request #81 from fschutt/fix_compile_windows Patrick Walton 2018-04-27 08:41:10 -0700
  • 80a872ca46 Add add_native_font function to get feature parity on Windows + publicly export necessary types fschutt 2018-04-13 13:24:53 +0200
  • ddcde6d1ae Fix the API of glyph_dimensions to make webrender compile on Windows fschutt 2018-04-13 11:50:52 +0200
  • 235c51e160 Fix the Cargo version conflict in the front end Patrick Walton 2018-04-10 11:20:17 -0700
  • f755002983 Switch to the crates.io version of Servo's `freetype` library Patrick Walton 2018-04-09 13:27:45 -0700
  • 6e1fe50202 Switch to Servo's version of the FreeType library bindings. Patrick Walton 2018-04-05 23:39:11 -0700
  • fcfd157c70 Remove `F32ArrayToMat4` in favor of `glmatrix.mat4.clone()` Patrick Walton 2018-04-04 17:56:01 -0700
  • 2fde232982 Factor the text paragraph rendering code out into a separate class so it can be reused Patrick Walton 2018-04-03 13:57:46 -0700
  • 6ba87277c2 Remove the explicit WebVR API dependency; it seems to be upstream now Patrick Walton 2018-04-03 12:42:33 -0700
  • 881be4967d Fix TypeScript build errors Patrick Walton 2018-04-03 12:39:44 -0700
  • 6f839cd1b2
    Merge pull request #76 from Manishearth/vr-better Patrick Walton 2018-04-02 19:11:13 -0700
  • 8ed4e96ff9 Various review cleanups Manish Goregaokar 2018-03-22 16:35:11 -0700
  • 3d223c1a4a Match screen size as much as possible Manish Goregaokar 2018-03-22 15:58:43 -0700
  • 0751da81a4 Move VR stuff to ThreeDView Manish Goregaokar 2018-03-09 17:45:19 -0800
  • 2b0b699fa0 Turn off lighting for VR Manish Goregaokar 2018-03-09 16:46:46 -0800
  • 3af3635eea Use correct viewport and clear correctly Manish Goregaokar 2018-03-09 10:03:32 -0800
  • 148e77d995 Use correct projection and view matrices Manish Goregaokar 2018-03-09 15:55:46 -0800
  • 975685c23b Make it possible to enter VR mode Manish Goregaokar 2018-03-09 15:19:06 -0800
  • 7e115826a1 Remove dependence on frag_depth Manish Goregaokar 2018-03-09 15:00:32 -0800
  • d66a5b6c54 Update to `env-logger` 0.5 Patrick Walton 2018-03-30 14:25:52 -0700
  • dcc3a0fc94 Update to bincode 1.0 Patrick Walton 2018-03-22 15:03:25 -0700
  • dbd3a36f3d Generate a reasonable normal for the superfluous control point generated for lines. Patrick Walton 2018-03-21 14:56:24 -0700
  • 5e5148df54 Fix on Chrome, which doesn't support WebGL queries Patrick Walton 2018-03-20 19:40:28 -0700
  • 96d2f909ea wip Patrick Walton 2018-03-19 18:34:27 -0700
  • 6e13fb171c Use a lookup table to do area calculations instead of Loop-Blinn-style distance-to-edge for stencil analytic antialiasing. Patrick Walton 2018-03-09 09:20:27 -0800
  • e851afd5d9
    Merge pull request #74 from pythonesque/patch-1 Patrick Walton 2018-03-10 10:29:19 -0800
  • c7064b31ce
    The Send impl for `FontContext` is too forgiving. Joshua Yanovski 2018-03-09 01:20:49 +0100
  • 64c818e530 Construct meshes independently of mesh libraries (renamed to "mesh packs"). Patrick Walton 2018-03-07 14:06:54 -0800
  • cffff886c3 Be more robust in the presence of duplicated points when computing normals Patrick Walton 2018-03-07 11:53:44 -0800
  • db6986ca1f Take the orientation of a path into account when computing normals Patrick Walton 2018-03-07 11:21:08 -0800
  • aa3ecf28a5 Quantize to subpixel boundaries. Patrick Walton 2018-03-06 19:20:19 -0800
  • 6c2c34aa3c Make the mesh library serializable and deserializable. Patrick Walton 2018-03-06 15:12:36 -0800
  • 18121208d4 Update euclid to 0.17 and Lyon to 0.10 Patrick Walton 2018-03-06 15:06:06 -0800
  • b60275e5ea Convert cubic curves to quadratic ones in fonts Patrick Walton 2018-03-06 13:09:51 -0800
  • 07d978909c Get the DirectWrite backend compiling again. Patrick Walton 2018-03-06 12:24:30 -0800
  • f718aa9ce3 Make the FreeType API match the Core Graphics one Patrick Walton 2018-03-05 16:31:48 -0800
  • fad7f2f343 Fix FreeType build Patrick Walton 2018-03-05 15:04:52 -0800
  • 5d3c1f6d59 Abstract away `FontKey` so WebRender can more easily use this; switch from angle measurement to scale-dependent hull height Patrick Walton 2018-03-05 11:27:18 -0800
  • 45a812d30f Move webpack to the `devDependencies` section. Patrick Walton 2018-02-22 10:02:15 -0800
  • 48aceb6291 Fix zoomed-in rotation for text by taking extended path transforms into account in the MCAA shader. Patrick Walton 2018-02-21 17:00:37 -0800
  • dfcbd9dddd Remove the unused `usesSTTransform` Patrick Walton 2018-02-21 16:38:09 -0800
  • 4e1a9a9bad Add a new varying to the stencil AAA fragment shader for simplicity. Patrick Walton 2018-02-21 13:32:38 -0800
  • 82be5d12d1 Update dependencies and fix TypeScript build failures. Patrick Walton 2018-02-19 11:52:00 -0800
  • a84b7c7cbd Replace ECAA with "Stencil AAA", a distance-based antialiasing technique similar to the new MCAA. Patrick Walton 2018-02-05 15:10:52 -0800
  • 87eb3038eb Make the cubic Bézier approximation tolerance proportional to the SVG view box size instead of hardcoding it. Patrick Walton 2018-02-08 19:59:04 -0800
  • 5879d9778d Replace the MCAA shader with an extended Loop-Blinn approach and an approximation of area based on approximate first-order line distance. Patrick Walton 2018-01-30 09:34:34 -0800
  • 5bd68dec65 Port Pathfinder to use Lyon for Bézier curve math. Patrick Walton 2018-01-24 12:08:39 -0800
  • 2ec5dbfa42 Fix minor comment typo Patrick Walton 2018-01-21 13:06:47 -0800
  • d8c590867d Stop computing B-vertex normals, which are no longer used. Patrick Walton 2018-01-21 11:41:26 -0800
  • 7a2ad35d7e Don't allow the user to move the camera in the benchmarks and reference tests. Patrick Walton 2018-01-18 17:26:56 -0800
  • 0720b04591 Scale stroke widths correctly in the Ghostscript tiger test Patrick Walton 2018-01-18 17:01:47 -0800
  • 3be3ff7351 Disable gamma correction, stem darkening, and emboldening in the UI when SSAA mode is selected Patrick Walton 2018-01-16 15:50:17 -0800
  • ef29eb19f3 Tiny comment fix Patrick Walton 2018-01-16 13:06:51 -0800
  • 3b3fef3982 Hide `generate_gamma_lut` and `pathfinder_server` in the API docs list. Patrick Walton 2018-01-16 12:57:26 -0800
  • 6a640eca74 Simplify the B-quad vertex position VBO to have a uniform format, and enable early Z for SVG. Patrick Walton 2018-01-07 11:14:24 -0800
  • 67dd6cd8ed Add some simple overview documentation to the partitioner crate Patrick Walton 2018-01-05 18:40:36 -0800
  • 952186c638 Document `pathfinder_font_renderer`. Patrick Walton 2018-01-05 16:59:49 -0800
  • c68f16f6ba Write more API documentation Patrick Walton 2018-01-05 15:52:15 -0800
  • 32c20ec649 Document most of `pathfinder_path_utils`. Patrick Walton 2018-01-05 14:20:50 -0800
  • 4b887174f8 Document some more of `pathfinder_path_utils` Patrick Walton 2018-01-05 12:35:01 -0800
  • 452ade0012 Document `pathfinder_path_utils::cubic` Patrick Walton 2018-01-05 12:19:23 -0800
  • 2a3ab09279 Fix rustdoc CSS a bit Patrick Walton 2018-01-05 12:19:13 -0800
  • d821991c01 Clean up `common.inc.glsl` a bit Patrick Walton 2018-01-05 12:18:50 -0800
  • f3841ef402 Document more shader parameters Patrick Walton 2018-01-04 18:07:14 -0800
  • 67d29803b5 Document most uniforms in shaders Patrick Walton 2018-01-04 17:32:20 -0800
  • aa7e0df514 Make the libraries only used for reftesting opt-in. Patrick Walton 2018-01-04 15:10:23 -0800
  • 4a71f79a78 Make the logo in the navbar monochrome Patrick Walton 2018-01-04 14:43:37 -0800
  • 275a937439 Fix colors and view box for the reference in the SVG reftest Patrick Walton 2018-01-04 14:14:47 -0800
  • c5187deedd Use the monochrome MCAA mode for the Material Design icons SVG demo. Patrick Walton 2018-01-03 20:53:25 -0800
  • 2c2afe2fc0 Only emit a `ClosePath` command in a `PathBufferStream` if the subpath is closed. Patrick Walton 2018-01-03 15:31:34 -0800
  • 11913a20f1 Merge MCAA monochrome and multicolor shaders. Patrick Walton 2018-01-02 19:15:19 -0800
  • 017a2e2f8c Provide brief documentation of each shader Patrick Walton 2017-12-30 20:32:51 -0500
  • a81c69c34e Document the blit shaders Patrick Walton 2017-12-28 11:46:44 -0500
  • 9515451e7a Remove render tasks entirely. Patrick Walton 2017-12-28 11:44:46 -0500
  • 473cb38fb3 Add a few paragraphs of overview documentation Patrick Walton 2017-12-23 18:17:33 -0500
  • 0ec5b74851 Start a Cargo workspace and generate documentation for it Patrick Walton 2017-12-23 18:01:55 -0500
  • 429e4a3063 Remove clipping support from the SVG demo. Patrick Walton 2017-12-22 16:30:24 -0800
  • 934086ace8 Build Rust documentation as part of the demo client build process Patrick Walton 2017-12-21 18:01:00 -0800
  • b6236ac835 Use librsvg/Cairo/Pixman to render SVG reference images. Patrick Walton 2017-12-21 17:20:01 -0800
  • c2d89aba91 Add support for the even-odd fill rule in the demo. Patrick Walton 2017-12-21 13:53:38 -0800
  • 2deb4fae2a Use binary search to find line intersections to reduce floating point error. Patrick Walton 2017-12-21 13:21:08 -0800
  • f132117d4c Don't add overlapping points to close paths in the stroking algorithm. Patrick Walton 2017-12-21 13:20:13 -0800
  • 98250b9232 Close stroke paths as necessary. Patrick Walton 2017-12-21 11:56:12 -0800
  • 84ed1a76b0 Hook the reftest framework up to the SVG renderer Patrick Walton 2017-12-20 19:13:07 -0800
  • fc95edda81 Add UI for SVG reference tests, not functional yet Patrick Walton 2017-12-20 18:49:44 -0800
  • ec467ba92c Fix `getMeshIndexRange()` logic for the first interior mesh. Patrick Walton 2017-12-20 14:10:51 -0800
  • 4c2d0cb5ab Use homogeneous coordinates to reduce floating point error when computing the intersection of self-intersecting line segments. Patrick Walton 2017-12-20 13:42:20 -0800
  • f58d3a8512 Add stroke drawing functionality to the mesh debugger. Patrick Walton 2017-12-20 13:41:31 -0800
  • f04f39afd6 Close subpaths explicitly. Patrick Walton 2017-12-20 13:41:01 -0800
  • 6a81ec4893 Make SVG stroke width more accurate, and switch to XCAA by default. Patrick Walton 2017-12-20 10:40:21 -0800
  • 797b935f35 Add Material Design icons to the SVG demo Patrick Walton 2017-12-19 19:11:12 -0800
  • 6f41039ba8 Use the Bootstrap style for the rotate slider Patrick Walton 2017-12-19 14:56:26 -0800
  • 23482b2af8 Add the logo to the demo. Patrick Walton 2017-12-19 14:51:51 -0800
  • 097e909d07 In multicolor XCAA, cap the slope to a reasonable amount to prevent line segments from shooting way up or down Patrick Walton 2017-12-19 13:47:57 -0800