History log of /device/generic/goldfish-opengl/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c58a209b8020ba18e354dc3f5cc33c98229f4d44 23-Jun-2017 Lingfeng Yang <lfy@google.com> Fix API 26 for public emulators, take 2
am: 256462a4a0

Change-Id: If592f6de46a5b49e43d8db0c0715edf93cfdfb90
256462a4a0fb181aca670fba4241e2fe0cd295f8 05-Jun-2017 Lingfeng Yang <lfy@google.com> Fix API 26 for public emulators, take 2

Bug: 37302997
Bug: 62333501

codename changed from O to REL

So add a case for API level too

Test: Build and run sdk_google_aw_x86-userdebug emulator

Change-Id: I91f3804082bc6d61922d31ce72081a2ec88bc6b0
/device/generic/goldfish-opengl/Android.mk
ef6676015bfec4538a552204b51e32f02d721fb0 06-May-2017 Lingfeng Yang <lfy@google.com> gralloc ashmem hack to delay cb close

Tired of public emulators not working with O

See this CL for context:

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

This CL moves that to the guest, and detects if
each gralloc cb has been opened at least once
before allowing gralloc_free to call rcCloseColorBuffer.

Images using Treble / HIDL gralloc that have this CL
should work with older emulator versions.

Bug: 37302997

Test: Build and run sdk_google_aw_x86-userdebug emulator

Change-Id: Ice72269e4295497825050385b15dbdec2258100c
/device/generic/goldfish-opengl/Android.mk
22dd0fee8fac517021e9f7d970da70a7b9803385 09-Jun-2017 Yifan Hong <elsk@google.com> Fix aosp_arm build for ODR

POST_O should include ODR as well. CODENAME.PPR is
not defined.

Test: m -j

Fixes: 62435156

Change-Id: I72c8023ec1328cea06fe12bc7b4c8480da8ad7c6
/device/generic/goldfish-opengl/Android.mk
8b0bfc77449832d148016ffc516d304dca9671a1 11-May-2017 bohu <bohu@google.com> goldfish-opengl: fix build breakage

There has been some refactoring on master and it does not
consider the fact this project is shared by old branches.

This CL checks for PLATFORM_VERSION_CODENAME.PPR1 and make
adjustment to get it work on both master and older branches

Once the O is finalized as api 26 we can remove the CODENAME
hack

Change-Id: Ia49e31ec1fa045a77f32bd7da708d0334efdd755
/device/generic/goldfish-opengl/Android.mk
5a8161cd70435486d19645e527013893cbccd219 06-May-2017 Lingfeng Yang <lfy@google.com> gralloc ashmem hack to delay cb close

Tired of public emulators not working with O

See this CL for context:

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

This CL moves that to the guest, and detects if
each gralloc cb has been opened at least once
before allowing gralloc_free to call rcCloseColorBuffer.

Images using Treble / HIDL gralloc that have this CL
should work with older emulator versions.

Change-Id: Ice72269e4295497825050385b15dbdec2258100c
/device/generic/goldfish-opengl/Android.mk
f3dd5b08dfcd9687cf9290b9b0b1497dd1cf993a 25-Apr-2017 Lingfeng Yang <lfy@google.com> Revert "[hwc2] Add surfaceInterface/goldfishHwc2"

bug: 36439031
bug: 37101765

This reverts commit 596e8dec5700d2976d3b40ae498dbbf479c4abb6.

Change-Id: I6547c5e45c2f62209f70e75c6cf5e15c34d4ebc7
/device/generic/goldfish-opengl/Android.mk
596e8dec5700d2976d3b40ae498dbbf479c4abb6 21-Mar-2017 Lingfeng Yang <lfy@google.com> [hwc2] Add surfaceInterface/goldfishHwc2

bug: 36439031
bug: 36375335

When HWC2 is used (even the HWC2on1 adapter), one of the most fundamental
changes is that acquireBuffer/releaseBuffer by BufferQueue consumers
is coarsened, delaying releaseBuffer until the app has finished
with its eglSwapBuffers operation and handling releaseBuffer as part of
a post process (mPendingRelease/releasePendingBuffer/et al).

This would be OK, except for the fact that an acquired, unreleased buffer
takes up a free buffer slot.

Emulator uses GLES composition currently, so each eglSwapBuffers by an app
directly causes another eglSwapBuffers, each of which attempts to
dequeueBuffer, taking up 2 slots right there. This was usually OK, since
releaseBuffer would be interleaved, but now, with the delayed releaseBuffer,
there are no free buffer slots and we have a deadlock situation.

Fortunately, we can set the swapped-to Surface to "async mode", which takes
exactly this situation into account. Async mode, which is for Surfaces but
really affects the BufferQueueCore queue size, makes it so that there
is an extra buffer slot so that dequeueBuffer doesn't have to block.

This CL adds a small static library for setting the swapped-to Surface
to async mode. Note that one does not simply add libgui to the shared
libraries of system/egl/Android.mk, since libgui itself includes EGL/GLES2
as dependencies, putting us into DLL hell and causing all sorts of trouble!

Change-Id: I6ee4f0e6d0b668d60573887751ec6b02839df5c3
/device/generic/goldfish-opengl/Android.mk
e591337c7ab9a53cf4c30520cf16c7306604567c 29-Nov-2016 Lingfeng Yang <lfy@google.com> Fix build - add LOGV->ALOGV

Change-Id: I669211faa3c58488c5b9b23d900a4e6da8e5c512
/device/generic/goldfish-opengl/Android.mk
b795a34b6c8a2b80b52e56a23caa4f33916e8d96 21-Jul-2016 Yahan Zhou <yahan@google.com> Fix jb build

Change-Id: I31b9e3e44523819f54da362e688b2c5098ec27bd
/device/generic/goldfish-opengl/Android.mk
52dd9f0f709c753bbdde09dce36ca295170c47b9 20-Jul-2016 Yahan Zhou <yahan@google.com> Fix jb arm boot

Change-Id: Ibf124424f703cc30ee7b5db7c3589b69728a4c32
/device/generic/goldfish-opengl/Android.mk
da1c76deff6591686dd0341a65f5b356f3596094 23-Jun-2016 Yahan Zhou <yahan@google.com> Make opengl compatible with gingerbread

This patch makes mnc opengl compatible with gingerbread. With this
patch, you can copy-paste the opengl folder to gingerbread and it will
just build.

Notice that in gingerbread, the GL folder is in
development/tools/emulator

Change-Id: I99f060edd517a7afd425fd2103cbceaa61f0fc82
/device/generic/goldfish-opengl/Android.mk
79bb3df55d8803a11d8b6418db42f7953953a517 28-Jun-2016 Yahan Zhou <yahan@google.com> Revert "Temporarily rename makefile to avoid building duplicate opengl libs."

This reverts commit 8b2652824b14889092d41d263762b9f3bdf6f86c.

Change-Id: I93ceaea56f8ef4ed90a73af5b04f7a1fed0083e0
/device/generic/goldfish-opengl/Android.mk
8b2652824b14889092d41d263762b9f3bdf6f86c 27-Jun-2016 Prathmesh Prabhu <pprabhu@google.com> Temporarily rename makefile to avoid building duplicate opengl libs.

We've yet to drop the opengl code from the old location. Turns out that
simply including this new source location leads the Android build system
to build the lib from both the old and new location.

Renamed the Android.mk file here to avoid building from this location
until the migration is complete.

Change-Id: I66b5f4201f99b8a17c814918e5b42489d686d7c5
/device/generic/goldfish-opengl/Android.mk
d90692889a26513d87f9f652221aeb727ad67a94 18-Jun-2016 Yahan Zhou <yahan@google.com> Make build script compatible with klp and up

It gets rid of c++11 and makes build script compatible with klp and up.

It also includes GL headers here, because headers in framework/native
might be different across API levels.

Change-Id: Ida425416a392cef878256965d69b54afe42b7263
/device/generic/goldfish-opengl/Android.mk
51adf91b79dee8743a47435b160e022ec6997c70 08-Apr-2014 Tina Zhang <tina.zhang@intel.com> Remove the useless folder and files in emulator GLES/EGL drivers

Files in OpenglOsUtils folder are useless for emulator GLES/EGL drivers.
Remove them to simplify the content.

Change-Id: I0a3cb572328cfa22b8567e8cd938f2a228f6167a
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
/device/generic/goldfish-opengl/Android.mk
b85b2756d1e247f8314bb591700fb175d7346631 08-Mar-2013 keunyoung <keunyoung@google.com> migrate opengl and system from development/tools

- components under system are moved one directory up like all other HALs

Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0
/device/generic/goldfish-opengl/Android.mk