<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sdk/emulator/opengl/host/tools/emugen/tests, branch replicant-6.0</title>
<subtitle>sdk
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/'/>
<entry>
<title>emulator/opengl: Remove obsolete directory.</title>
<updated>2014-12-08T08:27:26+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-12-07T13:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=e8d37d5d88fa24a66ea8467e9b87a665b5e56992'/>
<id>e8d37d5d88fa24a66ea8467e9b87a665b5e56992</id>
<content type='text'>
All sources were moved to external/qemu/distrib/android-emugl
to make it easier to modify both the emulator and host libraries
at the same time. See:

    https://android-review.googlesource.com/#/c/118203/

As such, the sources in this directory are now ignored and can be
safely removed.

Change-Id: I5d143c971f995e2599e5e1d6174030d6803e8080
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All sources were moved to external/qemu/distrib/android-emugl
to make it easier to modify both the emulator and host libraries
at the same time. See:

    https://android-review.googlesource.com/#/c/118203/

As such, the sources in this directory are now ignored and can be
safely removed.

Change-Id: I5d143c971f995e2599e5e1d6174030d6803e8080
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl/emugen: Fix type parsing.</title>
<updated>2014-11-28T09:58:38+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-11-27T15:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=8c107b481a05f11f32fca6a5797fda637860ad4c'/>
<id>8c107b481a05f11f32fca6a5797fda637860ad4c</id>
<content type='text'>
This patch fixes the parsing of type declarations and parameter
declarations to:

- Properly recognize complicated types like 'const int* const*'
  which previously required omitting spaces (e.g. 'const int*const*')
  to be recognized by the parser.

- Normalize the type strings (e.g. 'const char **items' -&gt; 'const char** items')

- Add a unit test program (emugen_unittests) to check emugen's internal
  functions. For now this only applies to the new functions introduced
  in the new header Parser.h

+ Update emugen test suite accordingly.

Change-Id: Ib1b6bcbae97e1ee7d8b272843dfb5926d2d98fd2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the parsing of type declarations and parameter
declarations to:

- Properly recognize complicated types like 'const int* const*'
  which previously required omitting spaces (e.g. 'const int*const*')
  to be recognized by the parser.

- Normalize the type strings (e.g. 'const char **items' -&gt; 'const char** items')

- Add a unit test program (emugen_unittests) to check emugen's internal
  functions. For now this only applies to the new functions introduced
  in the new header Parser.h

+ Update emugen test suite accordingly.

Change-Id: Ib1b6bcbae97e1ee7d8b272843dfb5926d2d98fd2
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl/emugen: Add new 'flushOnEncode' entry point flag.</title>
<updated>2014-10-31T10:16:11+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-10-31T10:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=c4f3b66839698174b9f86c92b0a8efae5c80d415'/>
<id>c4f3b66839698174b9f86c92b0a8efae5c80d415</id>
<content type='text'>
This adds a new flag that can be applied to entry points for 'emugen',
named 'flushOnEncode'. When used, the generated encoder will call
stream-&gt;flush() just after adding bytes to the stream.

This is needed to match the manual change that was performed in
the renderControl encoder in the following patch:

    https://android-review.googlesource.com/#/c/95864/

Change-Id: I8cc8fdb0d38ef27e8ba646c83d717166400babfd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new flag that can be applied to entry points for 'emugen',
named 'flushOnEncode'. When used, the generated encoder will call
stream-&gt;flush() just after adding bytes to the stream.

This is needed to match the manual change that was performed in
the renderControl encoder in the following patch:

    https://android-review.googlesource.com/#/c/95864/

Change-Id: I8cc8fdb0d38ef27e8ba646c83d717166400babfd
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Remove compiler warnings.</title>
<updated>2014-10-30T20:37:31+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-10-30T14:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=ad887fb072b747c6da73e676c3720f95fc688f3b'/>
<id>ad887fb072b747c6da73e676c3720f95fc688f3b</id>
<content type='text'>
This patch ensures that the auto-generated client_context.h
headers do not generate compiler warnings in the setError()
function.

+ Remove tiny warning for NativeLinuxSubWindow.cpp

Change-Id: Ibab92ab3332fd284589435732b52c011ae21c15f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch ensures that the auto-generated client_context.h
headers do not generate compiler warnings in the setError()
function.

+ Remove tiny warning for NativeLinuxSubWindow.cpp

Change-Id: Ibab92ab3332fd284589435732b52c011ae21c15f
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl/emugen: Small cleanup of autogenerated sources.</title>
<updated>2014-10-30T20:36:55+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-10-30T14:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=4631f988e530be4d11daf0fa03e8ab47e0bfbcae'/>
<id>4631f988e530be4d11daf0fa03e8ab47e0bfbcae</id>
<content type='text'>
This patch ensures the generated sources are cleaned up a little
bit, more specifically:

  - Add proper end-ifdef-guard comments.
  - Use anonymous C++ namespaces to avoid name conflicts in the encoder.
  - Remove extra spaces / empty lines / indent.
  - Use 'const' when defining constant tables.

Change-Id: Ib11fd06adb9075d472d1dd2fd6defb0760aaa2c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch ensures the generated sources are cleaned up a little
bit, more specifically:

  - Add proper end-ifdef-guard comments.
  - Use anonymous C++ namespaces to avoid name conflicts in the encoder.
  - Remove extra spaces / empty lines / indent.
  - Use 'const' when defining constant tables.

Change-Id: Ib11fd06adb9075d472d1dd2fd6defb0760aaa2c2
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Add emugen test suite.</title>
<updated>2014-10-30T14:39:18+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-10-30T14:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=6d4468efe84bf50fb8e43aab011059fb7d019c1b'/>
<id>6d4468efe84bf50fb8e43aab011059fb7d019c1b</id>
<content type='text'>
This adds a small test suite to check the output of the 'emugen'
program. This serves two purposes:

  1) To more easily check that modifications to 'emugen' do not
     break stuff liberally.

  2) To better document how the changes in the generator actually
     modify the output.

To run it, simply call the 'run-tests.sh' script with 'emugen' in
your path, or use --emugen=&lt;program&gt; otherwise. See --help for more
details.

NOTE: The test suite currently doesn't check that the generated
      sources compile properly, or that they even work as expected.

See the following external/qemu patch to call run-tests.sh during
each android-rebuild.sh run:

    https://android-review.googlesource.com/112541

Change-Id: I9abc3f9ae63b0bb753f0f8e07c1b3f0b11a3252f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a small test suite to check the output of the 'emugen'
program. This serves two purposes:

  1) To more easily check that modifications to 'emugen' do not
     break stuff liberally.

  2) To better document how the changes in the generator actually
     modify the output.

To run it, simply call the 'run-tests.sh' script with 'emugen' in
your path, or use --emugen=&lt;program&gt; otherwise. See --help for more
details.

NOTE: The test suite currently doesn't check that the generated
      sources compile properly, or that they even work as expected.

See the following external/qemu patch to call run-tests.sh during
each android-rebuild.sh run:

    https://android-review.googlesource.com/112541

Change-Id: I9abc3f9ae63b0bb753f0f8e07c1b3f0b11a3252f
</pre>
</div>
</content>
</entry>
</feed>
