Comments (3)
Also, OS struct has BytesPerRow field which is useful for calculations. But there are two problems:
- there are lots of cases where pixel width is needed. Calculating it by shifting is cheap, but I guess it will be better to have it besides bytes per row field.
- currently BytesPerRow is multiplied by depth when in interleaved mode. This representation helps in code unification in blits with non-interleaved bitmaps and during display. So I guess we could keep it and a) add another field for true byte width or b) calculate true byte width using division, which is slow.
from ace.
Note that the BitMap struct is designed to be able to accomodate more or less bitplanes than are currently supported by the chipset. (Variable length struct, in other words.) If embedding it in a bigger structure, add all the fields before the current BitMap struct.
from ace.
Note to future self: new bitmap format should also be able to work on part of current bitmap - e.g. a smaller rectangle on the center of a bigger one.
from ace.
Related Issues (20)
- CDTV interrupt 2 issue HOT 4
- Wrong tag in simplebuffer? HOT 8
- Tilebuffer may benefit from a cache HOT 1
- VBR code is dangerous on CPU with data cache HOT 1
- need documentation / doxygen HOT 13
- Logging to file doesn't work anymore
- Add official support for building libace.a
- Rework blitter functions arguments HOT 3
- How to handle extra functionality? HOT 9
- Add DutchRetroGuy's audio mixer integration
- font_conv not converting some chars correctly HOT 1
- font_conv vector size issue HOT 1
- Add ACE-specific assert implementation HOT 1
- Optimize font-drawing
- Error building Tools on Linux HOT 5
- Building the Tools on Kubuntu Part 2 HOT 3
- Add support for 4bpp sprites HOT 1
- autotools build help, not finding a library containing viewCreate HOT 3
- cmake windows error CMAKE_ASM_COMPILER is not a full path to an existing compiler tool HOT 3
- static builds of ACE ignore its build flags HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ace.