summaryrefslogtreecommitdiffstatsci
path: root/src/skia-tests/fill.cpp
Commit message (Collapse)AuthorAge
* tests: Implement linear and radial gradientsBryce Harrington2014-07-24
|
* Don't include caskbench_context.h from caskbench.hBryce Harrington2014-05-29
|
* Height value for shapes star and triangle needs to be updated. Causes ↵suyambulingamrm2014-05-28
| | | | incorrect outputs for gradients.
* Minor issue fixes which produced incorrect output with respect to cairo and ↵suyambulingamrm2014-05-27
| | | | skia shapes.
* Split fill test into three tests: fill, multishape, and animationBryce Harrington2014-05-09
|
* Make skiaDrawRandomizedShape available to all testsBryce Harrington2014-05-08
|
* Drop legacy skia support. Remove ENABLE_LEGACY_SKIA_SRABryce Harrington2014-05-08
|
* fill: Drop unneeded headersBryce Harrington2014-05-08
|
* fill: Change fill type handler into a switch statementBryce Harrington2014-05-08
|
* Initialize kinematics during initialization, not during the test run itselfBryce Harrington2014-05-08
|
* Eliminate animation loop inside our iteration loop.Bryce Harrington2014-05-08
| | | | Along with that, eliminate a bunch of unused variables.
* Randomize shape type, if needed, in _draw_shape()Bryce Harrington2014-05-08
|
* Don't loop over size for animation or multi_shapeBryce Harrington2014-05-08
| | | | These cases already have size factored in.
* Refactor away drawSkiaShapesBryce Harrington2014-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 casesBryce Harrington2014-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 typeBryce Harrington2014-05-08
|
* Refactor shape x,y position determinationBryce Harrington2014-05-08
|
* Condense code by eliminating unnecessary bracketsBryce Harrington2014-05-08
|
* Simplify header includesBryce Harrington2014-05-08
|
* Break out gradient and image shader routinesBryce Harrington2014-05-08
|
* Copy the shape defaults to a local variableBryce Harrington2014-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 defaultBryce Harrington2014-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 structureBryce Harrington2014-05-08
|
* Switch shapes' fill_type from a char* to a fill_type_tBryce Harrington2014-05-08
| | | | This eliminates strcmp in active testing, which should boost performance
* Rename cairo_context structure member shape_args to shape_defaultsBryce Harrington2014-05-08
|
* fill: Move shape type determination outside the loopBryce Harrington2014-05-08
| | | | | Align shapes structure with shape_id input values Eliminate shape variable; just use shape_type_t
* fill: Refactor handling of coordinates and radiusBryce Harrington2014-05-08
|
* Draw circles offset by radiusBryce Harrington2014-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 drawingBryce Harrington2014-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 structureBryce Harrington2014-05-08
|
* Break out discrete skiaRandomColor() routineBryce Harrington2014-05-08
|
* fill: Don't bother setting x, y too earlyBryce Harrington2014-05-08
|
* fill: Fix bug in user-specified fill color if red not setBryce Harrington2014-05-08
|
* fill: Rename particles parameter to singleBryce Harrington2014-05-08
| | | | We're only drawing one particle in this function
* fill: Drop unused variable linearMapperBryce Harrington2014-05-08
|
* fill: Rename drawSkiashapes -> drawSkiaShapesBryce Harrington2014-05-08
|
* fill: Move variable declarations closer to their usageBryce Harrington2014-05-08
|
* fill: Unify the shader handling codeBryce Harrington2014-05-08
|
* fill: Organize geometry calculation before style determinationBryce Harrington2014-05-08
|
* fill: Refactor gradient shader codeBryce Harrington2014-05-08
|
* fill: Refactor shape id determinationBryce Harrington2014-05-08
|
* Whitespace cleanupBryce Harrington2014-05-08
|
* fill: Refactor color setting codeBryce Harrington2014-05-08
|
* fill: Expand trinaryBryce Harrington2014-05-08
|
* SimplifyBryce Harrington2014-05-08
|
* fill: Eliminate use of points in the data structureBryce Harrington2014-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 shapesBryce Harrington2014-05-08
|
* fill: Refactor shape type determinationBryce Harrington2014-05-08
|
* fill: Factor out reset of point structure and widths from case statementBryce Harrington2014-05-08
|
* fill: Refactor x,y center point selection out of case statementsBryce Harrington2014-05-08
|