Device specific OpenGL ES implementation functions





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I am trying to find the device specific OpenGL ES function implementations but for the life of me, and grep, I cannot seem to located them.



I am using an Android 4.4.4 embedded system running a 3.10.9 kernel. I am looking to find the device specific implementations of the OpenGL API entry points, defined by EGL_ENTRY (EGL_ENTRY(_r, _api, ...) _r (*_api)(VA_ARGS);) I believe. All over I am finding calls to the functions, or at least place holders for them, such as in base/opengl/java/android/opengl/EGL14.java where each entry point has a method prototype in the EGL14 class. My java knowledge isn't that good so I am having a tough time finding the underlying device specific C functions.



Is anyone able to point me in the right direction or quickly detail how the OpenGL stack is arranged on Android devices? Google is turning up dry.










share|improve this question































    1















    I am trying to find the device specific OpenGL ES function implementations but for the life of me, and grep, I cannot seem to located them.



    I am using an Android 4.4.4 embedded system running a 3.10.9 kernel. I am looking to find the device specific implementations of the OpenGL API entry points, defined by EGL_ENTRY (EGL_ENTRY(_r, _api, ...) _r (*_api)(VA_ARGS);) I believe. All over I am finding calls to the functions, or at least place holders for them, such as in base/opengl/java/android/opengl/EGL14.java where each entry point has a method prototype in the EGL14 class. My java knowledge isn't that good so I am having a tough time finding the underlying device specific C functions.



    Is anyone able to point me in the right direction or quickly detail how the OpenGL stack is arranged on Android devices? Google is turning up dry.










    share|improve this question



























      1












      1








      1








      I am trying to find the device specific OpenGL ES function implementations but for the life of me, and grep, I cannot seem to located them.



      I am using an Android 4.4.4 embedded system running a 3.10.9 kernel. I am looking to find the device specific implementations of the OpenGL API entry points, defined by EGL_ENTRY (EGL_ENTRY(_r, _api, ...) _r (*_api)(VA_ARGS);) I believe. All over I am finding calls to the functions, or at least place holders for them, such as in base/opengl/java/android/opengl/EGL14.java where each entry point has a method prototype in the EGL14 class. My java knowledge isn't that good so I am having a tough time finding the underlying device specific C functions.



      Is anyone able to point me in the right direction or quickly detail how the OpenGL stack is arranged on Android devices? Google is turning up dry.










      share|improve this question
















      I am trying to find the device specific OpenGL ES function implementations but for the life of me, and grep, I cannot seem to located them.



      I am using an Android 4.4.4 embedded system running a 3.10.9 kernel. I am looking to find the device specific implementations of the OpenGL API entry points, defined by EGL_ENTRY (EGL_ENTRY(_r, _api, ...) _r (*_api)(VA_ARGS);) I believe. All over I am finding calls to the functions, or at least place holders for them, such as in base/opengl/java/android/opengl/EGL14.java where each entry point has a method prototype in the EGL14 class. My java knowledge isn't that good so I am having a tough time finding the underlying device specific C functions.



      Is anyone able to point me in the right direction or quickly detail how the OpenGL stack is arranged on Android devices? Google is turning up dry.







      android opengl-es






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 4 at 15:25







      Alex Hoffmann

















      asked Jan 4 at 10:24









      Alex HoffmannAlex Hoffmann

      3710




      3710
























          1 Answer
          1






          active

          oldest

          votes


















          1














          I doubt you are going to find the implementations; they are likely proprietary graphics drivers so only available as binaries. The Java world just providing bindings into the vendor-specific native shared object.






          share|improve this answer
























          • So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

            – Alex Hoffmann
            Jan 7 at 8:38











          • Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

            – solidpixel
            Jan 7 at 8:54













          • I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

            – Alex Hoffmann
            Jan 7 at 10:19











          • What do the kernel entry points have to do with the user-space library entry points?

            – solidpixel
            Jan 7 at 10:25











          • I am working my way down to the kernel and that's as far as I got when tracking back down through the code

            – Alex Hoffmann
            Jan 7 at 13:27












          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54037045%2fdevice-specific-opengl-es-implementation-functions%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          I doubt you are going to find the implementations; they are likely proprietary graphics drivers so only available as binaries. The Java world just providing bindings into the vendor-specific native shared object.






          share|improve this answer
























          • So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

            – Alex Hoffmann
            Jan 7 at 8:38











          • Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

            – solidpixel
            Jan 7 at 8:54













          • I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

            – Alex Hoffmann
            Jan 7 at 10:19











          • What do the kernel entry points have to do with the user-space library entry points?

            – solidpixel
            Jan 7 at 10:25











          • I am working my way down to the kernel and that's as far as I got when tracking back down through the code

            – Alex Hoffmann
            Jan 7 at 13:27
















          1














          I doubt you are going to find the implementations; they are likely proprietary graphics drivers so only available as binaries. The Java world just providing bindings into the vendor-specific native shared object.






          share|improve this answer
























          • So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

            – Alex Hoffmann
            Jan 7 at 8:38











          • Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

            – solidpixel
            Jan 7 at 8:54













          • I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

            – Alex Hoffmann
            Jan 7 at 10:19











          • What do the kernel entry points have to do with the user-space library entry points?

            – solidpixel
            Jan 7 at 10:25











          • I am working my way down to the kernel and that's as far as I got when tracking back down through the code

            – Alex Hoffmann
            Jan 7 at 13:27














          1












          1








          1







          I doubt you are going to find the implementations; they are likely proprietary graphics drivers so only available as binaries. The Java world just providing bindings into the vendor-specific native shared object.






          share|improve this answer













          I doubt you are going to find the implementations; they are likely proprietary graphics drivers so only available as binaries. The Java world just providing bindings into the vendor-specific native shared object.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 4 at 15:33









          solidpixelsolidpixel

          5,30711223




          5,30711223













          • So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

            – Alex Hoffmann
            Jan 7 at 8:38











          • Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

            – solidpixel
            Jan 7 at 8:54













          • I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

            – Alex Hoffmann
            Jan 7 at 10:19











          • What do the kernel entry points have to do with the user-space library entry points?

            – solidpixel
            Jan 7 at 10:25











          • I am working my way down to the kernel and that's as far as I got when tracking back down through the code

            – Alex Hoffmann
            Jan 7 at 13:27



















          • So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

            – Alex Hoffmann
            Jan 7 at 8:38











          • Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

            – solidpixel
            Jan 7 at 8:54













          • I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

            – Alex Hoffmann
            Jan 7 at 10:19











          • What do the kernel entry points have to do with the user-space library entry points?

            – solidpixel
            Jan 7 at 10:25











          • I am working my way down to the kernel and that's as far as I got when tracking back down through the code

            – Alex Hoffmann
            Jan 7 at 13:27

















          So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

          – Alex Hoffmann
          Jan 7 at 8:38





          So in the android world ARM (at least for by board given it's a Mali GPU) is providing a user-space binary blob? Where are these located?

          – Alex Hoffmann
          Jan 7 at 8:38













          Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

          – solidpixel
          Jan 7 at 8:54







          Why are you looking for the entry point definitions? You can tell what extensions are present via the extension query string, and load them via eglGetProcAddress().

          – solidpixel
          Jan 7 at 8:54















          I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

          – Alex Hoffmann
          Jan 7 at 10:19





          I am trying to find (if at all possible) the entry point calls into the kernel so I can trace them. I am hoping to track buffer swaps from kernel space so that user space modification is not required.

          – Alex Hoffmann
          Jan 7 at 10:19













          What do the kernel entry points have to do with the user-space library entry points?

          – solidpixel
          Jan 7 at 10:25





          What do the kernel entry points have to do with the user-space library entry points?

          – solidpixel
          Jan 7 at 10:25













          I am working my way down to the kernel and that's as far as I got when tracking back down through the code

          – Alex Hoffmann
          Jan 7 at 13:27





          I am working my way down to the kernel and that's as far as I got when tracking back down through the code

          – Alex Hoffmann
          Jan 7 at 13:27




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54037045%2fdevice-specific-opengl-es-implementation-functions%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Monofisismo

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas