Commit Graph

5986 Commits

Author SHA1 Message Date
David Turner
cf0dd28b87 am a80adff3: Merge "emugen - fix wrapper context naming"
* commit 'a80adff329db784d8e22510668a4613a4031da0f':
  emugen - fix wrapper context naming
2011-05-03 12:53:52 -07:00
David Turner
2bd2dcb395 am 13006a26: Merge "emugen: generate wrapper library files"
* commit '13006a265736ad992f4918707a895d3549e2f1f0':
  emugen: generate wrapper library files
2011-05-03 12:53:46 -07:00
David Turner
071f3aaa15 am 351c4d55: Merge "emulator Opengl - slight type change for GLESv2"
* commit '351c4d55b7fbf3e1730878a845c5411fd724d7e0':
  emulator Opengl - slight type change for GLESv2
2011-05-03 12:53:40 -07:00
David Turner
153c35f335 am d8bbe0ce: Merge "emulator Opengl - number of supported vertex attributes"
* commit 'd8bbe0ce838663738a14dcc269e5793b6e978221':
  emulator Opengl - number of supported vertex attributes
2011-05-03 12:53:20 -07:00
David Turner
003f8d1275 am e72ec4bf: Merge "adding support for getting gles proc address from eglGetProcAdress"
* commit 'e72ec4bfbda1aef6faebd20c0afc19ace53b308e':
  adding support for getting gles proc address from eglGetProcAdress
2011-05-03 12:53:14 -07:00
David Turner
d1286137f7 am 8e2dc32b: Merge "Add GLESv2 functionality to GLESv1/GLESv2 shared code"
* commit '8e2dc32b2d540f09a22dc447b53442070477498e':
  Add GLESv2 functionality to GLESv1/GLESv2 shared code
2011-05-03 12:53:07 -07:00
David Turner
ec0369decc am 77b1a456: Merge "Move utility functions into glUtils"
* commit '77b1a4565ca4f6599a4848dd1d83b12727b1ebbc':
  Move utility functions into glUtils
2011-05-03 12:52:52 -07:00
David Turner
a80adff329 Merge "emugen - fix wrapper context naming" 2011-05-03 05:44:49 -07:00
David Turner
13006a2657 Merge "emugen: generate wrapper library files" 2011-05-03 05:44:31 -07:00
David Turner
351c4d55b7 Merge "emulator Opengl - slight type change for GLESv2" 2011-05-03 05:44:15 -07:00
David Turner
d8bbe0ce83 Merge "emulator Opengl - number of supported vertex attributes" 2011-05-03 05:43:59 -07:00
Jacky Romano
a3b48dbbe7 emugen - fix wrapper context naming
Change-Id: I5261c5f94f200480bad4ad74812c20302a5e81d5
2011-05-03 14:41:52 +02:00
Jacky Romano
ea3a3584f5 emugen: generate wrapper library files
Add functionality to generate a wrapper library. A wrapper library includes:
1. entry points
2. dispatch table (accessed from the library entry points)
3. dispatch table accessor callback
4. dispatch table initialization function

Note that the dispatch table initialization function used to be part of the decoder. This
change moves it to be part of the dispatch table layer where it belongs.

Change-Id: Ide6764a17cc029056f9946e778a513cdc2a49003
2011-05-03 14:40:52 +02:00
Jacky Romano
139308015e emulator Opengl - slight type change for GLESv2
Match the location type in the decoder context data to take
int locations rather then symbolic constants.

Change-Id: I353e43315c90dbeafe4820a3749a0d1cf0848d4b
2011-05-03 14:39:11 +02:00
Jacky Romano
68367ae969 emulator Opengl - number of supported vertex attributes
make the number of suppoted vertex attributes (by the codec)
common across the encoder and the decoder.

Change-Id: I699ef62821566cec0764982872adb92ebb8861e9
2011-05-03 14:38:29 +02:00
David Turner
e72ec4bfbd Merge "adding support for getting gles proc address from eglGetProcAdress" 2011-05-03 05:24:41 -07:00
Amit Feller
25d29c4778 adding support for getting gles proc address from eglGetProcAdress
Change-Id: Ife1b3be5abd181cce837eebbf993e99759eec8e7
2011-05-03 13:34:13 +02:00
David Turner
0a78cb7f62 am b4669d5d: Merge "emulator: opengl: Fix Mac build"
* commit 'b4669d5dc992fa637abbce986ebe2f282624d6ac':
  emulator: opengl: Fix Mac build
2011-05-02 12:33:18 -07:00
David Turner
7da2a217ee am 27c128d7: Merge "GLESv1 extensions"
* commit '27c128d7018676fec649b9703c9ad329f2ebf888':
  GLESv1 extensions
2011-05-02 12:33:16 -07:00
David Turner
cc45a2569c am cd7a4fd9: Merge "supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions"
* commit 'cd7a4fd9375d86907463c847b4ccf9020f4f44cc':
  supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions
2011-05-02 12:33:14 -07:00
David Turner
6b588edf74 am 70faa88e: Merge "integrating objectNameManger into GLES implementation"
* commit '70faa88ebc884519ba6e8ba8be45cff2c176ebcf':
  integrating objectNameManger into GLES implementation
2011-05-02 12:33:10 -07:00
David Turner
c46dffa2c1 am 71c92e77: Merge "Emulator\'s host translator EGL implementation."
* commit '71c92e77dc46cf457d45d1d2a64608cd9c88782a':
  Emulator's host translator EGL implementation.
2011-05-02 12:33:08 -07:00
David Turner
a2914a393a am 9d4ac946: Merge "Emulator\'s GLES translator implementation."
* commit '9d4ac946f32d23a4c8ce5723a4e7cb1153f4abb5':
  Emulator's GLES translator implementation.
2011-05-02 12:33:01 -07:00
David Turner
8e2dc32b2d Merge "Add GLESv2 functionality to GLESv1/GLESv2 shared code" 2011-05-02 09:18:55 -07:00
David Turner
77b1a4565c Merge "Move utility functions into glUtils" 2011-05-02 09:15:28 -07:00
Jacky Romano
254492ffd6 Add GLESv2 functionality to GLESv1/GLESv2 shared code
Extends GLClientState to support additional state data
that is required by GLESv2. this includes:
* normalized flag in vertex attribute arrays
* getter for vertex attribute arrays state
* glParamSize now knows about the result size of GL2 parameters
* utility functions required for a GLESv2 encoder

Change-Id: I7e57d978bed5b8b929b918aee66c7f71dc5df3b1
2011-05-02 18:23:13 +03:00
Jacky Romano
3c2aa9b931 Move utility functions into glUtils
Move utility functions into glUtils so they can be shared
between GLESv1 and GLESv2 codecs.

Change-Id: I673b316395604e4288412e7ace328076812d4cc1
2011-05-02 18:23:13 +03:00
David Turner
b4669d5dc9 Merge "emulator: opengl: Fix Mac build" 2011-05-02 05:15:51 -07:00
David Turner
2d3b98f87b emulator: opengl: Fix Mac build
This fixes several issues when building the host libraris on Darwin.
Note that there is still not proper implementation of backend functions.

Change-Id: I3ba4120df6545a8c2aa62fdfcaadaf5ff4972456
2011-05-02 14:08:03 +02:00
David Turner
27c128d701 Merge "GLESv1 extensions" 2011-05-01 23:53:38 -07:00
David Turner
cd7a4fd937 Merge "supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions" 2011-05-01 23:52:23 -07:00
David Turner
70faa88ebc Merge "integrating objectNameManger into GLES implementation" 2011-05-01 23:51:55 -07:00
David Turner
71c92e77dc Merge "Emulator's host translator EGL implementation." 2011-05-01 23:51:17 -07:00
David Turner
9d4ac946f3 Merge "Emulator's GLES translator implementation." 2011-05-01 23:50:40 -07:00
Conley Owens
f7301f0d04 am 9d89b171: Merge "Fix typo in informational text"
* commit '9d89b171ee9ce9ba96d16c0fd73c26a8ea468bde':
  Fix typo in informational text
2011-04-29 17:52:27 -07:00
David 'Digit' Turner
c37aea7b46 am ad41863c: am 3c84652d: Merge "emulator: Add libqemu static library to implement qemu pipes."
* commit 'ad41863c00467c41e392bd5565b20356dc90b393':
  emulator: Add libqemu static library to implement qemu pipes.
2011-04-29 14:53:53 -07:00
Amit Feller
0ff6e7917b supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions
Change-Id: I69c3e975c892bcd0872c47e349b427f570d7e82d
2011-04-29 22:10:43 +02:00
Amit Feller
fce7b684b1 integrating objectNameManger into GLES implementation
Change-Id: Icda250f9e9d3af15a2d7c214136b777833d5596d
2011-04-29 22:10:43 +02:00
Amit Feller
a245cb125f Emulator's host translator EGL implementation.
This is the EGL implementation for the host EGL/GLES translator.

EglImp.cpp - includes the EGL entry points implementation.
ThreadInfo.cpp - defines the per-thread info which is shared to EGL and GLES
EglOsApi.h - platform dependant interface functions.
EglLinuxApi.cpp - implements the GLX platform of EglOsApi
EglWindowsApi.cpp - implenents the Windows platform of EglOsApi - This has not been compiled yet!!!

Change-Id: I30a8cf457858ef04febf67005787d8d18e5e7a70
2011-04-29 22:10:43 +02:00
Amit Feller
03dcd431cc Emulator's GLES translator implementation.
This is the GLESv1 on top of OpenGL implementation on the host.
GLDispatch - dispatch table to host OpenGL implementation.
GLESimp - includes GLES entry points implementation.

Change-Id: Ief5eac2253a5a98b75a5d76363a36b7587d17391
2011-04-29 22:10:43 +02:00
Conley Owens
9d89b171ee Merge "Fix typo in informational text" 2011-04-29 10:52:44 -07:00
David 'Digit' Turner
ad41863c00 am 3c84652d: Merge "emulator: Add libqemu static library to implement qemu pipes."
* commit '3c84652dd8cf01ceebf521832cd2df1ce08cfdfd':
  emulator: Add libqemu static library to implement qemu pipes.
2011-04-28 08:06:27 -07:00
David 'Digit' Turner
3c84652dd8 Merge "emulator: Add libqemu static library to implement qemu pipes." 2011-04-28 07:52:00 -07:00
David 'Digit' Turner
e1eea50214 emulator: Add libqemu static library to implement qemu pipes.
See hardware/libhardware/include/hardware/qemu_pipe.h for the API
implemented by the library. It enables very fast reads/writes between
the guest system and specific emulator services.

Define BUILD_LIBQEMU_TESTS=true in your environment to build the
test programs (a simple host ping-pong server, and a benchmark
guest program).

You can invoke them with:

1/ Testing TCP pipes:

   host:  test-libqemu-1 -tcp 8012
   guest: test-libqemu-2 -pipe tcp:8012

Alternatively

   guest: su
          test-libqemu-2 -tcp 8012

2/ Testing Unix pipes:

   host:  test-libqemu-1 -unix /tmp/libqemu-socket
   guest: test-libqemu-2 -pipe unix:/tmp/libqemu-socket

3/ Testing internal pingpong server (within the emulator)

   host:   /* nothing to do */
   guest:  test-libqemu-2

Change-Id: Ib50fc9cbee6b5f4581baca97412d6f69d4f84860
2011-04-28 16:48:15 +02:00
Liran
fb06a28c30 GLESv1 extensions
This fix adds support for OpenGLES 1.1 extensions in the codec
layer. This fix also includes bug fixes in GLEncoder (client-state)
and gles android wrapper modules.

Change-Id: I512649724d43e4af9d3ce5d49ae66d9f4da0b823
2011-04-28 09:24:46 +03:00
Bernhard Reutner-Fischer
b99b5f6b67 Fix typo in informational text
Change-Id: I43958dea3a6c89523f5d4b914effdc7eb602ae8b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-04-26 13:27:06 +02:00
David Turner
f61c5ad575 am 092b588b: am 9e9b85c3: Merge "Really fix the Mac build."
* commit '092b588b0bcafcab6579407042a5bb0890bc890e':
  Really fix the Mac build.
2011-04-16 13:34:05 -07:00
David Turner
092b588b0b am 9e9b85c3: Merge "Really fix the Mac build."
* commit '9e9b85c3f610ebd9165644a96ccfbdd704ab3bc6':
  Really fix the Mac build.
2011-04-16 13:29:26 -07:00
David Turner
9e9b85c3f6 Merge "Really fix the Mac build." 2011-04-16 13:25:48 -07:00
David Turner
eff952cdbf Really fix the Mac build.
Damned!

Change-Id: Ice8295fb23beefe328207112b011489276b5b278
2011-04-16 22:21:57 +02:00