Skip to content

Commit d606386

Browse files
committed
Update readme
GitHub strips the inline svg when it renders the readme, leaving only the link. This commit changes the html to load an external svg in an img tag. That part was easy. The hard part was figuring out how to configure the svg so that the text still used a sensible font once rendered. I tried a lot of things that did not work. But, the readme rendering respects inline style on the text element in the svg: style="fill: #ffffff;font-family:sans-serif;font-style:normal;font-weight:bold". Hopefully, this will continue to work.
1 parent 8b3f5c3 commit d606386

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
# AMD AGS SDK
2-
<img src="ags_lib/doc/amd_logo_black.png" width="512" height="123" />
2+
![AMD AGS SDK](http://gpuopen-librariesandsdks.github.io/media/amd_logo_black.png)
33

44
The AMD GPU Services (AGS) library provides software developers with the ability to query AMD GPU software and hardware state information that is not normally available through standard operating systems or graphic APIs. Version 3.1 of the library includes support for querying graphics driver version info, GPU performance, Crossfire&trade; (AMD's multi-GPU rendering technology) configuration info, and Eyefinity (AMD's multi-display rendering technology) configuration info. AGS also exposes the explicit Crossfire API, as well as additional functionality supported in the AMD driver for DirectX 11.
55

66
In addition to the library itself, the AGS SDK includes several samples to demonstrate use of the library.
77

8-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="114" height="29">
9-
<a xlink:href="https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/releases/latest/">
10-
<rect rx="3" ry="3" width="114" height="29" style="fill:#6cc644"></rect>
11-
<text x="57" y="14" fill="white" font-weight="bold" text-anchor="middle" alignment-baseline="central">Latest release</text>
12-
</a>
13-
</svg>
8+
<div>
9+
<a href="https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/releases/latest/"><img src="http://gpuopen-librariesandsdks.github.io/media/latest-release-button.svg" alt="Latest release" title="Latest release"></a>
10+
</div>
1411

1512
### What's new in AGS
1613
AGS now returns a lot more information from the GPU in addition to exposing the explicit Crossfire API and other extensions for DirectX 11. Highlights include the following:

0 commit comments

Comments
 (0)