<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libepoxy.git/src/dispatch_wgl.c, branch python-gen-dispatch</title>
<subtitle>github.com: anholt/libepoxy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/'/>
<entry>
<title>Improve consistency of the symbol visibility</title>
<updated>2017-01-25T12:43:17+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2017-01-24T17:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=7a06803465dd07e152de1b30763d6bea0d3fcc93'/>
<id>7a06803465dd07e152de1b30763d6bea0d3fcc93</id>
<content type='text'>
To avoid a symbols file on Windows, Epoxy annotates all the publicly
visible symbols directly in the source, but uses the default symbol
visibility everywhere else. This means that only some symbols are
annotated as `EPOXY_IMPORTEXPORT`, and generally only on Windows.
Additionally, Epoxy has a private 'PUBLIC' pre-processor macro for
internal use, which duplicates the `EPOXY_IMPORTEXPORT` but contains
more logic to detect GCC, in case we're building with GCC on Windows.

This would be enough, except that EGL is also available on Windows,
which means we'd have to annotate the exported `epoxy_*` API inside
epoxy/egl.h as well. At that point, though, we should probably avoid
any confusion, and adopt a single symbol visibility policy across the
board.

This requires some surgery of the generated and common dispatch sources,
but cuts down the overall complexity:

 - there is only one annotation, `EPOXY_PUBLIC`, used everywhere
 - the annotation detection is done at Epoxy configuration time
 - only annotated symbols are public, on every platform
 - annotated symbols are immediately visible from the header
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid a symbols file on Windows, Epoxy annotates all the publicly
visible symbols directly in the source, but uses the default symbol
visibility everywhere else. This means that only some symbols are
annotated as `EPOXY_IMPORTEXPORT`, and generally only on Windows.
Additionally, Epoxy has a private 'PUBLIC' pre-processor macro for
internal use, which duplicates the `EPOXY_IMPORTEXPORT` but contains
more logic to detect GCC, in case we're building with GCC on Windows.

This would be enough, except that EGL is also available on Windows,
which means we'd have to annotate the exported `epoxy_*` API inside
epoxy/egl.h as well. At that point, though, we should probably avoid
any confusion, and adopt a single symbol visibility policy across the
board.

This requires some surgery of the generated and common dispatch sources,
but cuts down the overall complexity:

 - there is only one annotation, `EPOXY_PUBLIC`, used everywhere
 - the annotation detection is done at Epoxy configuration time
 - only annotated symbols are public, on every platform
 - annotated symbols are immediately visible from the header
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert all changes since 8bbc0d40</title>
<updated>2016-12-07T14:45:14+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-12-07T14:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=8dead45cb366bf5c08539bef2ccaa36b80eb1483'/>
<id>8dead45cb366bf5c08539bef2ccaa36b80eb1483</id>
<content type='text'>
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.

Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.

From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.

Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.

From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix support for a static build of Epoxy. Add support building and running tests with CMake. Add support for linking with the static run-time library with MSVC.</title>
<updated>2015-09-03T20:17:39+00:00</updated>
<author>
<name>Yaron Cohen-Tal</name>
<email>yaronct@gmail.com</email>
</author>
<published>2015-09-03T20:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=44d51f28445d40451bc600b26f3b4b17fd003c67'/>
<id>44d51f28445d40451bc600b26f3b4b17fd003c67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in which "DllMain" isn't called when using the static version of Epoxy in Windows.</title>
<updated>2015-08-30T12:32:07+00:00</updated>
<author>
<name>Yaron Cohen-Tal</name>
<email>yaronct@gmail.com</email>
</author>
<published>2015-08-30T12:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=64e2ee2ca81cf7d772bad2f471073e1066572c17'/>
<id>64e2ee2ca81cf7d772bad2f471073e1066572c17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.</title>
<updated>2015-07-19T10:40:35+00:00</updated>
<author>
<name>Yaron Cohen-Tal</name>
<email>yaronct@gmail.com</email>
</author>
<published>2015-07-19T09:59:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=90c6158d61a4b27f00997049d67344b425275c5c'/>
<id>90c6158d61a4b27f00997049d67344b425275c5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Put the callspec after the return type for MSVC.</title>
<updated>2015-06-06T00:51:08+00:00</updated>
<author>
<name>Chun-wei Fan</name>
<email>fanchunwei@src.gnome.org</email>
</author>
<published>2015-06-06T00:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=7d5e8e9d5604736601e28f4c8530759fc537fd12'/>
<id>7d5e8e9d5604736601e28f4c8530759fc537fd12</id>
<content type='text'>
Visual Studio does not like __stdcall before the return type, which is
what GLAPIENTRY and EPOXY_CALLSPEC expands to on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Visual Studio does not like __stdcall before the return type, which is
what GLAPIENTRY and EPOXY_CALLSPEC expands to on Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>wgl: Fix an extra break statement.</title>
<updated>2015-01-09T22:18:50+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>eric@anholt.net</email>
</author>
<published>2015-01-09T22:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=135f7bf1043ca2a48d88d920fd46f3fe0097f359'/>
<id>135f7bf1043ca2a48d88d920fd46f3fe0097f359</id>
<content type='text'>
This would have leaked our TLS indices on process exit.

Fixes #32
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This would have leaked our TLS indices on process exit.

Fixes #32
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: Delay using dispatch tables until the second MakeCurrent.</title>
<updated>2014-03-28T23:45:26+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>eric@anholt.net</email>
</author>
<published>2014-03-19T21:18:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=3e09de7550cd901b8d3ecbf27e0128f0dc0f0b99'/>
<id>3e09de7550cd901b8d3ecbf27e0128f0dc0f0b99</id>
<content type='text'>
Fixes #11.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #11.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: Convert the API to being based on function pointers, like Linux.</title>
<updated>2013-12-17T23:08:02+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>eric@anholt.net</email>
</author>
<published>2013-12-17T22:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=9bc909f5a7024ca3c2b5aa2fc26b19e8de9c7cf0'/>
<id>9bc909f5a7024ca3c2b5aa2fc26b19e8de9c7cf0</id>
<content type='text'>
For performance, I want to be able to make single-context (well,
single-pixel-format-and-device) apps be able to directly call GL
functions through function pointers.  Bake that into the ABI now so I
can get a release out the door and fix this up later.

This also fixes the lack of __stdcall annotation on the
PFNWHATEVERPROC typedefs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For performance, I want to be able to make single-context (well,
single-pixel-format-and-device) apps be able to directly call GL
functions through function pointers.  Bake that into the ABI now so I
can get a release out the door and fix this up later.

This also fixes the lack of __stdcall annotation on the
PFNWHATEVERPROC typedefs.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: Expose the dispatch table reset funtion in the public API.</title>
<updated>2013-12-17T22:34:02+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>eric@anholt.net</email>
</author>
<published>2013-12-17T22:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libepoxy.git/commit/?id=3ae4726cdbb0fccdb02bcdba07662fe6f6a15589'/>
<id>3ae4726cdbb0fccdb02bcdba07662fe6f6a15589</id>
<content type='text'>
Fixes #2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2.
</pre>
</div>
</content>
</entry>
</feed>
