HomeSort by relevance Sort by last modified time
    Searched defs:gl (Results 101 - 125 of 358) sorted by null

1 2 3 45 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TouchRotateActivity.java 111 public void onDrawFrame(GL10 gl) {
118 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
124 gl.glMatrixMode(GL10.GL_MODELVIEW);
125 gl.glLoadIdentity();
126 gl.glTranslatef(0, 0, -3.0f);
127 gl.glRotatef(mAngleX, 0, 1, 0);
128 gl.glRotatef(mAngleY, 1, 0, 0);
130 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
131 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
133 mCube.draw(gl);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 115 // is interpreted by Open GL as the inverse of the
122 public void onDrawFrame(GL10 gl) {
124 gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
127 gl.glMatrixMode(GL10.GL_MODELVIEW);
128 gl.glLoadIdentity();
129 gl.glTranslatef(0, 0, -3.0f);
130 gl.glMultMatrixf(mRotationMatrix, 0);
133 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
134 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
136 mCube.draw(gl);
    [all...]
  /development/samples/Compass/src/com/example/android/compass/
CompassActivity.java 92 public void onDrawFrame(GL10 gl) {
99 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
105 gl.glMatrixMode(GL10.GL_MODELVIEW);
106 gl.glLoadIdentity();
107 gl.glTranslatef(0, 0, -2);
117 gl.glMultMatrixf(mR, 0);
119 //gl.glMultMatrixf(mI, 0);
121 gl.glVertexPointer(3, GL_FLOAT, 0, mVertexBuffer);
122 gl.glColorPointer(4, GL_FLOAT, 0, mColorBuffer);
123 gl.glDrawElements(GL_LINES, 6, GL_UNSIGNED_BYTE, mIndexBuffer)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
TextureLibrary.java 82 public Texture loadTexture(Context context, GL10 gl, int resourceID) {
84 texture = loadBitmap(context, gl, texture);
89 public void loadAll(Context context, GL10 gl) {
92 loadBitmap(context, gl, mTextureHash[x]);
98 public void deleteAll(GL10 gl) {
105 gl.glDeleteTextures(1, mTextureNameWorkspace, 0);
106 int error = gl.glGetError();
127 protected Texture loadBitmap(Context context, GL10 gl, Texture texture) {
128 assert gl != null;
132 gl.glGenTextures(1, mTextureNameWorkspace, 0)
    [all...]
TiledVertexGrid.java 132 GL10 gl = OpenGLSystem.getGL(); local
133 if (!mGenerated && world != null && gl != null && mTexture != null) {
151 grid.generateHardwareBuffers(gl);
160 if (gl != null && texture != null) {
187 tileMap.beginDrawingStrips(gl, true);
197 gl.glPushMatrix();
198 gl.glLoadIdentity();
199 gl.glTranslatef(
211 tileMap.drawStrip(gl, true, row + startOffset, count);
214 gl.glPopMatrix()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLES11Canvas.java 99 public GLES11Canvas(GL11 gl) {
100 mGL = gl;
101 mGLState = new GLState(gl);
111 gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, mBoxCoords);
112 gl.glBufferData(GL11.GL_ARRAY_BUFFER, xyBuffer.capacity() * (Float.SIZE / Byte.SIZE),
115 gl.glVertexPointer(2, GL11.GL_FLOAT, 0, 0);
116 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0);
119 gl.glClientActiveTexture(GL11.GL_TEXTURE1);
120 gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0);
121 gl.glClientActiveTexture(GL11.GL_TEXTURE0)
137 GL11 gl = mGL; local
178 GL11 gl = mGL; local
196 GL11 gl = mGL; local
215 GL11 gl = mGL; local
267 GL11 gl = mGL; local
492 GL11 gl = mGL; local
561 final GL11 gl = mGL; local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
Wedge.java 45 // Buffers to be passed to gl*Pointer() functions
139 public void draw(GL10 gl) {
140 gl.glFrontFace(GL10.GL_CCW);
141 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFVertexBuffer);
142 gl.glEnable(GL10.GL_TEXTURE_2D);
143 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTexBuffer);
144 gl.glDrawElements(GL10.GL_TRIANGLE_STRIP, 24, GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
  /external/chromium_org/content/renderer/media/android/
stream_texture_factory_impl.cc 144 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
145 gl->GenTextures(1, texture_id);
147 stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
149 gl->GenMailboxCHROMIUM(texture_mailbox->name);
150 gl->BindTexture(texture_target, *texture_id);
151 gl->ProduceTextureCHROMIUM(texture_target, texture_mailbox->name);
  /external/chromium_org/ppapi/proxy/
compositor_layer_resource.cc 57 GLES2Implementation* gl = graphics->gles2_impl(); local
58 gl->WaitSyncPointCHROMIUM(sync_point);
144 GLES2Implementation* gl = graphics->gles2_impl(); local
147 gl->GenMailboxCHROMIUM(
149 gl->ProduceTextureDirectCHROMIUM(
159 data_.texture->sync_point = gl->InsertSyncPointCHROMIUM();
  /external/chromium_org/third_party/angle/src/common/
blocklayout.cpp 15 namespace gl namespace
106 ASSERT(gl::UniformComponentSize(gl::UniformComponentType(type)) == BytesPerComponent);
112 if (gl::IsMatrixType(type))
119 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
130 const int numComponents = gl::UniformComponentCount(type);
146 else if (gl::IsMatrixType(type))
149 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
154 mCurrentOffset += gl::UniformComponentCount(type);
176 ASSERT(gl::UniformComponentSize(gl::UniformComponentType(type)) == BytesPerComponent)
    [all...]
mathutil.cpp 13 namespace gl namespace
utilities.cpp 18 namespace gl namespace
  /external/chromium_org/third_party/angle/src/libEGL/
Surface.h 19 namespace gl namespace
67 virtual void setBoundTexture(gl::Texture2D *texture);
68 virtual gl::Texture2D *getBoundTexture() const;
110 gl::Texture2D *mTexture;
  /external/chromium_org/third_party/angle/src/libGLESv2/
BinaryStream.h 15 namespace gl namespace
Buffer.cpp 8 // Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or
9 // index data. Implements GL buffer objects and related functionality.
19 namespace gl namespace
Fence.cpp 8 // Fence.cpp: Implements the gl::Fence class, which supports the GL_NV_fence extension.
26 namespace gl namespace
Program.h 7 // Program.h: Defines the gl::Program class. Implements GL program objects
25 namespace gl namespace
ResourceManager.h 8 // shared by multiple GL contexts.
27 namespace gl namespace
Texture.h 7 // Texture.h: Defines the abstract gl::Texture class and its concrete derived
8 // classes Texture2D and TextureCubeMap. Implements GL texture objects and
41 namespace gl namespace
49 // The actual GL caps are limited by the device caps
VertexAttribute.h 14 namespace gl namespace
49 void setState(gl::Buffer *boundBuffer, GLint size, GLenum type, bool normalized,
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Image.h 16 namespace gl namespace
63 virtual void copy(GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, gl::Framebuffer *source) = 0;
Renderer.h 27 namespace gl namespace
103 virtual void generateSwizzle(gl::Texture *texture) = 0;
104 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler) = 0;
105 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture) = 0;
107 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]) = 0;
109 virtual void setRasterizerState(const gl::RasterizerState &rasterState) = 0;
110 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
VertexBuffer.h 15 namespace gl namespace
33 virtual bool storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData &currentValue,
35 virtual bool getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei count, GLsizei instances,
60 bool reserveVertexSpace(const gl::VertexAttribute &attribute, GLsizei count, GLsizei instances);
66 virtual bool storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData &currentValue,
69 bool directStoragePossible(const gl::VertexAttribute &attrib,
70 const gl::VertexAttribCurrentValueData &currentValue) const;
112 bool storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData &currentValue
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
Clear11.h 14 namespace gl namespace
31 void clearFramebuffer(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer);
44 ID3D11BlendState *getBlendState(const gl::ClearParameters &clearParams, const std::vector<RenderTarget11*>& rts);
69 ID3D11DepthStencilState *getDepthStencilState(const gl::ClearParameters &clearParams);
InputLayoutCache.h 16 namespace gl namespace
35 GLenum applyVertexBuffers(TranslatedAttribute attributes[gl::MAX_VERTEX_ATTRIBS],
36 gl::ProgramBinary *programBinary);
50 InputLayoutElement elements[gl::MAX_VERTEX_ATTRIBS];
70 ID3D11Buffer *mCurrentBuffers[gl::MAX_VERTEX_ATTRIBS];
71 UINT mCurrentVertexStrides[gl::MAX_VERTEX_ATTRIBS];
72 UINT mCurrentVertexOffsets[gl::MAX_VERTEX_ATTRIBS];

Completed in 269 milliseconds

1 2 3 45 6 7 8 91011>>