Optimizing for rendering with clear color
AssigneeIntel Corporation
InventorsBimal Poddar, Prasoonkumar Surti, Rahul P. Sathe
Life of this patent
Estimating the term…
Abstract
Embodiments provide for a graphics processing apparatus comprising render logic to detect rendering operations that will result in framebuffer having the same data as the initial clear color value and morphing such rendering operations to optimizations that are typically done for initial clearing of the framebuffer.
Claims25
A graphics processing apparatus comprising:
- render logic to set a first control bit associated with a first region of memory to a value which represents a clear color value in response to a request to write the clear color to the first region of memory;
- and
- clear color detection logic to detect the request to write the clear color to the first region of memory and cause the render logic to set the first control bit.
A non-transitory machine-readable medium storing data which, when read by one or more machines, causes the one or more machines to fabricate one or more integrated circuits to perform a process comprising:
- clearing a framebuffer by setting a first set of control bits associated with a first set of cache lines of a framebuffer cache to a value representing a clear state;
- and
- drawing to the framebuffer by writing color data to a first cache line in the first set of cache lines of the framebuffer cache;
- and
- setting a first control bit in the first set of control bits to a value representing a data state.
A desktop composition system comprising:
- one or more processors coupled to memory, the one or more processors including at least one graphics processor;
- and
- a compositor to execute via the one or more processors, the compositor to:
- determine a predominant color for a surface;
- set clear color value to the predominant color;
- request a clear of the surface after setting the clear color value;
- render a desktop window to the surface via the one or more processors, at least one of the one or more processors to suppress writes of the clear color to the surface during the render.
Dependencies are inferred from the claim text.