<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sdk/emulator/opengl/shared/OpenglCodecCommon, 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: Ensure correct buffer alignment.</title>
<updated>2014-09-25T02:06:49+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-09-25T02:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=dfd49832d5d2058a69486af32373fc90ddc69a3d'/>
<id>dfd49832d5d2058a69486af32373fc90ddc69a3d</id>
<content type='text'>
The decoders generated by emugen pass addresses that come directly
from the stream to EGL/GL functions. Sometimes, these addresses are
not properly padded with regards to the type of data being transfered
and this can crash some implementations (e.g. OSMesa being compiled
with -msse by default, and doesn't build without it).

This patch introduces two helper classes in ProtocolUtils.h, named
InputBuffer and OutputBuffer, which are used to auto-align buffer
pointers, then make the generated decoder code use them.

Change-Id: I345c7eecc230f62310ced5378b6344f419647e06
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decoders generated by emugen pass addresses that come directly
from the stream to EGL/GL functions. Sometimes, these addresses are
not properly padded with regards to the type of data being transfered
and this can crash some implementations (e.g. OSMesa being compiled
with -msse by default, and doesn't build without it).

This patch introduces two helper classes in ProtocolUtils.h, named
InputBuffer and OutputBuffer, which are used to auto-align buffer
pointers, then make the generated decoder code use them.

Change-Id: I345c7eecc230f62310ced5378b6344f419647e06
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl/emugen: Use templates to read values from stream.</title>
<updated>2014-09-16T00:27:23+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-09-13T02:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=5998eb01070760ecca8eb5fae62e056db482f535'/>
<id>5998eb01070760ecca8eb5fae62e056db482f535</id>
<content type='text'>
The decoder didn't properly handle GLsizeiptr and GLintptr values, which
are always 32-bit on the wire, but can be 64-bit on the host. I.e. it
did something like that to read them from the stream:

  *(GLsizeiptr*)(ptr + offset)

This fixes the issue by using templates to generate host-type-specific
functions that properly read data from the stream and convert it to the
appropriate host type.

Change-Id: I75749bd715456ca143eb1713498f7cf635918801
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decoder didn't properly handle GLsizeiptr and GLintptr values, which
are always 32-bit on the wire, but can be 64-bit on the host. I.e. it
did something like that to read them from the stream:

  *(GLsizeiptr*)(ptr + offset)

This fixes the issue by using templates to generate host-type-specific
functions that properly read data from the stream and convert it to the
appropriate host type.

Change-Id: I75749bd715456ca143eb1713498f7cf635918801
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Cleanup build files + remove obsolete tests.</title>
<updated>2014-08-27T17:01:06+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-08-27T17:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=31435b2d287b4eb5a4def3dfb17fbd7f930e5ced'/>
<id>31435b2d287b4eb5a4def3dfb17fbd7f930e5ced</id>
<content type='text'>
This patch cleans up the build files for the GPU emulation libraries
(i.e. there is no need to test for BUILD_EMULATOR_64BITS anymore,
filtering is now handled by the build system directly).

+ Remove a bunch obsolete tests, which were not unit tests, despite
  their name beginning with ut_xxxx.

  Which includes removing dependency on SDL too.

+ Remove -m64 and -fPIC flags from compilation. These are not
  necessary anymore (again, the build system now takes charge of
  placing them when necessary), and generated link-time warning
  when building Windows executables.

+ Remove a few declarations related to the now-obsolete platform
  build (these libraries are only built with the emulator's build
  system now).

Change-Id: I27c28979c42cd51f2fe9e30edd4141136e80ee03
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch cleans up the build files for the GPU emulation libraries
(i.e. there is no need to test for BUILD_EMULATOR_64BITS anymore,
filtering is now handled by the build system directly).

+ Remove a bunch obsolete tests, which were not unit tests, despite
  their name beginning with ut_xxxx.

  Which includes removing dependency on SDL too.

+ Remove -m64 and -fPIC flags from compilation. These are not
  necessary anymore (again, the build system now takes charge of
  placing them when necessary), and generated link-time warning
  when building Windows executables.

+ Remove a few declarations related to the now-obsolete platform
  build (these libraries are only built with the emulator's build
  system now).

Change-Id: I27c28979c42cd51f2fe9e30edd4141136e80ee03
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Remove out-of-process handling code.</title>
<updated>2014-07-09T16:16:17+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-07-09T14:44:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=d50eea1bfe3883072b4f8dfcb663f0d83c36bab1'/>
<id>d50eea1bfe3883072b4f8dfcb663f0d83c36bab1</id>
<content type='text'>
This removes the last pieces of shared/OpenglOsUtils
which were never used since the code in render_api.cpp always
used thread-based rendering, instead of process-based one.

This feature could be re-implemented in the future, if really
desirable.

Change-Id: I551e0f3d6d5a06ff66cb40b007e2b24c295f1dd8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the last pieces of shared/OpenglOsUtils
which were never used since the code in render_api.cpp always
used thread-based rendering, instead of process-based one.

This feature could be re-implemented in the future, if really
desirable.

Change-Id: I551e0f3d6d5a06ff66cb40b007e2b24c295f1dd8
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Prepare for 64-bit build changes.</title>
<updated>2014-06-11T12:57:38+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-06-11T12:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=d430650793909f763de85847d234903606302b96'/>
<id>d430650793909f763de85847d234903606302b96</id>
<content type='text'>
This patch slightly modifies the build files for the GPU emulation
libraries to prepare for future changes in the emulator-specific
build system that will be necessary to support Win64 binaries.

The main difference is the introduction of 64-bit versions of the
emugl-begin-host-&lt;type&gt; macros, named emugl-begin-host64-&lt;type&gt;.

Change-Id: Ib40c030fa407b0ed951755dd9b007fda85778e03
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch slightly modifies the build files for the GPU emulation
libraries to prepare for future changes in the emulator-specific
build system that will be necessary to support Win64 binaries.

The main difference is the introduction of 64-bit versions of the
emugl-begin-host-&lt;type&gt; macros, named emugl-begin-host64-&lt;type&gt;.

Change-Id: Ib40c030fa407b0ed951755dd9b007fda85778e03
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Fix misc. compiler warnings.</title>
<updated>2014-04-01T08:22:22+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-03-27T16:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2'/>
<id>3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2</id>
<content type='text'>
These warnings appear when building the sources through the emulator's
standalone build system, not the platform one.

Change-Id: Ib5d51cf6211f32763be00c7436ae14c06f76b436
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These warnings appear when building the sources through the emulator's
standalone build system, not the platform one.

Change-Id: Ib5d51cf6211f32763be00c7436ae14c06f76b436
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Allow standalone build.</title>
<updated>2014-03-11T17:03:08+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-03-01T11:21:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=56b89bc863d1a5da6234f05923f63b5466e1ce3f'/>
<id>56b89bc863d1a5da6234f05923f63b5466e1ce3f</id>
<content type='text'>
This patch improves the build files for the GPU emulation
libraries to allow them to be built directly with the emulator's
own standalone build system.

Change-Id: I205392bdfe4223a5c43fa67e24a2beffcbcbc07a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch improves the build files for the GPU emulation
libraries to allow them to be built directly with the emulator's
own standalone build system.

Change-Id: I205392bdfe4223a5c43fa67e24a2beffcbcbc07a
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Remove libcutils/libutils/liblog</title>
<updated>2014-03-11T17:03:08+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-02-27T16:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=829f46fdcd3136e2b97c310538cb27881ff3733b'/>
<id>829f46fdcd3136e2b97c310538cb27881ff3733b</id>
<content type='text'>
Final patch to completely remove dependencies on
libcutils/libutils/liblog from the host-side GPU
emulation libraries.

Change-Id: I84a058bbd0ca676b18c0b0a094ac8bae692f9c94
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Final patch to completely remove dependencies on
libcutils/libutils/liblog from the host-side GPU
emulation libraries.

Change-Id: I84a058bbd0ca676b18c0b0a094ac8bae692f9c94
</pre>
</div>
</content>
</entry>
<entry>
<title>emulator/opengl: Remove &lt;utils/List.h&gt; + &lt;utils/String8.h&gt;</title>
<updated>2014-03-11T17:03:08+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@google.com</email>
</author>
<published>2014-02-27T16:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/sdk/commit/?id=c26879632b8ed3e91c7e5e9e9650d2412835e849'/>
<id>c26879632b8ed3e91c7e5e9e9650d2412835e849</id>
<content type='text'>
This removes dependencies on two libutils headers.

Rather than provide alternative data types, simply disable the
corresponding code because it looks like the corresponding fields
are simply never used by the code?

It is likely that this code is only used in the guest portion
of the code, and thus completely un-necessary on the host side.

Change-Id: I22c67f114c2c77381ceba8de23dd631158276596
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes dependencies on two libutils headers.

Rather than provide alternative data types, simply disable the
corresponding code because it looks like the corresponding fields
are simply never used by the code?

It is likely that this code is only used in the guest portion
of the code, and thus completely un-necessary on the host side.

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