skia2/include
Greg Daniel b3ecd560a2 Revert "Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files"
This reverts commit 65a726bb49.

Reason for revert: You cannot include a src file in an include file. This ends up using c++17 features in our includes. Breaks rolls.

Original change's description:
> Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files
>
> These have been renamed SK_MAKE_BITFIELD_OPS and SkAlignTo
> because nothing seemed particularly GPU/Ganesh specific to them.
>
> I moved the latter to SkTypes.h because we have other align
> code there and former to src/SkUtils.h because I didn't know
> where else it should go.
>
> The primary motivation was removing the GrTypesPriv.h
> include from src/core/SkBlockAllocator.h. I had attempted
> some amount of #if SK_SUPPORT_GPU, but that's not as clean
> here because both our CPU and GPU backends use the
> SkBlockAllocator (as far as I could tell).
>
> This also moves sk_memset* from SkUtils.h to SkOpts.h, because
> SkOpts.h requires bringing in RasterPipeline, which seemed
> like overkill.
>
> Change-Id: I5163ef5064ad3840a15b7e873930d60e2620bf9d
> Bug: skia:12584
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/464876
> Reviewed-by: Brian Osman <brianosman@google.com>

Bug: skia:12584
Change-Id: I1b772bbbc6f150d737bb53fa4e5f45d1581929fa
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/465376
Auto-Submit: Greg Daniel <egdaniel@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2021-10-29 12:50:09 +00:00
..
android Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
c Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00
codec get image from skcodec 2021-01-25 21:50:16 +00:00
config [infra] Add initial platforms and constraint values 2021-10-26 18:27:13 +00:00
core Revert "Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files" 2021-10-29 12:50:09 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Add SkColorMatrix factories for SkYUVColorSpace 2021-10-20 16:47:03 +00:00
encode Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gpu Revert "Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files" 2021-10-29 12:50:09 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Reland "Clean up #includes in SkCFObject." 2021-10-05 19:11:56 +00:00
private Revert "Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files" 2021-10-29 12:50:09 +00:00
sksl Match GLSL scoping rules more closely in SkSL. 2021-10-12 21:53:28 +00:00
svg [svgcanvas] Add support for relative path encoding 2021-05-11 17:44:59 +00:00
third_party Reland "Add OWNERS to include (and include/private) to enforce API review" 2021-09-27 18:20:19 +00:00
utils Feed all top-level GPU accessors through skgpu::BaseDevice (take 2) 2021-07-26 14:56:37 +00:00
OWNERS Make Greg Daniel a Skia API owner. 2021-10-20 17:59:42 +00:00