diff options
author | bunnei <bunneidev@gmail.com> | 2015-02-26 22:40:27 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-02-26 22:40:27 -0500 |
commit | c9ef377afaa038797de6c08da9f204acf67ed1fc (patch) | |
tree | ab2c741325e2e81e4352b4934972151fceae8d5e /src/core/hw/gpu.h | |
parent | 2dac2ea3894677a6241faf8ba85d8c80e2fe73cb (diff) | |
parent | c564c21668912b803947adddc166ff1315b218e4 (diff) |
Merge pull request #599 from Subv/morton
GPU: Implemented bits 3 and 1 from the display transfer flags.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r-- | src/core/hw/gpu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index 75f524465..ab1dcf91d 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h @@ -192,12 +192,13 @@ struct Regs { u32 flags; BitField< 0, 1, u32> flip_data; // flips input data horizontally (TODO) if true + BitField< 1, 1, u32> output_tiled; // Converts from linear to tiled format + BitField< 3, 1, u32> raw_copy; // Copies the data without performing any processing BitField< 8, 3, PixelFormat> input_format; BitField<12, 3, PixelFormat> output_format; - BitField<16, 1, u32> output_tiled; // stores output in a tiled format - // TODO: Not really sure if this actually scales, or even resizes at all. BitField<24, 1, u32> scale_horizontally; + BitField<25, 1, u32> scale_vertically; }; INSERT_PADDING_WORDS(0x1); |