HomeSort by relevance Sort by last modified time
    Searched defs:gl (Results 1 - 25 of 557) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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/python/cpython2/Lib/test/
test_gl.py 1 """Very simple test script for the SGI gl library extension module
8 gl = import_module('gl') variable
9 GL = import_module('GL')
92 raise unittest.SkipTest, "No $DISPLAY -- skipping gl test"
94 # touch all the attributes of gl without doing anything
96 print 'Touching gl module attributes...'
100 getattr(gl, attr)
106 gl.foreground(
    [all...]
  /external/swiftshader/src/OpenGL/common/
Surface.hpp 15 // Surface.hpp: Defines the gl::Surface class, which is the abstract interface
16 // for an EGL surface as viewed by the GL implementation.
31 namespace gl namespace
  /frameworks/native/opengl/libagl/
array.h 27 namespace gl { namespace in namespace:android
light.h 34 namespace gl { namespace in namespace:android
primitives.h 28 namespace gl { namespace in namespace:android
vertex.h 27 namespace gl { namespace in namespace:android
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/swiftshader/src/OpenGL/libGL/
utilities.h 26 #include <GL/GL.h>
27 #include <GL/glext.h>
31 namespace gl namespace
64 sw::Color<float> ConvertColor(gl::Color color);
74 bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, gl::PrimitiveType &swPrimitiveType, int &primitiveCount);
Fence.h 22 #include <GL/GL.h>
23 #include <GL/glext.h>
25 namespace gl namespace
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TriangleRenderer.java 46 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
52 gl.glDisable(GL10.GL_DITHER);
58 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,
61 gl.glClearColor(.5f, .5f, .5f, 1);
62 gl.glShadeModel(GL10.GL_SMOOTH);
63 gl.glEnable(GL10.GL_DEPTH_TEST);
64 gl.glEnable(GL10.GL_TEXTURE_2D);
72 gl.glGenTextures(1, textures, 0);
75 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
77 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER
    [all...]
CubeRenderer.java 34 public void onDrawFrame(GL10 gl) {
41 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
47 gl.glMatrixMode(GL10.GL_MODELVIEW);
48 gl.glLoadIdentity();
49 gl.glTranslatef(0, 0, -3.0f);
50 gl.glRotatef(mAngle, 0, 1, 0);
51 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
53 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
54 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
56 mCube.draw(gl);
    [all...]
  /development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
Triangle.java 64 * @param gl - The OpenGL ES context in which to draw this shape.
66 public void draw(GL10 gl) {
68 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
71 gl.glColor4f( // set color:
74 gl.glVertexPointer( // point to vertex data:
77 gl.glDrawArrays( // draw shape:
83 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
CubeRenderer.java 46 public void onDrawFrame(GL10 gl) {
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.glRotatef(mAngle, 0, 1, 0);
63 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
65 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
66 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
68 gl.glScalef(mScale, mScale, mScale)
    [all...]
  /external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
esextcDrawBuffersIndexedDefaultState.cpp 50 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
54 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers);
69 glw::GLenum error_code = gl.getError();
esextcDrawBuffersIndexedSetGet.cpp 50 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
54 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers);
94 glw::GLenum error_code = gl.getError();
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
CubeRenderer.java 44 public void onDrawFrame(GL10 gl) {
51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
57 gl.glMatrixMode(GL10.GL_MODELVIEW);
58 gl.glLoadIdentity();
59 gl.glTranslatef(0, 0, -3.0f);
60 gl.glRotatef(mAngle, 0, 1, 0);
61 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
66 gl.glScalef(mScale, mScale, mScale)
    [all...]
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
CubeRenderer.java 46 public void onDrawFrame(GL10 gl) {
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.glRotatef(mAngle, 0, 1, 0);
63 gl.glRotatef(mAngle*0.25f, 1, 0, 0);
65 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
66 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
68 gl.glScalef(mScale, mScale, mScale)
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 80 public void onDrawFrame(GL10 gl) {
82 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
84 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,
88 gl.glMatrixMode(GL10.GL_MODELVIEW);
89 gl.glLoadIdentity(); // reset the matrix to its default state
92 GLU.gluLookAt(gl, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
94 gl.glActiveTexture(GL10.GL_TEXTURE0);
95 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
96 gl.glEnable(GL10.GL_TEXTURE_2D);
99 gl.glColor4f(1.0f, 0f, 0f, 1.0f)
    [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...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
GLArrowSensorTestRenderer.java 74 public void onDrawFrame(GL10 gl) {
76 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, GL10.GL_MODULATE);
77 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
78 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
79 gl.glActiveTexture(GL10.GL_TEXTURE0);
80 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
81 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, GL10.GL_REPEAT);
82 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, GL10.GL_REPEAT);
85 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
86 gl.glMatrixMode(GL10.GL_MODELVIEW)
    [all...]
  /frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
ClearActivity.java 70 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
74 public void onSurfaceChanged(GL10 gl, int w, int h) {
76 gl.glMatrixMode(GL10.GL_PROJECTION);
77 gl.glLoadIdentity();
86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f);
89 gl.glMatrixMode(GL10.GL_MODELVIEW);
90 gl.glLoadIdentity();
91 gl.glViewport(0, 0, w, h);
94 public void onDrawFrame(GL10 gl) {
95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT)
    [all...]

Completed in 643 milliseconds

1 2 3 4 5 6 7 8 91011>>