/frameworks/rs/driver/ |
D | rsdGL.cpp | 131 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug() 132 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug() 133 dc->gl.egl.display); in DumpDebug() 134 ALOGE(" GL vendor: %s", dc->gl.gl.vendor); in DumpDebug() 135 ALOGE(" GL renderer: %s", dc->gl.gl.renderer); in DumpDebug() 136 ALOGE(" GL Version: %s", dc->gl.gl.version); in DumpDebug() 137 ALOGE(" GL Extensions: %s", dc->gl.gl.extensions); in DumpDebug() 138 ALOGE(" GL int Versions %i %i", dc->gl.gl.majorVersion, dc->gl.gl.minorVersion); in DumpDebug() 140 ALOGV("MAX Textures %i, %i %i", dc->gl.gl.maxVertexTextureUnits, in DumpDebug() 141 dc->gl.gl.maxFragmentTextureImageUnits, dc->gl.gl.maxTextureImageUnits); in DumpDebug() [all …]
|
D | rsdFrameBufferObj.cpp | 131 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive() 132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive() 150 if(dc->gl.wndSurface != dc->gl.currentWndSurface) { in setActive() 151 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface); in setActive()
|
D | rsdProgram.cpp | 67 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 80 dc->gl.shaderCache->cleanupVertex(drv); in rsdProgramVertexDestroy() 101 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive() 114 dc->gl.shaderCache->cleanupFragment(drv); in rsdProgramFragmentDestroy()
|
D | rsdShader.cpp | 420 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler() 422 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) { in setupSampler() 423 if (dc->gl.gl.NV_texture_npot_2D_mipmap) { in setupSampler() 459 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler() 460 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) { in setupSampler() 475 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits; in setupTextures()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | CubeRenderer.java | 44 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 57 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 58 gl.glLoadIdentity(); in onDrawFrame() 59 gl.glTranslatef(0, 0, -3.0f); in onDrawFrame() 60 gl.glRotatef(mAngle, 0, 1, 0); in onDrawFrame() 61 gl.glRotatef(mAngle*0.25f, 1, 0, 0); in onDrawFrame() 63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onDrawFrame() 64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); in onDrawFrame() 66 gl.glScalef(mScale, mScale, mScale); in onDrawFrame() [all …]
|
D | Cube.java | 89 public void draw(GL10 gl) in draw() argument 91 gl.glFrontFace(GL10.GL_CW); in draw() 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw() 93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); in draw() 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw()
|
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
D | ClearActivity.java | 70 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 74 public void onSurfaceChanged(GL10 gl, int w, int h) { in onSurfaceChanged() argument 76 gl.glMatrixMode(GL10.GL_PROJECTION); in onSurfaceChanged() 77 gl.glLoadIdentity(); in onSurfaceChanged() 86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f); in onSurfaceChanged() 89 gl.glMatrixMode(GL10.GL_MODELVIEW); in onSurfaceChanged() 90 gl.glLoadIdentity(); in onSurfaceChanged() 91 gl.glViewport(0, 0, w, h); in onSurfaceChanged() 94 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() [all …]
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | TriangleRenderer.java | 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 43 gl.glDisable(GL10.GL_DITHER); in onSurfaceCreated() 49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, in onSurfaceCreated() 52 gl.glClearColor(.5f, .5f, .5f, 1); in onSurfaceCreated() 53 gl.glShadeModel(GL10.GL_SMOOTH); in onSurfaceCreated() 56 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 62 gl.glDisable(GL10.GL_DITHER); in onDrawFrame() 70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 76 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 77 gl.glLoadIdentity(); in onDrawFrame() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLWrapperBase.java | 32 public GLWrapperBase(GL gl) { in GLWrapperBase() argument 33 mgl = (GL10) gl; in GLWrapperBase() 34 if (gl instanceof GL10Ext) { in GLWrapperBase() 35 mgl10Ext = (GL10Ext) gl; in GLWrapperBase() 37 if (gl instanceof GL11) { in GLWrapperBase() 38 mgl11 = (GL11) gl; in GLWrapperBase() 40 if (gl instanceof GL11Ext) { in GLWrapperBase() 41 mgl11Ext = (GL11Ext) gl; in GLWrapperBase() 43 if (gl instanceof GL11ExtensionPack) { in GLWrapperBase() 44 mgl11ExtensionPack = (GL11ExtensionPack) gl; in GLWrapperBase()
|
D | GLDebugHelper.java | 79 public static GL wrap(GL gl, int configFlags, Writer log) { in wrap() argument 81 gl = new GLErrorWrapper(gl, configFlags); in wrap() 86 gl = new GLLogWrapper(gl, log, logArgumentNames); in wrap() 88 return gl; in wrap()
|
D | GLU.java | 71 public static void gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, in gluLookAt() argument 79 gl.glMultMatrixf(scratch, 0); in gluLookAt() 92 public static void gluOrtho2D(GL10 gl, float left, float right, in gluOrtho2D() argument 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); in gluOrtho2D() 111 public static void gluPerspective(GL10 gl, float fovy, float aspect, in gluPerspective() argument 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); in gluPerspective()
|
D | GLSurfaceView.java | 670 GL wrap(GL gl); in wrap() argument 734 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated() argument 759 void onSurfaceChanged(GL10 gl, int width, int height); in onSurfaceChanged() argument 776 void onDrawFrame(GL10 gl); in onDrawFrame() argument 1143 GL gl = mEglContext.getGL(); in createGL() local 1147 gl = view.mGLWrapper.wrap(gl); in createGL() 1159 gl = GLDebugHelper.wrap(gl, configFlags, log); in createGL() 1162 return gl; in createGL() 1309 GL10 gl = null; in guardedRun() local 1528 gl = (GL10) mEglHelper.createGL(); in guardedRun() [all …]
|
/frameworks/av/media/libstagefright/renderfright/ |
D | Android.bp | 59 "gl/GLESRenderEngine.cpp", 60 "gl/GLExtensions.cpp", 61 "gl/GLFramebuffer.cpp", 62 "gl/GLImage.cpp", 63 "gl/GLShadowTexture.cpp", 64 "gl/GLShadowVertexGenerator.cpp", 65 "gl/GLSkiaShadowPort.cpp", 66 "gl/GLVertexBuffer.cpp", 67 "gl/ImageManager.cpp", 68 "gl/Program.cpp", [all …]
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestView.java | 186 public void createBufferObjects(GL gl) { in createBufferObjects() argument 189 GL11 gl11 = (GL11) gl; in createBufferObjects() 209 public void draw(GL10 gl) { in draw() argument 210 GL11 gl11 = (GL11) gl; in draw() 212 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in draw() 219 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY); in draw() 230 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 231 gl.glClearColor(0,0,1,1); in onDrawFrame() 232 gl.glClear(GL10.GL_COLOR_BUFFER_BIT); in onDrawFrame() 233 mGrid.draw(gl); in onDrawFrame() [all …]
|
/frameworks/native/libs/renderengine/ |
D | Android.bp | 67 "gl/GLESRenderEngine.cpp", 68 "gl/GLExtensions.cpp", 69 "gl/GLFramebuffer.cpp", 70 "gl/GLImage.cpp", 71 "gl/GLShadowTexture.cpp", 72 "gl/GLShadowVertexGenerator.cpp", 73 "gl/GLSkiaShadowPort.cpp", 74 "gl/GLVertexBuffer.cpp", 75 "gl/ImageManager.cpp", 76 "gl/Program.cpp", [all …]
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | CustomOpenGLView.java | 44 public void drawFrame(@NonNull GL10 gl); in drawFrame() argument 56 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in CustomOpenGLView() 59 gl.glClearDepthf(1.0f); in CustomOpenGLView() 60 gl.glDisable(GL10.GL_DEPTH_TEST); in CustomOpenGLView() 61 gl.glDepthFunc(GL10.GL_LEQUAL); in CustomOpenGLView() 63 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, in CustomOpenGLView() 72 public void onSurfaceChanged(GL10 gl, int width, int height) { in CustomOpenGLView() 79 public void onDrawFrame(GL10 gl) { in CustomOpenGLView() 81 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in CustomOpenGLView() 84 mFrameDrawer.drawFrame(gl); in CustomOpenGLView()
|
D | OpenGLTest.java | 38 protected abstract void draw(GL gl); in draw() argument 51 public void drawFrame(GL10 gl) { in drawFrame() argument 56 draw(gl); in drawFrame()
|
D | RenderPatchOpenGLTest.java | 118 public void onBeforeDraw(GL gl) { in onBeforeDraw() argument 122 public void draw(GL gl) { in draw() argument 143 onBeforeDraw(gl); in draw()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 46 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 69 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 104 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 138 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 172 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 220 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 255 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl.cpp | 102 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 125 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 160 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 194 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 228 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 276 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 311 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 352 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestView.java | 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
D | GLJNIView.java | 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLId.java | 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); in glDeleteTextures() argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
|
D | GLES20IdImpl.java | 25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { in glDeleteTextures() argument 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 72 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 83 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 87 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|