8a78b215c555fa8a3f793c72f12f50b199c57d7d |
|
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 (cherry picked from commit ef6676015bfec4538a552204b51e32f02d721fb0)
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
dcacca1449afecd0604a16c8dc97e2a67c47ce56 |
|
25-Apr-2017 |
bohu <bohu@google.com> |
Emulator: update opengl to bb8d138b Bug: 37302997 Test: Build and run sdk_google_aw_x86-userdebug emulator To commit bb8d138b3e83567d68810d059d69654fa5e8a303 Merge: 7c53152 bb1f88a Author: Josh Gao <jmgao@google.com> Date: Fri Apr 14 23:08:26 2017 +0000 Rename socket_loopback_server to _socket_loopback_server. Change-Id: Id602f0c1df3be423e37af5f6c91d037d713c3b7a (cherry picked from commit 588c0a94e384e07c8d38185710a1a968823594ba) (cherry picked from commit 1b5d5a70fe49f2826a225878ddcd8d6ad561c886)
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
2417af4962db6a890f4b6641f747f23dc8d028b1 |
|
02-Mar-2017 |
Po-Chien Hsueh <pchsueh@google.com> |
Change path to gralloc.default Libraries under /hardware/libhardware/modules should go to /vendor/. This CL changes hardcoded path to gralloc.default.so Bug: 35907904 Test: Compiled and checked install path. Also code searched to see if there are hardcoded paths. Change-Id: I6c304b048047053d782a0ed91abfbc3140bdd261
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
96ffd14584773f5e4e2d6eac5c67aac670ead48e |
|
14-Dec-2016 |
Lingfeng Yang <lfy@google.com> |
Fix black screen in apps - multi-line for loop body :) - distinguish locked vs unlocked cb width Change-Id: I4d978011a1b7a7aa5efb244a56353857285e3a03
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
88c170cdf4d4a3c83ea61540d25bdcf4153fb5b8 |
|
30-Nov-2016 |
Lingfeng Yang <lfy@google.com> |
Revert "Revert "DO NOT MERGE ANYWHERE: Goldfish DMA-based gralloc"" This reverts commit 9b166b966d6f03f13f65d3134f9c5e1133ec10e2. Change-Id: I9b10b45d1ebd3b51ede2f75cc8ab403914b0d777
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
9b166b966d6f03f13f65d3134f9c5e1133ec10e2 |
|
30-Nov-2016 |
Miao Wang <miaowang@google.com> |
Revert "DO NOT MERGE ANYWHERE: Goldfish DMA-based gralloc" This reverts commit df3a043b96b90d949643ddd0219fc0bf4ff68040. Change-Id: Ic87fa2f922bd61123e64fc32fc8ebb13dec4c219
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
df3a043b96b90d949643ddd0219fc0bf4ff68040 |
|
24-Sep-2016 |
Lingfeng Yang <lfy@google.com> |
DO NOT MERGE ANYWHERE: Goldfish DMA-based gralloc Also includes YV12/YUV420888 conversion on the host. Change-Id: Ie0c23f6e18ae96b2bdeadf6dbd4828ca1e7de8a0
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
e8cf63de76ea0b518b3593205ad191f51cd43292 |
|
22-Sep-2016 |
Yahan Zhou <yahan@google.com> |
Refactor pre-process GL resource management (guest) Previously we bind a process unique id (puid) to the GL encoder / decoder commands when managing process owned GL resources. This patch simplify it by telling each rendering thread its puid at the beginning, and using that puid for resource management. It will make our life easier when we need to change other resources from owned-by-thread to owned-by-process (e.g. EglContext). This CL must work with host CL: https://android-review.googlesource.com/#/c/277778 Change-Id: I94a8cb55e8619c2f0da1a5669827e89fe42660d2
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
410505982539276fc1131a832dd1aa1d0570476a |
|
29-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Per-process EGLImage resource release https://buganizer.corp.google.com/issues/29457657 This CL marks each EGLImage with its process unique ID when communicating with the host, so that the host can properly clean up EGLImages when the guest process is killed. It is doing similar thing as in https://googleplex-android-review.git.corp.google.com/#/c/1207896/ The implementation reuses gralloc pipe. Because now the gralloc pipe is also used outside of gralloc, this patch moves the gralloc pipe implemenation ProcessPipe.cpp and also renames gralloc pipe. Change-Id: I90c6d1d842ba2741d371f02a519e0fa904bc0f08
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
569454dd017bd31214ec37e6f771ca87bf4d54b7 |
|
11-Aug-2016 |
bohu <bohu@google.com> |
Emulator: allows usage mismatch in gralloc_lock For emulater with gpu host, there is no need to require that the gralloc_lock usage has to match gralloc_alloc usage type. If any buffer is allocated, it can be used for both read and write. Bug: 30784436 Change-Id: I4014a3338e64cb1e8cdaa5ff50eecae0d44de318
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
1fb7ea129dc0538080e1712adae34cf91ba1c962 |
|
09-Aug-2016 |
Bo Hu <bohu@google.com> |
Merge "Revert "Revert "Emulator: create host color buffer for Vedio encoder"""
|
7579c85fbe246ffb2d994648b774f7e324b4fff4 |
|
09-Aug-2016 |
Bo Hu <bohu@google.com> |
Revert "Revert "Emulator: create host color buffer for Vedio encoder"" This reverts commit 1a80c227edbc86ae585276a0b7c45e28458813f1. Change-Id: I484c2092e30d23038f3a6ffbdf646960747b54b4
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
f0559ca935cb7db471a3283379d449ca016a470d |
|
07-Aug-2016 |
Bo Hu <bohu@google.com> |
Merge "Revert "Emulator: create host color buffer for Vedio encoder""
|
1a80c227edbc86ae585276a0b7c45e28458813f1 |
|
07-Aug-2016 |
Bo Hu <bohu@google.com> |
Revert "Emulator: create host color buffer for Vedio encoder" temp revert to track down CTS regression starting with build 107 where massive cases were not executed This reverts commit 1454b715016822c276b8bcaaeabca2d8f5b4857c. Change-Id: I88b37b6087dcb6677c7afb863022063db6ee5893
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
3660cbaeefba0fe1afa4e2dbc0370043988ee885 |
|
06-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
YUV_428_888 <-> RGB888 conversion This time, I think I have it right---my assumptions: No align ystride == image width cstride = ystride / 2 Change-Id: I645c98e3f2cc4271ba7be807102cc2809479cd48
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
88c3a27bbeb43a17689f9717b10943a55dde7f0e |
|
05-Aug-2016 |
Joshua Lang <joshualang@google.com> |
Change yv12 conversion from rgb565 to 888 Media codec tests that caused back to back yv12 - rgb565 conversions were failing color threshold assertions. Changed the conversion to rgb888 instead to keep more precision during conversions. Bug: 28750939 Change-Id: I75001261db82b9ecfa943d9a791a737a811cb168
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
2f8e5dee3f300ae2f3f56959e5b52b13e4e57179 |
|
05-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
Revert "Make YUV_420_888 color correct" This reverts commit 627769df70a80f638ded32984118a62196afaafc. Change-Id: I25112dd7735446359c2493108635205eca31a662
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
6b5060ba266d6abc94b9382feba6538a9d9674ef |
|
05-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
Fix comments and style in YUV_420_888 handling Change-Id: Ia64e2396427c944f5eedef30c4bc098303fefd88
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
627769df70a80f638ded32984118a62196afaafc |
|
05-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
Make YUV_420_888 color correct This CL uses the existing YV12 / RGB converter to do YUV_420_888 color conversion, by switching the U and V start addresses in cases where the format is YUV_420_888. Change-Id: I5effe6e4ecad02b9110095521082682b785a2390
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
945ae324d3e20a16bbe98293dad8d4e8434ac5b4 |
|
05-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
Fix build on older APIs Change-Id: I3c38c5a7f686630bb0e3fa02e840d5eade75b58a
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
55e34980a68fc9cf75496e463f0e9972dfcc7a0e |
|
05-Aug-2016 |
Lingfeng Yang <lfy@google.com> |
Merge "Allow YUV_420_888 through gralloc"
|
5530ca4404b7e84f111847d4855a994281df08bf |
|
28-Jul-2016 |
Lingfeng Yang <lfy@google.com> |
Allow YUV_420_888 through gralloc This is currently only used to help pass tests that involve the direct use of the YUV_420_888 format. An attempt is made at format conversion using the same code for converting YV12. This would keep memory structures intact, but result in the wrong colors. The test: android.hardware.camera2.cts.AllocationTest#testAllocationFromCameraFlexibleYuv has a much higher probability of passing with this change, provided the emulated camera is used, and the other CLs: Guest: https://googleplex-android-review.git.corp.google.com/#/c/1282093/ https://googleplex-android-review.git.corp.google.com/#/c/1291418/ Host: https://android-review.googlesource.com/#/c/253893/ Change-Id: I70f86402ace6debae731a7f5b98833be3096fdd6
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
1454b715016822c276b8bcaaeabca2d8f5b4857c |
|
04-Aug-2016 |
bohu <bohu@google.com> |
Emulator: create host color buffer for Vedio encoder MediaCodec has GRALLOC_USAGE_HW_VIDEO_ENCODER usage flag when it creates colorbuffer and renders to it. We need to create corresponding colorbuffer on the host to support such usage type. Bug: 30088791 Change-Id: I911b1ecfb563eab5634abb2249657c1caa668a73
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
e5c3c72fe6ad58862d062776717f278b95b4e3c9 |
|
19-Jul-2016 |
bohu <bohu@google.com> |
Emulator: Support YV12 format in gralloc The YV12 format is used by codec when it generates output. Need to support it to pass android.media.cts.ImageReaderDecoderTest Note: This YV12 format and other yuv formats are only meant to be used as software read/write buffer; they are not supported by the host GL's colorbuffer. so when we want to render it to the host screen, we have to convert to RGB565 format or other RGB format. Bug: 30112142 Change-Id: I874e8f2e040fd15ad02ce48c0d65bed1cd08a791
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
b10fc16cbc66155c658c548fdcde43fd9b1f7518 |
|
25-Jul-2016 |
bohu <bohu@google.com> |
Emulator: allow swread of GRALLOC_USAGE_HW_VIDEO_ENCODER buffer Because either hardware or software encoder can be used, a buffer created with GRALLOC_USAGE_HW_VIDEO_ENCODER should allow both to read the buffer. Bug: 30088791 Change-Id: I3cb6c1449628fcd0f676858f52c6dce01577fa95
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
0f8b510c4cf22f718d153ce534ddc13c7d3d5106 |
|
22-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Fix gralloc pipe and add flush to rcCloseColorBufferPuid There is a typo in gralloc pipe. Also rcCloseColorBufferPuid needs to be flushed to function correctly. Change-Id: Ic006578f560dede0bdc073d6ab862e588b71e452
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
0cc63cd935e42ea2edd0ec96265104400623bef9 |
|
21-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Fix master build Change-Id: Ib81144748f520a9812c98c3cd23f114ba490d297
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
4712eb2c3a46ef2c9b8f39f5b156f90a27785548 |
|
20-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Merge "Misc fix in gralloc pipe"
|
847aaafb1827333be78af49109ed51bd12ceb290 |
|
19-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Misc fix in gralloc pipe Fix size and have a confirmation message in gralloc pipe. Also fix the naming of puid. Change-Id: I0b87b9e6bcf88172792705ac9643e150b227be96
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
9c3215400aeb37a3ebc6012a1088d112943f9d13 |
|
19-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Merge "Create pre-process gralloc pipe on the guest"
|
c89acb2bba87338ee8ebc6db329462d8bc167e71 |
|
11-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Create pre-process gralloc pipe on the guest https://buganizer.corp.google.com/issues/29457657 This patch create a pre-process pipe in gralloc. It tells the host which process holds which color buffer, so that on process exit the host can correctly reduce the reference counters of all gralloc color buffers. Each process will get a 64bit identifier from the host, to help the host identifying it. It works with host patch: https://android-review.googlesource.com/#/c/246823/ Change-Id: I8d9a512a1f151f4f29a3b318ccf17d62d8f46512
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
f9cb1c4613ba271d315f786ed4dcb3581fe1b7f0 |
|
02-Jul-2016 |
Yahan Zhou <yahan@google.com> |
Make it compatible with ics-mr1 Change-Id: I8661fa4cc93111dfdb5fe9fa73f8a47b2820f615
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
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/system/gralloc/gralloc.cpp
|
10c76828eabb3de695c5f496efaba1b91f57b04f |
|
20-Jun-2016 |
Yahan Zhou <yahan@google.com> |
Make GL build script compatible with jb (and mr1.1, mr2) Notice that in jb, the GL encoder is located in sdk/emulator/opengl. In jb-mr1.1, the encoder is in development/tools/emulator/opengl. After this patch, it should just work if you copy the opengl directory from mnc to jb. Change-Id: I4b6ba6daeb64315ecf72b52b142acbbccdc4dbe0
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
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/system/gralloc/gralloc.cpp
|
200c716904a03dce573add4440dd6d26c027ea14 |
|
13-Jun-2016 |
Lingfeng Yang <lfy@google.com> |
Don't leave gralloc-only host connections hanging. bug: 29318455 Memory leaks are becoming more of a problem, especially with host machines that don't have much RAM and when we use the emulator for long periods of time. This CL fixes the problem detailed in the bug link, which is that the number of render threads (and thus thread-specific storage) skyrockets when repeatedly pressing the Recents button while an app is active. The thing is that there are lots of threads that never use the EGL display, just gralloc, in order to do gralloc things like update the screenshot display of apps in recents. These threads are not cleaned up because a thread pool is often used to manage these sorts of tasks. If a new or different thread suddenly wants to update the recents screenshots through gralloc, a new connection will be established. This CL uses gralloc_unregister_buffer as a signal for when a thread might be done with gralloc in general, exiting the host connection immediately. Of course, there may be other things that the thread wants to do, but then it can just go ahead and create a new connection. We also use the heuristic that we do not exit on gralloc_unregister_buffer when the thread seems to be a bona fide rendering thread (eglInitialize has been called). There are still more leaks going on, this fixes just one source of them. After this CL, the render thread count should be held constant when repeatedly starting apps and going to recents. Change-Id: I5f57539429f149e3a938467e3b82fa911ab118c3
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
d16ee725a0079357a38d5ea6e5154482642d4650 |
|
14-Jun-2016 |
Bjoern Johansson <bjoernj@google.com> |
Use correct format when reading color buffers When reading back data from color buffers on the host make sure gralloc uses the correct format and type parameters. Previously it was hardcoded based on RGBA at 8 bits per component which would cause incorrect reads for other pixel formats. This could cause QEMU pipe reads to call abort because the reads went past a page boundary if the calculated size exceeded the actual buffer size. Change-Id: Ifa61f0a97d79577744b899b1bbb4120a0b9170eb
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
0da8a2420118730699a6924012080957ee3558fd |
|
25-May-2016 |
Lingfeng Yang <lfy@google.com> |
Don't optimize out rcUpdateColorBuffer bug:28406160 If we want to use rcUpdateColorBuffer to synchronize on the host in order to remove out of order webcam frames, we need to call it if (cb->hostHandle), not just when the width and height are nonzero. Otherwise, we get deadlocks. Change-Id: Ib98774b935e8786e307dd38711a0f2f9ffea440e
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
921d0dbd51c59aa2354926d6df08bfa208ee8f7c |
|
12-May-2016 |
Bjoern Johansson <bjoernj@google.com> |
Create and read color buffer when expecting reads Make sure color buffers are created when gralloc is allocating buffers that indicate that software reads are going to happen. In this case software will require the rendered data to be available from the host at a later point and that means that rendering has to be stored in a color buffer. Also make sure that when gralloc locks a buffer for reading it will actually read the data from the host if the buffer is marked for reading. Change-Id: Ief4b7fe34401727cabec9fdd5c2b9812a6c49612
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
200077407ac39b79529b82cf99529e76a687b2eb |
|
03-Nov-2015 |
Nicolas Capens <capn@google.com> |
Use the encoding gralloc only when qemu.gles == 1 Bug 25443830 Change-Id: I2ccd60b4752e436117d65a2a3c7400c35bfaa3df (cherry picked from commit ea2243eda287d9ecd582e8c293c8abc2c06d3004)
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
4b03d2c6d0e5c96c27fc5bcc673784113414710c |
|
06-Aug-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera/gralloc: Add basic capability handling, support DEPTH Also fix bug with AE not correctly overriding sensor values when ON but still INACTIVE. - Add Y16 support to gralloc (treat exactly as RAW16) - Add Y16 output support to camera - Adds depth static and dynamic fields to camera: - poseRotation - poseTranslation - intrinsicCalibration - radialDistortion - availableDepthStreamConfigurations - availableDepthMinFrameDurations - availableDepthStallDurations - depthIsExclusive Bug: 20537722 Change-Id: If64bb2a698a8a49777f848cfc6401d8fba299541
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
40879776f77c6f192a572dee6f48c2433b93834b |
|
20-Feb-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Replace HAL_PIXEL_FORMAT_RAW_SENSOR with RAW_16 Change-Id: Iee70a27184d5ed35623814886487a5166c73567e
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
ad72b3ee67376db233aec3c31e6dc25f6f4c81a7 |
|
26-Jan-2015 |
bohu <bohu@google.com> |
guest system gles fix: Enable screen capture with gpu on Currently, when running emulator with gpu on, screen capture does not work. This commit fixes that by doing the following steps: 1. enable gralloc to allocate buffer in gralloc_alloc for screen capture usage mode. 2. read back screen pixels in gralloc_lock for screen capture usage mode Note: This commit only fixes guest side, and to make screen capture work, we also need the corresponding fix on host side in the following CL: e36c098b5563adcc7442cb3a172ff769ee3fb4b6 (cherry picked from commit 5a50ac8819525f851c677be88a466b14737dbb18) Change-Id: Ie9307eda411ab3d0b3842fbb4a71926dd62a1875
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
8416d6207018c93f6c7411ffb6a7db4150ac8525 |
|
02-Dec-2014 |
bohu <bohu@google.com> |
Update goldfish from aosp/master Merge aosp/master fixes into lmp-dev This patch updates the goldfish device to match the following patches: 1c9492dd Fix GPU emulation crash. 1da62b8c opengl: Fix a few function name typos. a4d0e1ca opengl: Remove accessor functions from encoders. 223a765d opengl: Remove compiler warnings. b7837c3c opengl: Regenerate GPU emulation encoder sources. 622970b4 opengl: Fix 64-bit build. 5fa17220 Unbind buffer when buffer is deleted 4a01a642 Properly initialize GLClientState's m_states 2c71ccd4 handles glGetBooleanv when value is nonboolean 4f9ec391 Fix eglDestroyContext and glTexImage2D 585a4b03 opengl: Fix pixelDataSize() ambiguity. Change-Id: I3f574149558b4b4cee8a3e354314f6da8f49957d
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
cbf125316d3d8aeb11967f1b4a0f8ca415b8b68a |
|
28-May-2014 |
Jesse Hall <jessehall@google.com> |
am c04a27cb: opengl: rcOpenColorBuffer must be synchronous * commit 'c04a27cb9a25ba26893212914fd725a85f8d6694': opengl: rcOpenColorBuffer must be synchronous
|
e7fce1103c9587fe1f56a4fd63757ef874285130 |
|
27-May-2014 |
Jesse Hall <jessehall@google.com> |
opengl: rcOpenColorBuffer must be synchronous The gralloc register_buffer() function, which calls rcOpenColorBuffer, must actually increment the reference count before returning. Otherwise the buffer allocator may release its reference before the client has obtained one, and the buffer will be freed prematurely. Since rcOpenColorBuffer was just sending a message to the host without waiting for it to be received/processed, this guarantee was not met. Adding a return value makes the call synchronous. Bug: 12988668 Change-Id: I8b2399cfb0f600f99b3387f630343291b59bc9a6
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
c99ae19a2ad61000b65224724370278f2df41a7c |
|
10-May-2014 |
Greg Hackmann <ghackmann@google.com> |
gralloc: don't initialize reserved_proc gcc supports designated initializers in C++ mode as an extension, but *only* when all of the specified fields are at the beginning of the struct. Hence initializing reserved_proc breaks compilation when new procs are added. Initializing reserved_proc makes a (spurious) warning go away, so instead directly suppress that warning. Change-Id: I279b7070b1aa7068c23fb59422589ff31980432d Signed-off-by: Greg Hackmann <ghackmann@google.com>
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
c950e0df7e0c730c3db7f51a0a5c472ee1c2772f |
|
18-Apr-2014 |
Tina Zhang <tina.zhang@intel.com> |
Add 64-bit software GLES/EGL support in gralloc.goldfish module If the emulator chooses running without using the host GPU to do the GLES/EGL acceleration, the gralloc.goldfish module must let the emulator use gralloc.default module which can support the software GLES/EGL. Add this support for 64-bit emulator. Change-Id: I241e70ce26a8f0298a32e3a55037fc3028a2e2a7 Signed-off-by: Tina Zhang <tina.zhang@intel.com>
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
163119f94b52cc1af715ff0b32bae08d45937b08 |
|
21-Mar-2014 |
Tina Zhang <tina.zhang@intel.com> |
Support GLES acceleration in 64bit emulator on device side Support both 32bit and 64bit emulator GLES acceleration. Change-Id: Ibd8b970d23937ae40732324706074ff00f433a14 Signed-off-by: Tina Zhang <tina.zhang@intel.com>
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
4d3424db43625fe6203deb411a8e7b5cf2fc755f |
|
25-Feb-2014 |
Elliott Hughes <enh@google.com> |
Remove #include <asm/page.h>. Change-Id: I1476efe9a706fe322ec23571c6375b847a0ccf2f
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
e16dc396a5154baeccd5fb342f55c8729c57b2c6 |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of HAL pixelformats 5551 and 4444 Change-Id: If69c5cdb02dd8308963165a09b5d7fe3b00077ae
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
a60007873dfb12ae4ecea59678dab01a5e179de6 |
|
05-May-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Gralloc/Camera3: Support new HAL_PIXEL_FORMAT_YCbCr_420_888 format Enable flexible YUV format buffers from the camera. - Add gralloc alloc support for YCbCr_420_888, mapped to NV21 - Add gralloc lock_ycbcr method - Add new format to list supported by camera HAL - Fix minor compilation warnings Bug: 8734880 Change-Id: I68a8cc126985c7d5ae100a87b31c60ee59074cd3
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
1a4dcff7ff84f52d213b475fb206e2218872d5fa |
|
19-Apr-2013 |
Alex Ray <aray@google.com> |
goldfish: fix gralloc module Explicitly setting reserved (in C++) breaks future extensions of the module format. Removed these explicit settings for future compatibility. Change-Id: Iaacd5c2f55121bcb8f1761f646ace374eceb2b4f
/device/generic/goldfish-opengl/system/gralloc/gralloc.cpp
|
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/system/gralloc/gralloc.cpp
|