Computer graphics processing and selective visual display system – Computer graphics processing
Reexamination Certificate
2000-06-01
2004-07-06
Bella, Matthew C. (Department: 2676)
Computer graphics processing and selective visual display system
Computer graphics processing
C345S581000, C345S601000, C345S501000, C345S552000
Reexamination Certificate
active
06760019
ABSTRACT:
BACKGROUND OF THE INVENTION
1. Technical Field
The present invention generally relates to object oriented computer graphics and imaging. More specifically, the present invention relates to methods and apparatus for facilitating the sharing of computer graphics operations in an object oriented computer system.
2. Background Information
The proliferation of computers, and particularly in conjunction with the explosion of computer software and the Internet, has led to a rise in the complexity and variety of computer software applications. A prominent feature of many software applications is the ability to display and manipulate computer graphic images. Given the variety and number of different software applications, computer graphic images can vary a great deal and are often stored in a wide variety of pixel formats. As a result, computer software applications need to support many different pixel formats and many different graphics or rendering operations.
Computer graphic images may be stored in many different pixels formats such as 32-bit integer RGB (Red-Green-Blue) values or 32-bit BGR integer (Blue-Green-Red) values. Presently known systems typically customize their computer graphics rendering operations (e.g., DrawLine, FillRect, etc.) for each specific pixel format. This is necessary as the same implementation of a particular rendering operation may not work on different pixel formats. For example, the implementation of FillRect (i.e., fill a rectangle with specific attributes such as color, shade pattern, etc.) for a 32-bit integer RGB pixel format would not work for a 1-bit black and white (B/W) pixel format.
However, an implementation of a particular rendering operation may be shared in certain instances. For example, the FillRect implementation for a 32-bit integer RGB pixel format may be shared by the FillRect implementation for a 32-bit integer BGR pixel format as both implementations use a 32-bit integer value to generate the fill value for the rectangle. However, presently known systems are limited in their ability to recognize when an implementation of a particular rendering operation may be shared, as there is no implicit detection of the similarity between pixel formats. The computer software has to have source code that identifies the two pixel formats and the particular rendering operation, whereupon “hard-coded” logic directs the sharing of the rendering operation implementation between the two pixel formats.
Alternatively, the “hard-coded” logic could be omitted, and instead the implementation of the common rendering operations for the different pixel formats could be duplicated for each pixel format. However, this necessarily leads to software that is complex and more apt to have “bugs”, and thus is more expensive to maintain and enhance, as bug fixes and enhancements have to be duplicated for the different implementations of the rendering operations. In addition, duplicating the rendering operations produces larger software executables which require more disk space and memory in order to function properly.
One popular approach to identifying pixel formats is that taken by platform independent application programming interfaces (APIs) such as OpenGL and QuickDraw 3D. These APIs provide a robust set of platform independent graphics primitives for various rendering operations from drawing lines, polylines, and polygons, to Gouraud and flat shading and the like. However, these APIs are limited in their ability to share implementations of common rendering operations among different pixel formats as the descriptors for the pixel formats are constants and do not support inheritance to derived or related pixel formats. Thus, these APIs must use hard-coded logic in order to share implementations of rendering operations for different pixel formats.
SUMMARY OF THE INVENTION
The present invention provides methods and apparatus for facilitating the sharing of implementations of rendering operations among different pixel formats. In accordance with one aspect of the present invention, a lookup table is generated having a plurality of software algorithm implementation descriptions. Each description may correspond to a rendering operation implementation or other type of software algorithm implementation. Each description comprises at least one attribute and may have a plurality of attributes such as a rendering operation type, a destination drawing surface data type, a source drawing surface data type, and a composition algorithm type. In addition, chains of a plurality of objects that are linked together are also generated. The objects can be implemented as C++ or Java objects having attributes and methods. The chains may comprise a chain of surface objects representing source or destination drawing surfaces. The chains may also comprise a chain of composition objects. Within each chain, the objects are linked together so that the supertype for a particular object can be easily accessed.
In accordance with another aspect of the present invention, the lookup table may be searched for a particular combination of attributes. The combination of attributes may comprise a specific rendering operation type and a specific destination drawing surface data type. If the specific combination of attributes is not found in the lookup table, then the chain of destination drawing surface objects may be traversed to find a supertype or more general description for the specified destination drawing surface data type. The lookup table may now be searched with the new combination of the specific rendering operation type and the supertype or more general destination drawing surface data type. This process can be repeated until a match is found or the chain of surface objects is fully traversed.
In accordance with another aspect of the present invention, the lookup table may be searched for a combination of attributes that includes a rendering operation type, a destination drawing surface data type, a source drawing surface data type, and a composition algorithm type. Linked chains of objects may be generated where the objects represent destination drawing surfaces, source drawing surfaces, and composition algorithms. If a match is not found in the lookup table for a specified combination of attributes, then the linked chains of objects may be traversed to obtain a supertype or more general description for one of the attributes. The lookup table can be searched again by substituting the supertype for one of the attributes. In this way, the lookup table can be iteratively searched until a match is found or the linked chains of objects are fully traversed.
REFERENCES:
patent: 5291583 (1994-03-01), Bapat
patent: 5335320 (1994-08-01), Iwata et al.
patent: 5384911 (1995-01-01), Bloomfield
patent: 5394523 (1995-02-01), Harris
patent: 5471568 (1995-11-01), Webb et al.
patent: 5644764 (1997-07-01), Johnson et al.
patent: 5671398 (1997-09-01), Neubauer
patent: 5701472 (1997-12-01), Koerber et al.
patent: 5764228 (1998-06-01), Baldwin
patent: 5852443 (1998-12-01), Kenworthy
patent: 6011540 (2000-01-01), Berlin et al.
patent: 6025826 (2000-02-01), Hung et al.
patent: 6034694 (2000-03-01), Evans et al.
patent: 6061520 (2000-05-01), Yellin et al.
patent: 6064408 (2000-05-01), Furlani et al.
patent: 6172596 (2001-01-01), Cesar et al.
patent: 6345387 (2002-02-01), Morrison
patent: 6381600 (2002-04-01), Lau
patent: 6401100 (2002-06-01), Gladieux
patent: 6502098 (2002-12-01), Lau
patent: WO 00/04436 (2000-01-01), None
Bella Matthew C.
Sajous Wesner
Sun Microsystems Inc.
LandOfFree
Methods and apparatus for facilitating the sharing of... does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Methods and apparatus for facilitating the sharing of..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Methods and apparatus for facilitating the sharing of... will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-3252554