Skip to content
Commit 9e012471 authored by Peter McNeeley's avatar Peter McNeeley Committed by Chromium LUCI CQ
Browse files

Make Gfx Enum types use 8 bits where possible

No performance improvement was measured with this change. This may
allow better packing in structs.

Possible bugs this could introduce:
Padding bugs when mem-hashing (the padding is not initialized)
Integer math operations on int which are now on uint8_t

Change-Id: Iec1a4304137e28adb611ce6de2b5889ad97d75e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4295658


Commit-Queue: Peter McNeeley <petermcneeley@chromium.org>
Reviewed-by: default avatardanakj <danakj@chromium.org>
Reviewed-by: default avatarccameron chromium <ccameron@chromium.org>
Reviewed-by: default avatarMiguel Casas-Sanchez <mcasas@chromium.org>
Reviewed-by: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1111655}
parent a56d7f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment