/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 39 public void onDrawFrame(GL10 gl) { 52 gl.glClearColor(0.5f,0.5f,0.5f,1); 53 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 59 gl.glMatrixMode(GL10.GL_MODELVIEW); 60 gl.glLoadIdentity(); 61 gl.glTranslatef(0, 0, -3.0f); 62 gl.glScalef(0.5f, 0.5f, 0.5f); 63 gl.glRotatef(mAngle, 0, 1, 0); 64 gl.glRotatef(mAngle*0.25f, 1, 0, 0); 66 gl.glColor4f(0.7f, 0.7f, 0.7f, 1.0f) [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
GLES10ExtcHeader.cpp | 20 #include <GLES/gl.h>
|
GLES10cHeader.cpp | 20 #include <GLES/gl.h>
|
GLES11ExtcHeader.cpp | 20 #include <GLES/gl.h>
|
GLES11cHeader.cpp | 20 #include <GLES/gl.h>
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gl.py | 2 """Very simple test script for the SGI gl library extension module 9 gl = import_module('gl') variable 10 GL = import_module('GL') 93 raise unittest.SkipTest, "No $DISPLAY -- skipping gl test" 95 # touch all the attributes of gl without doing anything 97 print 'Touching gl module attributes...' 101 getattr(gl, attr) 107 gl.foreground( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gl.py | 2 """Very simple test script for the SGI gl library extension module 9 gl = import_module('gl') variable 10 GL = import_module('GL') 93 raise unittest.SkipTest, "No $DISPLAY -- skipping gl test" 95 # touch all the attributes of gl without doing anything 97 print 'Touching gl module attributes...' 101 getattr(gl, attr) 107 gl.foreground( [all...] |
/external/deqp/framework/opengl/wrapper/ |
glwInitFunctions.cpp | 35 void initES20 (Functions* gl, const FunctionLoader* loader) 40 void initES30 (Functions* gl, const FunctionLoader* loader) 45 void initES31 (Functions* gl, const FunctionLoader* loader) 50 void initGL30Core (Functions* gl, const FunctionLoader* loader) 55 void initGL31Core (Functions* gl, const FunctionLoader* loader) 60 void initGL32Core (Functions* gl, const FunctionLoader* loader) 65 void initGL33Core (Functions* gl, const FunctionLoader* loader) 70 void initGL40Core (Functions* gl, const FunctionLoader* loader) 75 void initGL41Core (Functions* gl, const FunctionLoader* loader) 80 void initGL42Core (Functions* gl, const FunctionLoader* loader [all...] |
glwInitES20.inl | 4 gl->activeTexture = (glActiveTextureFunc) loader->get("glActiveTexture"); 5 gl->attachShader = (glAttachShaderFunc) loader->get("glAttachShader"); 6 gl->bindAttribLocation = (glBindAttribLocationFunc) loader->get("glBindAttribLocation"); 7 gl->bindBuffer = (glBindBufferFunc) loader->get("glBindBuffer"); 8 gl->bindFramebuffer = (glBindFramebufferFunc) loader->get("glBindFramebuffer"); 9 gl->bindRenderbuffer = (glBindRenderbufferFunc) loader->get("glBindRenderbuffer"); 10 gl->bindTexture = (glBindTextureFunc) loader->get("glBindTexture"); 11 gl->blendColor = (glBlendColorFunc) loader->get("glBlendColor"); 12 gl->blendEquation = (glBlendEquationFunc) loader->get("glBlendEquation"); 13 gl->blendEquationSeparate = (glBlendEquationSeparateFunc) loader->get("glBlendEquationSeparate (…) [all...] |
glwInitGL44.inl | 4 gl->cullFace = (glCullFaceFunc) loader->get("glCullFace"); 5 gl->frontFace = (glFrontFaceFunc) loader->get("glFrontFace"); 6 gl->hint = (glHintFunc) loader->get("glHint"); 7 gl->lineWidth = (glLineWidthFunc) loader->get("glLineWidth"); 8 gl->pointSize = (glPointSizeFunc) loader->get("glPointSize"); 9 gl->polygonMode = (glPolygonModeFunc) loader->get("glPolygonMode"); 10 gl->scissor = (glScissorFunc) loader->get("glScissor"); 11 gl->texParameterf = (glTexParameterfFunc) loader->get("glTexParameterf"); 12 gl->texParameterfv = (glTexParameterfvFunc) loader->get("glTexParameterfv"); 13 gl->texParameteri = (glTexParameteriFunc) loader->get("glTexParameteri") [all...] |
glwInitGL43.inl | 4 gl->cullFace = (glCullFaceFunc) loader->get("glCullFace"); 5 gl->frontFace = (glFrontFaceFunc) loader->get("glFrontFace"); 6 gl->hint = (glHintFunc) loader->get("glHint"); 7 gl->lineWidth = (glLineWidthFunc) loader->get("glLineWidth"); 8 gl->pointSize = (glPointSizeFunc) loader->get("glPointSize"); 9 gl->polygonMode = (glPolygonModeFunc) loader->get("glPolygonMode"); 10 gl->scissor = (glScissorFunc) loader->get("glScissor"); 11 gl->texParameterf = (glTexParameterfFunc) loader->get("glTexParameterf"); 12 gl->texParameterfv = (glTexParameterfvFunc) loader->get("glTexParameterfv"); 13 gl->texParameteri = (glTexParameteriFunc) loader->get("glTexParameteri") [all...] |
glwInitES20Direct.hpp | 32 void initES20Direct (Functions* gl); //!< Load all OpenGL ES 2 functions using compile-time linkage.
|
glwInitES30Direct.hpp | 32 void initES30Direct (Functions* gl); //!< Load all OpenGL ES 3 functions using compile-time linkage.
|
glwWrapper.hpp | 34 void setCurrentThreadFunctions (const glw::Functions* gl);
|
/external/chromium_org/third_party/mesa/src/include/GLES/ |
egl.h | 3 * applications. Several early implementations included gl.h 13 #include <GLES/gl.h>
|
/external/mesa3d/include/GLES/ |
egl.h | 3 * applications. Several early implementations included gl.h 13 #include <GLES/gl.h>
|
/frameworks/native/opengl/include/GLES/ |
egl.h | 3 * applications. Several early implementations included gl.h 13 #include <GLES/gl.h>
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
TranslatorHLSL.h | 18 const std::vector<gl::Uniform> &getUniforms() { return mActiveUniforms; } 19 const std::vector<gl::InterfaceBlock> &getInterfaceBlocks() const { return mActiveInterfaceBlocks; } 20 const std::vector<gl::Attribute> &getOutputVariables() { return mActiveOutputVariables; } 21 const std::vector<gl::Attribute> &getAttributes() { return mActiveAttributes; } 22 const std::vector<gl::Varying> &getVaryings() { return mActiveVaryings; } 27 std::vector<gl::Uniform> mActiveUniforms; 28 std::vector<gl::InterfaceBlock> mActiveInterfaceBlocks; 29 std::vector<gl::Attribute> mActiveOutputVariables; 30 std::vector<gl::Attribute> mActiveAttributes; 31 std::vector<gl::Varying> mActiveVaryings [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLWrapperBase.java | 19 import javax.microedition.khronos.opengles.GL; 27 * The abstract base class for a GL wrapper. Provides 31 implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { 32 public GLWrapperBase(GL gl) { 33 mgl = (GL10) gl; 34 if (gl instanceof GL10Ext) { 35 mgl10Ext = (GL10Ext) gl; 37 if (gl instanceof GL11) { 38 mgl11 = (GL11) gl; [all...] |
/frameworks/rs/driver/ |
rsdGL.cpp | 27 #include <GLES/gl.h> 135 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); 136 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, 137 dc->gl.egl.display); 138 ALOGE(" GL vendor: %s", dc->gl.gl.vendor); 139 ALOGE(" GL renderer: %s", dc->gl.gl.renderer) [all...] |
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
MyGLRenderer.java | 40 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 42 gl.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); 49 public void onDrawFrame(GL10 gl) { 52 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 55 gl.glMatrixMode(GL10.GL_MODELVIEW); 56 gl.glLoadIdentity(); // reset the matrix to its default state 59 GLU.gluLookAt(gl, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 62 mSquare.draw(gl); 71 gl.glRotatef(mAngle, 0.0f, 0.0f, 1.0f); 74 mTriangle.draw(gl); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
FrameBufferObjectActivity.java | 20 import javax.microedition.khronos.opengles.GL; 60 public void onDrawFrame(GL10 gl) { 61 checkGLError(gl); 63 GL11ExtensionPack gl11ep = (GL11ExtensionPack) gl; 65 drawOffscreenImage(gl, mSurfaceWidth, mSurfaceHeight); 68 drawOffscreenImage(gl, mFramebufferWidth, mFramebufferHeight); 70 drawOnscreen(gl, mSurfaceWidth, mSurfaceHeight); 75 gl.glClearColor(1,0,0,0); 76 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 80 public void onSurfaceChanged(GL10 gl, int width, int height) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
VertexDataManager.h | 17 namespace gl namespace 35 const gl::VertexAttribute *attribute; 52 GLenum prepareVertexData(const gl::VertexAttribute attribs[], const gl::VertexAttribCurrentValueData currentValues[], 53 gl::ProgramBinary *programBinary, GLint start, GLsizei count, TranslatedAttribute *outAttribs, GLsizei instances); 62 gl::VertexAttribCurrentValueData mCurrentValue[gl::MAX_VERTEX_ATTRIBS]; 64 StreamingVertexBufferInterface *mCurrentValueBuffer[gl::MAX_VERTEX_ATTRIBS]; 65 std::size_t mCurrentValueOffsets[gl::MAX_VERTEX_ATTRIBS];
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
libGLESv2.cpp | 43 gl::Context *context = gl::getNonLostContext(); 49 return gl::error(GL_INVALID_ENUM); 57 return gl::error(GL_OUT_OF_MEMORY); 67 gl::Context *context = gl::getNonLostContext(); 71 gl::Program *programObject = context->getProgram(program); 72 gl::Shader *shaderObject = context->getShader(shader); 78 return gl::error(GL_INVALID_OPERATION); 82 return gl::error(GL_INVALID_VALUE) [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 43 gl.glDisable(GL10.GL_DITHER); 49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, 52 gl.glClearColor(.5f, .5f, .5f, 1); 53 gl.glShadeModel(GL10.GL_SMOOTH); 56 public void onDrawFrame(GL10 gl) { 62 gl.glDisable(GL10.GL_DITHER); 70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 76 gl.glMatrixMode(GL10.GL_MODELVIEW); 77 gl.glLoadIdentity() [all...] |