04d04618b7a8140a3c7ab7d8f8526a813dd62387 |
|
09-Mar-2017 |
Mathias Agopian <mathias@google.com> |
Remove dependency on EGL private headers Test: compiled / run Bug: vndk-stable Change-Id: I91522f3ee00cff0a45e76278e1f63efd6b1a0022
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
1f071dd8c39dc966ad18abab0528f72730a4af6a |
|
30-Nov-2016 |
Romain Guy <romainguy@google.com> |
Deprecate eglCreatePixmapSurface This function was never properly supported. It had partial support in our JNI layer in EGL10 but not implementation in EGL14. It has never been tested and it is unlikely that drivers support pixmap rendering. Bug: 11257511 Test: CtsGraphicsTestCases Change-Id: I209fff470c715cd97148a32b2f41ecf7e5283bab
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
b57dd722f1dc0663417da37d3a82f8283ad3c982 |
|
24-Sep-2015 |
Elliott Hughes <enh@google.com> |
resolved conflicts for a884d81e to stage-aosp-master Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
ed207b92747234eac88dd3664ecfb535e45d8ed1 |
|
10-Apr-2015 |
John Reck <jreck@google.com> |
Change how Java Bitmaps are accessed in a few places Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Attempt #2 to land this, original issue was in getSkBitmap and should be fixed Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
edc22fba5921f5c2d3502727e707f959b8c3a460 |
|
21-Apr-2015 |
John Reck <jreck@google.com> |
Revert "Change how Java Bitmaps are accessed in a few places" Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
a771b9861d11671c780092d35c0062eeefcf37c0 |
|
10-Apr-2015 |
John Reck <jreck@google.com> |
Change how Java Bitmaps are accessed in a few places Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
f4faeac3525fe1ce3707ab785a1651aec367589d |
|
05-Mar-2015 |
John Reck <jreck@google.com> |
Cleanup Bitmap JNI attempt #2 Original version missed a spot This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b. Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
c02977e3bbfaaedcb1b1d67e1692becc7dddd59b |
|
05-Mar-2015 |
Chad Jones <chadj@google.com> |
Revert "Cleanup Bitmap JNI" This reverts commit b2915245b74b3b5541b123e38403f8e26426b4b7. Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
b2915245b74b3b5541b123e38403f8e26426b4b7 |
|
04-Mar-2015 |
John Reck <jreck@google.com> |
Cleanup Bitmap JNI Fix a bunch of places where mNativeBitmap was being poked at directly, switch them either to the NDK API or to GraphicsJNI where it made sense Change-Id: I6b3df3712d6497cba828c2d3012e725cb4ebb64d
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
6a5e6df96858bd581151cc99421f67a0674b76d1 |
|
06-Oct-2014 |
Mathieu Chartier <mathieuc@google.com> |
Fix incorrect JNI_ABORT If there is a copy, JNI_ABORT does NOT copy back into the corresponding java array. Changing this to 0 is what you want since this will copy the data back if needed and free the temporary storage. Bug: 16858794 Change-Id: I3f3b426ea3cbba577bb720532c16ebf7493f1c1c
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
1103b3255945d2eb2fa9c191e84e2270b343cca9 |
|
08-Jul-2014 |
Mike Reed <reed@google.com> |
SkBitmap::Config is deprecated, use SkColorType Change-Id: Ic953741325607bf85598c097bb3ab648d4a08996
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
b5066245365e932775ca6087cd74e53efa364642 |
|
07-Aug-2013 |
Michael Chock <mchock@nvidia.com> |
Avoid restrictive locking around EGL calls Do not use critical section variants of JNI array mapping operations when making EGL calls. They impose unnecessary restrictions on the EGL implementation that can lead to intermittent crashes. Using the non-critical variants makes no detectable performance difference. Change-Id: I4ef643f1a7fcdc5995538ff9d543f43f33c8e412
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
863f98bbb3e234e18c62ce2678ae970b75995f69 |
|
27-Jan-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
Use long to store pointers in GLES_JNI/EGL classes Change-Id: I43b32f2a85c07b3f59c57e28e3d03e8d1cabcd8b Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
a0398430fcf365fba6e42ad0bdca2fbf45ed6fe0 |
|
20-Jan-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
AArch64: Make graphics classes 64-bit compatible Changes in this patch include [x] Long is used to store native pointers as they can be 64-bit. [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) [x] AssetAtlasManager is not completely 64-bit compatible yet. Specifically mAtlasMap member has to be converted to hold native pointer using long. Added a TODO to AssetAtlasManager.java to indicate the change required. Change-Id: I940433f601c6db998c1a8ffff338f5361200d5ed Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
0fa257fe53bf520bdde93996a1901ce6bc3e1788 |
|
30-Aug-2013 |
Jesse Hall <jessehall@google.com> |
EGL10.eglCreateWindowSurface should set producerControlledByApp Bug: 10521699 Change-Id: Ief3f01edf7dabc7996b7af1a756dfd00f0987f1a
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
52a9a10b6b8c7b7a9f97777541841b94d4fd9754 |
|
02-Aug-2013 |
Mathias Agopian <mathias@google.com> |
Clearly separate consumer and producer interfaces Bug: 9265647 Change-Id: Ic68e91788d0a05251e1d2fb9f9d4de403c7099bf
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
6f7b58917104916ee6afd6f246c251c1d7a2102a |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of PIXEL_FORMAT_A_8 Change-Id: Ia750811f08ddebdd5818da211fd03d61b75f8e97
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
52800617946c456e78ed010c82d0ec4358368164 |
|
15-Feb-2013 |
Mathias Agopian <mathias@google.com> |
Refactoring: Rename SurfaceTextureClient to Surface Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
d47f7d8b5fe3a3861d7cbdc5f912235407823c8e |
|
18-Dec-2012 |
Andy McFadden <fadden@android.com> |
Rename ISurfaceTexture and SurfaceTexture The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I08e677faf2ebb418ef131d0a8008e01037db0e50
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
82bb813f112d9565faa990e32dbe833f96461892 |
|
12-Dec-2012 |
Jamie Gennis <jgennis@google.com> |
stop using a deprecated SurfaceTextureClient ctor Change-Id: Ie6196ba4896c0ab37b9aed3d1a4ffd04c99c5f80
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
64a55af0ac700baecb0877235eb42caac59a3560 |
|
26-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add plumbing for new surface flinger display API. Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
9847f311f63301ca7d9553abcb0aec56b47cd60c |
|
05-Apr-2012 |
Jesse Hall <jessehall@google.com> |
Avoid waking EGL in getInitCount Change-Id: I5e0423b090c27fa4262e2a76ce4d232f8fbb8755
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8335f1ccccedb6655d96d9d5b697a7f0938235dd |
|
26-Feb-2012 |
Mathias Agopian <mathias@google.com> |
fix libgui header location Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
af01feafc30152baf8e0a5cfddbf02bd14731fd2 |
|
25-Feb-2012 |
Mathias Agopian <mathias@google.com> |
remove dependency on android_native{s_priv|buffer}.h Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8ff6b9ebeeb24a6161ec6098e6bfdf8790ee5695 |
|
10-Nov-2011 |
Romain Guy <romainguy@google.com> |
Terminate EGL when an app goes in the background This does not happen on high end gfx devices. This happens only if only one EGL context is initialized in the current process. Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
b38484ccb9386780c1d192c552da30b680539952 |
|
16-Jun-2011 |
Romain Guy <romainguy@android.com> |
Forgot to ammend the change Change-Id: Ic6b0be487245a6bb926ab8b6b66b7c63ea1130c6
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
e5e0c50f7dfaccc220725c5595080e921ffda1e4 |
|
16-Jun-2011 |
Romain Guy <romainguy@android.com> |
Properly refcount SurfaceTexture in the JNI layer. Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8f0095cd33558e9cc8a440047908e53b68906f5f |
|
03-May-2011 |
Romain Guy <romainguy@google.com> |
Allows to render with an OpenGL context inside a TextureView. Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
dd66bcbf9d6ef0c50a18d9c4b1b39ce7ef7afcc4 |
|
12-Apr-2011 |
Elliott Hughes <enh@google.com> |
More native code cleanup. Don't keep unused global references to classes, don't throw exceptions when an exception is already pending, and fix a (harmless) misunderstanding about how GetStringChars works. Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8451b25a4422656bbd6657a5855e69c0f4d53c74 |
|
08-Apr-2011 |
Elliott Hughes <enh@google.com> |
Use jniThrowException for exception throwing from native code. I'll do media and the generated gl stuff separately. Otherwise, this cleans up all direct calls of ThrowNew/Throw except the one in the binder that needs to remain. Change-Id: I8f95a5f020f53b25926ad31ac0c9477ddf85d04b
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
9b7146db6d9c0586b98b062fbcdb3fac6cc54d19 |
|
08-Mar-2011 |
Romain Guy <romainguy@google.com> |
Fix EGL JNI bugs Bug #3461349 Before this change, eglGetCurrent*() could not be used to compare contexts, displays and surfaces at the Dalvik level. Change-Id: I442037dae37bc357b64810ab10c779b5754e9153
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
6062c5912dc79704b489fc8c289b78a400ed05ee |
|
22-Feb-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 808) This is a companion CL to the one found in /external/skia Change-Id: If81748545435cab20a5d8479329ab333cb973e16
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
289b9b62372ef52a06113b83dfb870e2c2fb325a |
|
09-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add ANativeWindow API for directly drawing to the surface bits. Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
54a181b1a2b1517a9479b21fbf7705a688232faf |
|
01-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Make real API for native code to get its window. Added implementation to use ANativeWindow and provide it to a NativeActivity. Change-Id: I890d71b6e15d4af71e6cf81b327961d7061ec1c2
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8b73ae4a1e5321753e54354e5202a38c5560fea9 |
|
11-Jun-2010 |
Mathias Agopian <mathias@google.com> |
fix [2757903] Crash in EGL when creating an EGLSurface Change-Id: I995947ac40d1a5c86dce495550baf6864ecf5f54
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
8b138323d54e36fd66b22a634494648e20c53373 |
|
13-Apr-2010 |
Mathias Agopian <mathias@google.com> |
don't hardcode "mSurface" throughout our source code this is used in a few places to get access to the android.view.Surface native surface. use a macro instead. Also rename the field to mNativeSurface. Change-Id: I1c6dea14abd6b8b1392c7f97b304115999355094
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
000479f9e325b4e426a67033abd92d47da412725 |
|
10-Feb-2010 |
Mathias Agopian <mathias@google.com> |
split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
1473f46cbc82aa6f0ba744cc896a36923823d55b |
|
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
1badb712b94f5d4a14ca8c3bdb55c215a4915000 |
|
25-Mar-2009 |
Jack Palevich <> |
Automated import from //branches/master/...@142578,142578
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp
|