Graphics State Version Management Using Binary Reference Bits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current graphics state management systems face inefficiencies in memory allocation and deallocation due to the need for complex reference state management, leading to increased computational burdens and memory usage, especially when managing consecutive graphics states.

Innovation Solution

The use of a string of binary values, referred to as reference state bits (RSBs), to indicate whether pages are referenced or not, allowing for simplified allocation and deallocation of memory pages for each graphics state version, reducing the need for detailed reference counting and minimizing calculations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If reference counting is used to manage memory pages for graphics state versions, then memory allocation and deallocation can be controlled, but computational burden and memory usage increase due to complex reference state management

Engineering Contradiction:
Improvememory management correctnessVSAvoidreference state management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the parameter representation from multi-byte reference counts to single-bit reference state flags. Each memory page is associated with a bit string where each bit indicates whether the page is referenced by any graphics state version. This parameter transformation reduces the computational complexity of reference state management while maintaining correctness, as bits require minimal processing compared to multi-byte counters.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

Instead of tracking how many times each page is referenced (traditional reference counting), the patent inverts the approach by tracking whether a page is referenced at all (binary state). This inversion simplifies the data structure from storing counts to storing boolean flags, reducing both memory usage and computational overhead while achieving the same goal of preventing premature deallocation.

Inventive Principle:
Principle #13The other way round (Inversion)

2Reliability

If detailed reference counting is performed for each memory page, then allocation and deallocation decisions are accurate, but memory usage increases due to storing reference state information

Engineering Contradiction:
Improvepage deallocation accuracyVSAvoidmemory usage for reference states
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent transforms the reference state parameter from multi-byte reference counts to single-bit flags. This parameter change reduces the storage requirement for each page's reference state from potentially multiple bytes to just one bit per page, significantly reducing the memory overhead while preserving the essential information needed for accurate deallocation decisions.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts only the essential information needed for memory management (whether a page is referenced or not) and discards the redundant information (the exact count of references). This extraction approach retains sufficient data for correct allocation and deallocation decisions while minimizing the storage overhead associated with reference state management.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If complex reference counting operations are performed for every graphics state change, then memory management is accurate, but system performance decreases due to increased computational overhead

Engineering Contradiction:
Improvememory management accuracyVSAvoidgraphics processing performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent changes the reference state parameter from multi-byte counts requiring complex arithmetic operations to single-bit flags requiring only simple bitwise operations. This parameter transformation dramatically reduces the computational overhead of reference state management during graphics state changes, improving system performance while maintaining management accuracy through the simplicity and speed of bit manipulation.

Inventive Principle:
Principle #35Parameter changes

4Ease of operation

If memory pages are allocated for each graphics state version, then state management is simplified, but memory usage increases due to inability to deallocuate referenced pages

Engineering Contradiction:
Improvestate version managementVSAvoidmemory usage
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent extracts the essential reference state information (binary indication of reference status) and uses it to enable proper deallocation of memory pages. This extraction allows the system to maintain simple per-version page allocation while implementing intelligent deallocation based on actual reference status, thereby reducing unnecessary memory usage without complicating state version management.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS9734620B2Apparatus and method for graphics state management
Publication Date: 2017.08.15 SAMSUNG ELECTRONICS CO LTD
  • US9734620B2 patent drawing
  • US9734620B2 patent drawing
  • US9734620B2 patent drawing

AI summary

An apparatus and method for graphics state management. The apparatus for graphics state management includes a state version manager configured to manage changes in graphics state versions by allocating or deallocating a memory for each of graphics states based on a page of a predetermined size, wherein the state version manager allocates or deallocates pages for each of the graphics state versions by using a string of binary values that indicates the respective reference states of each of those pages.