summaryrefslogtreecommitdiffstatsci
path: root/src/shapes.h
Commit message (Collapse)AuthorAge
* move to use Expedite (EFL benchmark) predictive random number generator.Cedric BAIL2014-09-29
|
* Issue #105. Add utility function generate_random_color()suyambulingamrm2014-06-26
|
* Enable gradient fill types as random selected fill typesBryce Harrington2014-06-24
| | | | | Also refactor the fill code from skiaDrawRandomizedShape() into its own routine.
* Add CB_FILL_RANDOM to select a random fill typeBryce Harrington2014-06-24
| | | | Also, make command line parsing of fill and shape types more strict
* Drop --multi-shapeBryce Harrington2014-06-17
| | | | Only the stroke test uses this, but stroke needs rewritten anyway.
* Issue #36. RGB Color string parsing.suyambulingamrm2014-06-02
| | | | Ref: https://github.com/Samsung/caskbench/issues/36
* Don't include caskbench_context.h from caskbench.hBryce Harrington2014-05-29
|
* shapes: Add lines and curvesBryce Harrington2014-05-29
|
* Issue #50. Removed hardcoded number of shapes.suyambulingamrm2014-05-26
|
* 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
* 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
* 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.
* Excise remaining users of unused points listBryce Harrington2014-05-08
|
* Drop SkPath and SkRect from shapes structureBryce Harrington2014-05-08
|
* Rename Shapes enum to shape_type_t and fix enum namesBryce Harrington2014-05-06
| | | | | | | | | | | | We already have a 'shapes' data structure, so to avoid confusion don't name our shape type enums 'Shapes'. Instead, name it shape_type_t, which is more consistent with the code style of other enums in the codebase. Also, rename Circle / Triangle / etc. to CB_SHAPE_CIRCLE / CB_SHAPE_TRIANGLE / etc. The former could be confused as class names; the latter are less likely to get confused this way, and follow the style of other enums in the codebase.
* boilerplate: Add copyright and license statement on all code filesBryce Harrington2014-05-05
|
* boilerplate: Add emacs/vi local variablesBryce Harrington2014-05-05
|
* Use string names for specifying shapes externally instead of ID numbersBryce Harrington2014-05-05
|
* Ensure there is only a single star_points objectBryce Harrington2014-05-05
|
* Rename centre to centerBryce Harrington2014-05-05
|
* cmake: Make skia optional (run only cairo tests)Bryce Harrington2014-05-01
|
* Centralize the skia atomics path workaround to config.hBryce Harrington2014-04-23
|
* Rename Shapes.h to shapes.hBryce Harrington2014-04-23
Certain platforms don't distinguish between upcase and downcase files