| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | tests: Implement linear and radial gradients | Bryce Harrington | 2014-07-24 |
| | | |||
| * | Don't include caskbench_context.h from caskbench.h | Bryce Harrington | 2014-05-29 |
| | | |||
| * | Height value for shapes star and triangle needs to be updated. Causes ↵ | suyambulingamrm | 2014-05-28 |
| | | | | | incorrect outputs for gradients. | ||
| * | Minor issue fixes which produced incorrect output with respect to cairo and ↵ | suyambulingamrm | 2014-05-27 |
| | | | | | skia shapes. | ||
| * | Split fill test into three tests: fill, multishape, and animation | Bryce Harrington | 2014-05-09 |
| | | |||
| * | Make skiaDrawRandomizedShape available to all tests | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Drop legacy skia support. Remove ENABLE_LEGACY_SKIA_SRA | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Drop unneeded headers | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Change fill type handler into a switch statement | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Initialize kinematics during initialization, not during the test run itself | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Eliminate animation loop inside our iteration loop. | Bryce Harrington | 2014-05-08 |
| | | | | | Along with that, eliminate a bunch of unused variables. | ||
| * | Randomize shape type, if needed, in _draw_shape() | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Don't loop over size for animation or multi_shape | Bryce Harrington | 2014-05-08 |
| | | | | | These cases already have size factored in. | ||
| * | Refactor away drawSkiaShapes | Bryce Harrington | 2014-05-08 |
| | | | | | | | We now finally split out the distinct drawing modes inside sk_fill_test. Animation logic goes with the animation loop, multishape logic with the multishape loop. | ||
| * | Disentagle the animation and multishape loops from other cases | Bryce Harrington | 2014-05-08 |
| | | | | | | | | Break out a discrete _draw_shape() routine that can be reused separately for animation, multishapes, and everything else. This better compartmentalizes the drawing code and eliminates a bunch of unnecessarily complicated logic. | ||
| * | Delete the shader regardless of the shape type | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Refactor shape x,y position determination | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Condense code by eliminating unnecessary brackets | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Simplify header includes | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Break out gradient and image shader routines | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Copy the shape defaults to a local variable | Bryce Harrington | 2014-05-08 |
| | | | | | | Now we don't need to track old values, as our local settings will be discarded when the local variable goes out of scope. | ||
| * | Track the image path as part of the cairo context, not a shape default | Bryce Harrington | 2014-05-08 |
| | | | | | | We aren't randomizing the image or varying it from shape to shape, so it doesn't really belong in the shapes structure. | ||
| * | Use shape_type_t in shapes structure | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Switch shapes' fill_type from a char* to a fill_type_t | Bryce Harrington | 2014-05-08 |
| | | | | | This eliminates strcmp in active testing, which should boost performance | ||
| * | Rename cairo_context structure member shape_args to shape_defaults | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Move shape type determination outside the loop | Bryce Harrington | 2014-05-08 |
| | | | | | | Align shapes structure with shape_id input values Eliminate shape variable; just use shape_type_t | ||
| * | fill: Refactor handling of coordinates and radius | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Draw circles offset by radius | Bryce Harrington | 2014-05-08 |
| | | | | | | | This makes the circle center_x, center_y positioning more consistent with the other shapes, and indeed we're not tracking the center point any more, so rename the variable to be less misleading. | ||
| * | Fix skia rectangle coordinate drawing | Bryce Harrington | 2014-05-08 |
| | | | | | | drawRectCoords() requires four coordinates, not x,y and h,w. Instead, let's create our own rect and use drawRect() directly. | ||
| * | Drop SkPath and SkRect from shapes structure | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Break out discrete skiaRandomColor() routine | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Don't bother setting x, y too early | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Fix bug in user-specified fill color if red not set | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Rename particles parameter to single | Bryce Harrington | 2014-05-08 |
| | | | | | We're only drawing one particle in this function | ||
| * | fill: Drop unused variable linearMapper | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Rename drawSkiashapes -> drawSkiaShapes | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Move variable declarations closer to their usage | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Unify the shader handling code | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Organize geometry calculation before style determination | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Refactor gradient shader code | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Refactor shape id determination | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Whitespace cleanup | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Refactor color setting code | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Expand trinary | Bryce Harrington | 2014-05-08 |
| | | |||
| * | Simplify | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Eliminate use of points in the data structure | Bryce Harrington | 2014-05-08 |
| | | | | | | The shapes functions already include the logic for calculating the points, so these calculations are unused. | ||
| * | fill: Factor out common gradient code from shapes | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Refactor shape type determination | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Factor out reset of point structure and widths from case statement | Bryce Harrington | 2014-05-08 |
| | | |||
| * | fill: Refactor x,y center point selection out of case statements | Bryce Harrington | 2014-05-08 |
| | | |||