/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
PixelTransfer11.h | 14 namespace gl namespace 42 bool copyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget, 43 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea); 59 static void setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat, 60 const gl::PixelUnpackState &unpack, unsigned int offset, CopyShaderParams *parametersOut);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
validationES2.cpp | 22 namespace gl namespace 27 gl::Texture2D *texture) 31 return gl::error(GL_INVALID_OPERATION, false); 36 return gl::error(GL_INVALID_OPERATION, false); 41 GLenum internalformat = gl::GetSizedInternalFormat(format, type, 2); 44 return gl::error(GL_INVALID_OPERATION, false); 53 return gl::error(GL_INVALID_OPERATION, false); 60 return gl::error(GL_INVALID_VALUE, false); 68 gl::TextureCubeMap *texture) 72 return gl::error(GL_INVALID_OPERATION, false) [all...] |
DynamicHLSL.cpp | 67 if (gl::IsMatrixType(type)) 72 return HLSLComponentTypeString(gl::UniformComponentType(type), gl::UniformComponentCount(type)); 77 namespace gl namespace 378 // TODO: issue warning with gl debug info extension, when supported [all...] |
Renderbuffer.cpp | 8 // Renderbuffer.cpp: the gl::Renderbuffer class and its derived classes 9 // Colorbuffer, Depthbuffer and Stencilbuffer. Implements GL renderbuffer 21 namespace gl namespace
|
Sampler.h | 15 namespace gl namespace
|
Shader.h | 7 // Shader.h: Defines the abstract gl::Shader class and its concrete derived 8 // classes VertexShader and FragmentShader. Implements GL shader objects and 31 namespace gl namespace
|
/external/clang/test/CodeGen/ |
systemz-inline-asm.c | 4 unsigned long gl; variable
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 180 const glw::Functions& gl = m_context->getFunctions(); local 189 if (config.numSamples > 0 && !gl.renderbufferStorageMultisample) 198 gl.getIntegerv(GL_MAX_RENDERBUFFER_SIZE, &maxSize); 207 gl.genRenderbuffers(1, &m_colorBuffer); 208 gl.bindRenderbuffer(GL_RENDERBUFFER, m_colorBuffer); 211 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); 213 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); 215 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); 216 GLU_EXPECT_NO_ERROR(gl.getError(), "Creating color renderbuffer"); 223 gl.genRenderbuffers(1, &m_depthStencilBuffer) 263 const glw::Functions& gl = m_context->getFunctions(); local [all...] |
gluStateReset.cpp | 37 const glw::Functions& gl = renderCtx.getFunctions(); local 44 gl.getError(); 45 GLU_EXPECT_NO_ERROR(gl.getError(), "Error state"); 50 gl.getIntegerv(GL_MAX_VERTEX_ATTRIBS, &numVertexAttribArrays); 52 gl.bindBuffer (GL_ARRAY_BUFFER, 0); 53 gl.bindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0); 57 gl.bindVertexArray (0); 58 gl.disable (GL_PRIMITIVE_RESTART_FIXED_INDEX); 62 gl.bindBuffer(GL_DRAW_INDIRECT_BUFFER, 0); 66 gl.disableVertexAttribArray (ndx) 487 const glw::Functions& gl = renderCtx.getFunctions(); local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fImplementationLimitTests.cpp | 40 using namespace glw; // GL types 47 T query (const glw::Functions& gl, deUint32 param); 83 GLint query<GLint> (const glw::Functions& gl, deUint32 param) 86 gl.getIntegerv(param, &val); 91 GLfloat query<GLfloat> (const glw::Functions& gl, deUint32 param) 94 gl.getFloatv(param, &val); 99 NegInt query<NegInt> (const glw::Functions& gl, deUint32 param) 101 return NegInt(query<GLint>(gl, param)); 105 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param) 108 gl.getBooleanv(param, &val) 158 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
/external/deqp/modules/gles2/performance/ |
es2pBlendTests.cpp | 39 using namespace glw; // GL types 114 const glw::Functions& gl = m_renderCtx.getFunctions(); local 116 gl.enable(GL_BLEND); 117 gl.blendEquationSeparate(m_modeRGB, m_modeAlpha); 118 gl.blendFuncSeparate(m_srcRGB, m_dstRGB, m_srcAlpha, m_dstAlpha); 120 GLU_EXPECT_NO_ERROR(gl.getError(), "After render state setup");
|
/external/deqp/modules/gles3/performance/ |
es3pBlendTests.cpp | 39 using namespace glw; // GL types 117 const glw::Functions& gl = m_renderCtx.getFunctions(); local 119 gl.enable(GL_BLEND); 120 gl.blendEquationSeparate(m_modeRGB, m_modeAlpha); 121 gl.blendFuncSeparate(m_srcRGB, m_dstRGB, m_srcAlpha, m_dstAlpha); 123 GLU_EXPECT_NO_ERROR(gl.getError(), "After render state setup");
|
/external/deqp/modules/gles31/functional/ |
es31fShaderStateQueryTests.cpp | 108 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 122 gl.getProgramiv(program.getProgram(), GL_ACTIVE_UNIFORMS, &uniforms); 135 gl.getActiveUniformsiv(program.getProgram(), 1, &uniformIndex, GL_UNIFORM_TYPE, &type); 144 GLU_EXPECT_NO_ERROR(gl.getError(), "");
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceMeasurer.cpp | 41 using namespace glw; // GL types 144 const glw::Functions& gl = m_renderCtx.getFunctions(); local 150 gl.genVertexArrays(1, &m_vao); 151 gl.bindVertexArray(m_vao); 152 GLU_EXPECT_NO_ERROR(gl.getError(), "Create VAO"); 186 gl.genBuffers(1, &m_indexBuffer); 187 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer); 188 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0], GL_STATIC_DRAW); 190 GLU_EXPECT_NO_ERROR(gl.getError(), "Upload index data"); 195 gl.genBuffers((GLsizei)m_attribBuffers.size(), &m_attribBuffers[0]) [all...] |
/frameworks/native/opengl/libagl/ |
fp.h | 28 #include <GLES/gl.h> 39 namespace gl { namespace in namespace:android 237 }; // namespace gl
|
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 397 public void draw(GL10 gl) { 398 gl.glLoadIdentity(); 401 gl.glFrontFace(GL10.GL_CCW); 403 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); 404 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); 406 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); 407 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTextureBuffer); 409 gl.glTranslatef(mX, mY, -NEAR_CLIPPING_PLANE-mZ*(FAR_CLIPPING_PLANE-NEAR_CLIPPING_PLANE)); 410 gl.glColor4f(1, 1, 1, mAlpha); 413 gl.glTranslatef(TEXTURE_HEIGHT/2, TEXTURE_HEIGHT/2, 0) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 27 import javax.microedition.khronos.opengles.GL; 57 public void onDrawFrame(GL10 gl) { 58 checkGLError(gl); 60 gl.glClearColor(0,0,1,0); 64 gl.glClearColor(1,0,0,0); 66 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 67 gl.glEnable(GL10.GL_DEPTH_TEST); 68 gl.glMatrixMode(GL10.GL_MODELVIEW); 69 gl.glLoadIdentity(); 71 GLU.gluLookAt(gl, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 80 public void onSurfaceCreated(GL10 gl, EGLConfig config) { 85 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_FASTEST); 87 gl.glClearColor(0.0f, 0.0f, 0.0f, 1); 88 gl.glShadeModel(GL10.GL_FLAT); 89 gl.glDisable(GL10.GL_DEPTH_TEST); 90 gl.glEnable(GL10.GL_TEXTURE_2D); 96 gl.glDisable(GL10.GL_DITHER); 97 gl.glDisable(GL10.GL_LIGHTING); 99 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, GL10.GL_MODULATE); 101 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 72 public void draw(GL10 gl) 78 gl.glFrontFace(GL10.GL_CW); 79 gl.glShadeModel(GL10.GL_FLAT); 80 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); 81 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); 82 gl.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 115 public void draw(GL10 gl, boolean useTexture) { 116 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); 117 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); 120 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); 121 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTexCoordBuffer); 122 gl.glEnable(GL10.GL_TEXTURE_2D); 124 gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY); 125 gl.glDisable(GL10.GL_TEXTURE_2D); 128 gl.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, 130 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY) [all...] |
/external/chromium_org/cc/resources/ |
video_resource_updater.cc | 186 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local 188 GLC(gl, gl->GenMailboxCHROMIUM(mailbox.name)); 191 GLC(gl, gl->BindTexture(GL_TEXTURE_2D, lock.texture_id())); 192 GLC(gl, gl->ProduceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name)); 193 GLC(gl, gl->BindTexture(GL_TEXTURE_2D, 0));
|
/external/chromium_org/content/common/gpu/client/ |
webgraphicscontext3d_command_buffer_impl.cc | 330 gpu::gles2::GLES2Interface* gl = GetGLInterface(); local 331 if (gl) { 337 gl->Flush();
|
/external/chromium_org/content/renderer/media/android/ |
stream_texture_factory_synchronous_impl.cc | 20 #include "ui/gl/android/surface_texture.h" 196 GLES2Interface* gl = context_provider_->ContextGL(); local 197 gl->GenTextures(1, texture_id); 198 stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id); 200 gl->GenMailboxCHROMIUM(texture_mailbox->name); 201 gl->BindTexture(texture_target, *texture_id); 202 gl->ProduceTextureCHROMIUM(texture_target, texture_mailbox->name);
|
/external/chromium_org/mojo/apps/js/bindings/gl/ |
context.cc | 5 #include "mojo/apps/js/bindings/gl/context.h" 31 namespace gl { namespace in namespace:mojo::js 185 } // namespace gl
|
/external/chromium_org/third_party/angle/src/common/ |
shadervars.h | 7 // Types to represent GL variables (varyings, uniforms, etc) 20 namespace gl namespace
|