mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
Merge branch 'server-bgra-glyphs' into 'master'
render: Add CreateColorGlyphSet See merge request xorg/proto/xorgproto!89
This commit is contained in:
commit
0e366f4a2c
2 changed files with 26 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ typedef XID PictFormat;
|
|||
|
||||
#define RENDER_NAME "RENDER"
|
||||
#define RENDER_MAJOR 0
|
||||
#define RENDER_MINOR 11
|
||||
#define RENDER_MINOR 12
|
||||
|
||||
#define X_RenderQueryVersion 0
|
||||
#define X_RenderQueryPictFormats 1
|
||||
|
|
@ -77,7 +77,9 @@ typedef XID PictFormat;
|
|||
#define X_RenderCreateLinearGradient 34
|
||||
#define X_RenderCreateRadialGradient 35
|
||||
#define X_RenderCreateConicalGradient 36
|
||||
#define RenderNumberRequests (X_RenderCreateConicalGradient+1)
|
||||
/* 0.12 */
|
||||
#define X_RenderCreateColorGlyphSet 37
|
||||
#define RenderNumberRequests (X_RenderCreateColorGlyphSet+1)
|
||||
|
||||
#define BadPictFormat 0
|
||||
#define BadPicture 1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
The X Rendering Extension
|
||||
Version 0.11
|
||||
2009-07-15
|
||||
Version 0.12
|
||||
2020-4-22
|
||||
Keith Packard
|
||||
keithp@keithp.com
|
||||
|
||||
|
|
@ -36,6 +36,9 @@ This extension was the work of many people, in particular:
|
|||
|
||||
+ Owen Taylor for helping specify projective transformations
|
||||
|
||||
+ Maxime Coste for building a client-side version of color glyph
|
||||
support and encouraging adding that here.
|
||||
|
||||
3. Rendering Model
|
||||
|
||||
Render provides a single rendering operation which can be used in a variety of
|
||||
|
|
@ -1148,7 +1151,21 @@ CreateConicalGradient
|
|||
|
||||
The colors are non premultiplied.
|
||||
|
||||
|
||||
CreateColorGlyphSet
|
||||
|
||||
gsid: GLYPHSET
|
||||
format: PICTFORMAT
|
||||
|
||||
Errors:
|
||||
Alloc, IDChoice, PictFormat, Match
|
||||
|
||||
This request creates a container for glyphs. The glyphset and
|
||||
all contained glyphs are destroyed when gsid and any other names
|
||||
for the glyphset are freed. Format must be a Direct format, when
|
||||
it contains RGB values, the glyphs are used as the source in
|
||||
compositing and no mask is used, otherwise they are composited using
|
||||
as normal glyphs.
|
||||
|
||||
15. Extension Versioning
|
||||
|
||||
The Render extension was developed in parallel with the implementation to
|
||||
|
|
@ -1212,3 +1229,5 @@ what each version before 1.0 implemented:
|
|||
0.11:
|
||||
Blend mode operators
|
||||
|
||||
0.12:
|
||||
CreateColorGlyphSet
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue