/frameworks/native/opengl/libs/tools/ |
genfiles | 21 ./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in 26 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in 45 cat ../../include/GLES/gl.h \
|
/sdk/emulator/opengl/host/libs/GLESv1_dec/ |
Android.mk | 5 #For gl debbuging 16 $(call emugl-gen-decoder,$(LOCAL_PATH),gl) 33 $(call emugl-gen-decoder,$(LOCAL_PATH),gl)
|
/external/deqp/modules/gles31/functional/ |
es31fSynchronizationTests.cpp | 78 static void readBuffer (const glw::Functions& gl, deUint32 target, int numElements, std::vector<deUint32>& result) 80 const void* ptr = gl.mapBufferRange(target, 0, (int)(sizeof(deUint32) * numElements), GL_MAP_READ_BIT); 81 GLU_EXPECT_NO_ERROR(gl.getError(), "map"); 89 if (gl.unmapBuffer(target) == GL_FALSE) 93 static deUint32 readBufferUint32 (const glw::Functions& gl, deUint32 target) 97 readBuffer(gl, target, 1, vec); 191 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 215 gl.genBuffers(1, &m_storageBuf); 216 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_storageBuf); 217 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW) [all...] |
es31fTextureLevelStateQueryTests.cpp | 102 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, VerifierType type) 104 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage; 110 gl.glGetTexLevelParameteriv(target, level, pname, &result); 111 GLU_EXPECT_NO_ERROR(gl.glGetError(), "glGetTexLevelParameteriv"); 115 gl.getLog() << tcu::TestLog::Message << "Error: Get* did not write a value." << tcu::TestLog::EndMessage; 120 gl.getLog() << tcu::TestLog::Message << "Error: detected illegal memory write." << tcu::TestLog::EndMessage; 127 gl.getLog() << tcu::TestLog::Message << "Error: Expected " << Printer::getIntegerName(refValue) << ", got " << Printer::getIntegerName(result) << tcu::TestLog::EndMessage; 134 gl.glGetTexLevelParameterfv(target, level, pname, &result); 135 GLU_EXPECT_NO_ERROR(gl.glGetError(), "glGetTexLevelParameterfv"); 139 gl.getLog() << tcu::TestLog::Message << "Error: Get* did not write a value." << tcu::TestLog::EndMess (…) 739 const glw::Functions gl = m_context.getRenderContext().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...] |
es2fShaderInvarianceTests.cpp | 209 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 232 gl.genBuffers(1, &m_arrayBuf); 233 gl.bindBuffer(GL_ARRAY_BUFFER, m_arrayBuf); 234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[0], GL_STATIC_DRAW); 235 GLU_EXPECT_NO_ERROR(gl.getError(), "buffer gen"); 258 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 264 gl.clearColor (0.0f, 0.0f, 0.0f, 1.0f); 265 gl.clear (GL_COLOR_BUFFER_BIT); 266 gl.viewport (0, 0, m_renderSize, m_renderSize); 267 gl.bindBuffer (GL_ARRAY_BUFFER, m_arrayBuf) [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 44 using namespace glw; // GL types 197 const glw::Functions& gl = m_renderCtx.getFunctions(); local 200 int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str()); 201 gl.uniform1i(samplerLoc, texNdx); 207 const glw::Functions& gl = m_renderCtx.getFunctions(); local 210 gl.enable(GL_BLEND); 211 gl.blendFunc(GL_ONE, GL_ONE); 212 gl.blendEquation(GL_FUNC_ADD); 217 gl.activeTexture(GL_TEXTURE0 + texNdx); 218 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture()) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 45 using namespace glw; // GL types 224 const glw::Functions& gl = m_renderCtx.getFunctions(); local 227 int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str()); 228 gl.uniform1i(samplerLoc, texNdx); 234 const glw::Functions& gl = m_renderCtx.getFunctions(); local 237 gl.enable(GL_BLEND); 238 gl.blendFunc(GL_ONE, GL_ONE); 239 gl.blendEquation(GL_FUNC_ADD); 244 gl.activeTexture(GL_TEXTURE0 + texNdx); 245 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture()) [all...] |
es3pDepthTests.cpp | 118 const glw::Functions& gl = renderCtx.getFunctions(); local 123 gl.bindBuffer(GL_ARRAY_BUFFER, *m_vbo); 124 gl.bufferData(GL_ARRAY_BUFFER, object.geometry.size() * sizeof(float), &object.geometry[0], GL_STATIC_DRAW); 125 gl.bindAttribLocation(m_program.getProgram(), 0, "a_position"); 127 gl.bindVertexArray(*m_vao); 128 gl.vertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 129 gl.enableVertexAttribArray(0); 130 gl.bindVertexArray(0); 544 const glw::Functions& gl = m_renderCtx.getFunctions(); local 547 const glu::Framebuffer framebuffer (gl); 700 const glw::Functions& gl = m_renderCtx.getFunctions(); local 711 const glw::Functions& gl = m_renderCtx.getFunctions(); local 797 const glw::Functions& gl = m_renderCtx.getFunctions(); local 834 const glw::Functions& gl = m_renderCtx.getFunctions(); local 914 const glw::Functions& gl = m_renderCtx.getFunctions(); local 971 const glw::Functions& gl = m_renderCtx.getFunctions(); local 1416 const glw::Functions& gl = m_renderCtx.getFunctions(); local 1697 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fImplementationLimitTests.cpp | 49 using namespace glw; // GL types 56 T query (const glw::Functions& gl, deUint32 param); 100 GLint query<GLint> (const glw::Functions& gl, deUint32 param) 103 gl.getIntegerv(param, &val); 108 GLint64 query<GLint64> (const glw::Functions& gl, deUint32 param) 111 gl.getInteger64v(param, &val); 116 GLuint64 query<GLuint64> (const glw::Functions& gl, deUint32 param) 119 gl.getInteger64v(param, &val); 124 GLfloat query<GLfloat> (const glw::Functions& gl,deUint32 param) 127 gl.getFloatv(param, &val) 242 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 288 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 390 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
es3fShaderInvarianceTests.cpp | 209 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 232 gl.genBuffers(1, &m_arrayBuf); 233 gl.bindBuffer(GL_ARRAY_BUFFER, m_arrayBuf); 234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[0], GL_STATIC_DRAW); 235 GLU_EXPECT_NO_ERROR(gl.getError(), "buffer gen"); 258 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 264 gl.clearColor (0.0f, 0.0f, 0.0f, 1.0f); 265 gl.clear (GL_COLOR_BUFFER_BIT); 266 gl.viewport (0, 0, m_renderSize, m_renderSize); 267 gl.bindBuffer (GL_ARRAY_BUFFER, m_arrayBuf) [all...] |
es3fDefaultVertexAttributeTests.cpp | 84 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0; 101 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 106 gl.glVertexAttrib ##COMPS ##TYPECODE VALUES; \ 135 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 140 gl.glVertexAttrib ##COMPS ##TYPECODE (index, value.getPtr()); \ 169 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 174 gl.glVertexAttribI ##COMPS ##TYPECODE VALUES; \ 203 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 208 gl.glVertexAttribI ##COMPS ##TYPECODE (index, value.getPtr()); \ 342 const glw::Functions& gl = m_context.getRenderContext().getFunctions() local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextActivity.java | 19 import javax.microedition.khronos.opengles.GL; 32 public GL wrap(GL gl) { 33 return new MatrixTrackingGL(gl);
|
/device/generic/goldfish/opengl/system/GLESv1/ |
Android.mk | 9 LOCAL_SRC_FILES := gl.cpp
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
VertexArray.h | 8 // The buffer objects that are to be used by the vertex stage of the GL are collected 25 namespace gl namespace 39 void setAttributeState(unsigned int attributeIndex, gl::Buffer *boundBuffer, GLint size, GLenum type,
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
IndexDataManager.h | 20 namespace gl namespace 52 GLenum prepareIndexData(GLenum type, GLsizei count, gl::Buffer *arrayElementBuffer, const GLvoid *indices, TranslatedIndexData *translated);
|
RenderTarget.h | 39 gl::Extents getExtents() const { return gl::Extents(mWidth, mHeight, mDepth); }
|
copyimage.h | 21 sourceType::readColor(reinterpret_cast<gl::Color<colorDataType>*>(dest), reinterpret_cast<const sourceType*>(source)); 27 destType::writeColor(reinterpret_cast<destType*>(dest), reinterpret_cast<const gl::Color<colorDataType>*>(source));
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
Fence11.cpp | 43 return gl::error(GL_OUT_OF_MEMORY); 59 return gl::error(GL_OUT_OF_MEMORY, true);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/ |
Fence9.cpp | 41 return gl::error(GL_OUT_OF_MEMORY); 60 return gl::error(GL_OUT_OF_MEMORY, true);
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 394 const glw::Functions& gl = m_renderCtx.getFunctions(); local 396 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::init() begin"); 414 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::init() end"); 438 const glw::Functions& gl = m_renderCtx.getFunctions(); local 440 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::iterate() begin"); 444 gl.useProgram(programID); 469 gl.useProgram(0); 493 const glw::Functions& gl = m_renderCtx.getFunctions(); local 499 GLU_EXPECT_NO_ERROR(gl.getError(), "post uniform setup"); 536 gl.activeTexture(GL_TEXTURE0+ndx) 608 const glw::Functions& gl = m_renderCtx.getFunctions(); local 831 const glw::Functions& gl = context.getFunctions(); local [all...] |
glsTextureBufferCase.cpp | 445 const glw::Functions& gl, 458 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); 459 gl.bufferSubData(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)data.size(), &(data[0])); 460 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); 461 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to update data with glBufferSubData()"); 468 const glw::Functions& gl, 481 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); 483 deUint8* ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)size, GL_MAP_WRITE_BIT); 485 GLU_EXPECT_NO_ERROR(gl.getError(), "glMapBufferRange()"); 491 TCU_CHECK(gl.unmapBuffer(GL_TEXTURE_BUFFER)) 583 const glw::Functions& gl = renderContext.getFunctions(); local 791 const glw::Functions& gl = renderContext.getFunctions(); local 858 const glw::Functions& gl = renderContext.getFunctions(); local 1014 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
/external/skia/tools/timer/ |
Timer.cpp | 9 Timer::Timer(SkGLContextHelper* gl) 16 , fGpuTimer(gl)
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_tests_main.cc | 14 #include "ui/gl/gl_surface.h" 18 #include "ui/gl/android/gl_jni_registrar.h" 23 ui::gl::android::RegisterJni(base::android::AttachCurrentThread());
|
/external/chromium_org/third_party/angle/src/common/ |
event_tracer.h | 30 namespace gl namespace
|