Difference between revisions of "Changes from V2.x to V3.0"

From uGFX Wiki
Jump to: navigation, search
(Created page with "There are many major changes from uGFX V2.x to V3.0. While we have tried to maintain compatibility for most uGFX V2 applications there are some areas that will require re-writ...")
 
Line 1: Line 1:
 
There are many major changes from uGFX V2.x to V3.0. While we have tried to maintain compatibility for most uGFX V2 applications there are some areas that will require re-writing.
 
There are many major changes from uGFX V2.x to V3.0. While we have tried to maintain compatibility for most uGFX V2 applications there are some areas that will require re-writing.
  
 
== Major Changes ==
 
* The configuration option GFX_COMPAT_V2 is now defined that allows most V2.x code to compile unchanged. It is turned on by default.
 
* The single-file-make build mechanism now works with all uGFX features.
 
* Many types and constants have been renamed to prevent conflicts with other library, operating systems or other code.
 
* The GDISP API has been significantly changed.
 
* Multiple display support now works very differently.
 
* All drivers are now included using configuration options rather than by linking.
 
* All uGFX drivers now use a new internal API and have been rewritten.
 
* Many hardware interface details that needed to be written explicitly into every driver board file are now handled by a new GBUS module.
 
* There are new triginomic functions that are significantly faster and more accurate than the old functions in GMISC.
 
  
 
== Compatibility ==
 
== Compatibility ==
 +
The configuration option GFX_COMPAT_V2 is now defined that allows most V2.x code to compile unchanged. It is turned on by default.
  
 
== Single-File-Make ==
 
== Single-File-Make ==
 +
The single-file-make build mechanism now works with all uGFX features.
  
 
== Type and Constant Changes ==
 
== Type and Constant Changes ==
 +
Many types and constants have been renamed to prevent conflicts with other library, operating systems or other code.
  
 
== The New GDISP API ==
 
== The New GDISP API ==
 +
The GDISP API has been significantly changed.
  
 
== Multiple Display Support ==
 
== Multiple Display Support ==
 +
Multiple display support now works very differently.
  
 
== Adding Drivers To Your Build ==
 
== Adding Drivers To Your Build ==
 +
All drivers are now included using configuration options rather than by linking.
  
 
== New Driver Format ==
 
== New Driver Format ==
 +
All uGFX drivers now use a new internal API and have been rewritten.
  
 
== The New GBUS Module ==
 
== The New GBUS Module ==
 +
Many hardware interface details that needed to be written explicitly into every driver board file are now handled by a new GBUS module.
  
 
== New Trig Functions ==
 
== New Trig Functions ==
 +
There are new triginomic functions that are significantly faster and more accurate than the old functions in GMISC.

Revision as of 03:29, 24 February 2018

There are many major changes from uGFX V2.x to V3.0. While we have tried to maintain compatibility for most uGFX V2 applications there are some areas that will require re-writing.


Compatibility

The configuration option GFX_COMPAT_V2 is now defined that allows most V2.x code to compile unchanged. It is turned on by default.

Single-File-Make

The single-file-make build mechanism now works with all uGFX features.

Type and Constant Changes

Many types and constants have been renamed to prevent conflicts with other library, operating systems or other code.

The New GDISP API

The GDISP API has been significantly changed.

Multiple Display Support

Multiple display support now works very differently.

Adding Drivers To Your Build

All drivers are now included using configuration options rather than by linking.

New Driver Format

All uGFX drivers now use a new internal API and have been rewritten.

The New GBUS Module

Many hardware interface details that needed to be written explicitly into every driver board file are now handled by a new GBUS module.

New Trig Functions

There are new triginomic functions that are significantly faster and more accurate than the old functions in GMISC.