/external/deqp/modules/egl/ |
teglNativeCoordMappingTests.cpp | 89 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log) 117 program = gl.createProgram(); 118 vertexShader = gl.createShader(GL_VERTEX_SHADER); 119 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); 121 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program"); 123 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); 124 gl.compileShader(vertexShader); 125 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader"); 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 128 gl.compileShader(fragmentShader) 559 glw::Functions gl; local [all...] |
teglNativeColorMappingTests.cpp | 88 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log) 117 program = gl.createProgram(); 118 vertexShader = gl.createShader(GL_VERTEX_SHADER); 119 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER); 121 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program"); 123 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); 124 gl.compileShader(vertexShader); 125 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader"); 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 128 gl.compileShader(fragmentShader) 526 glw::Functions gl; local [all...] |
/external/deqp/framework/opengl/ |
gluDrawUtil.cpp | 220 static OutputIter namedBindingsToProgramLocations (const glw::Functions& gl, deUint32 program, InputIter first, InputIter end, OutputIter out) 228 int location = gl.getAttribLocation(program, binding.name.c_str()); 323 void uploadBufferData (const glw::Functions& gl, deUint32 buffer, deUint32 usage, const VertexBufferLayout& layout, const VertexArrayPointer* srcArrays) 331 gl.bindBuffer(GL_ARRAY_BUFFER, buffer); 332 gl.bufferData(GL_ARRAY_BUFFER, (int)localBuf.size(), &localBuf[0], usage); 333 gl.bindBuffer(GL_ARRAY_BUFFER, 0); 334 GLU_EXPECT_NO_ERROR(gl.getError(), "Uploading buffer data failed"); 342 const glw::Functions& gl = context.getFunctions(); local 360 uploadBufferData(gl, m_object, usage, layout, &srcPtrs[0]); 376 const glw::Functions& gl = context.getFunctions() local 497 const glw::Functions& gl = context.getFunctions(); local 529 const glw::Functions& gl = context.getFunctions(); local 582 const glw::Functions& gl = context.getFunctions(); local [all...] |
gluContextInfo.cpp | 166 const glw::Functions& gl = context.getFunctions(); local 169 gl.getIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); 173 gl.getIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, &formats[0]); 175 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS) failed"); 188 const glw::Functions& gl = context.getFunctions(); local 192 const char* result = (const char*)gl.getString(GL_EXTENSIONS); 193 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetString(GL_EXTENSIONS) failed"); 201 gl.getIntegerv(GL_NUM_EXTENSIONS, &numExtensions); 202 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv(GL_NUM_EXTENSIONS) failed"); 206 m_extensions[ndx] = (const char*)gl.getStringi(GL_EXTENSIONS, ndx) [all...] |
gluCallLogWrapper.hpp | 23 * \brief GL call wrapper for logging. 41 CallLogWrapper (const glw::Functions& gl, tcu::TestLog& log); 44 // GL API is exposed as member functions
|
/external/deqp/modules/gles31/functional/ |
es31fDebugTests.cpp | 662 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 666 gl.enable(GL_DEBUG_OUTPUT); 667 gl.enable(GL_DEBUG_OUTPUT_SYNCHRONOUS); 668 gl.debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, false); // disable all 669 gl.debugMessageControl(GL_DEBUG_SOURCE_API, GL_DEBUG_TYPE_ERROR, GL_DONT_CARE, 0, DE_NULL, true); // enable API errors 670 gl.debugMessageControl(GL_DEBUG_SOURCE_APPLICATION, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, true); // enable application messages 671 gl.debugMessageControl(GL_DEBUG_SOURCE_THIRD_PARTY, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, true); // enable third party messages 672 gl.debugMessageCallback(callbackHandle, this); 676 gl.debugMessageCallback(DE_NULL, DE_NULL); 677 gl.disable(GL_DEBUG_OUTPUT) 731 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 754 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
es31fShaderSharedVarTests.cpp | 177 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 180 const deUint32 outBlockNdx = gl.getProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, "Result"); 181 const InterfaceBlockInfo outBlockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_BLOCK, outBlockNdx); 183 gl.useProgram(program); 188 const int valLoc = gl.getUniformLocation(program, "u_val[0]"); 189 const int refLoc = gl.getUniformLocation(program, "u_ref[0]"); 190 const int iterCountLoc = gl.getUniformLocation(program, "u_numIters"); 206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); 207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); 208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]) [all...] |
es31fInfoLogQueryShared.hpp | 39 glu::CallLogWrapper& gl,
|
/external/skia/bench/ |
GLVertexAttributesBench.cpp | 16 #include "gl/GrGLContext.h" 17 #include "gl/GrGLInterface.h" 18 #include "gl/GrGLUtil.h" 23 * This is a native GL benchmark for determining the cost of uploading vertex attributes 156 const GrGLInterface* gl = ctx->interface(); local 157 fTexture = SetupFramebuffer(gl, kScreenWidth, kScreenHeight); 198 GR_GL_CALL(gl, GenBuffers(1, &fVBO)); 202 GR_GL_CALL(gl, ClearColor(0.03f, 0.03f, 0.03f, 1.0f)); 203 GR_GL_CALL(gl, Clear(GR_GL_COLOR_BUFFER_BIT)); 206 GR_GL_CALL(gl, UseProgram(fProgram)) 210 const GrGLInterface* gl = ctx->interface(); local [all...] |
/external/deqp/modules/glshared/ |
glsStateQueryUtil.cpp | 43 static bool checkError (tcu::ResultCollector& result, glu::CallLogWrapper& gl, const char* msg) 45 const glw::GLenum errorCode = gl.glGetError(); 271 void queryState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, QueriedState& state) 277 const glw::GLboolean value = gl.glIsEnabled(target); 279 if (!checkError(result, gl, "glIsEnabled")) 292 gl.glGetBooleanv(target, &value); 294 if (!checkError(result, gl, "glGetBooleanv")) 309 gl.glGetIntegerv(target, &value); 311 if (!checkError(result, gl, "glGetIntegerv")) 324 gl.glGetInteger64v(target, &value) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 278 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 279 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color"); 280 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position"); 284 gl.clearDepthf (1.0f); 285 gl.clearStencil (0); 286 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f); 287 gl.clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); 289 GLU_EXPECT_NO_ERROR(gl.getError(), "Before clears"); 295 gl.enable(GL_SCISSOR_TEST); 296 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDepthStencilClearTests.cpp | 281 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 282 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color"); 283 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position"); 287 gl.clearDepthf (1.0f); 288 gl.clearStencil (0); 289 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f); 290 gl.clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); 292 GLU_EXPECT_NO_ERROR(gl.getError(), "Before clears"); 298 gl.enable(GL_SCISSOR_TEST); 299 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()) [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererBase.java | 48 public void onSurfaceChanged(GL10 gl, int width, int height) { 61 public void onDrawFrame(GL10 gl) { 66 doOnDrawFrame(gl); 71 public void doOnDrawFrame(GL10 gl) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Projector.java | 59 * @param gl 61 public void getCurrentProjection(GL10 gl) { 62 mGrabber.getCurrentProjection(gl); 69 * @param gl 71 public void getCurrentModelView(GL10 gl) { 72 mGrabber.getCurrentModelView(gl);
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
EGLImage.h | 21 #include <GLES/gl.h>
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_ext_extensionsstring.c | 33 #include <GL/gl.h> 34 #include <GL/wglext.h>
|
stw_ext_swapinterval.c | 33 #include <GL/gl.h> 34 #include <GL/wglext.h>
|
/external/replicaisland/src/com/replica/replicaisland/ |
BufferLibrary.java | 44 public void generateHardwareBuffers(GL10 gl) { 49 grid.generateHardwareBuffers(gl); 54 public void releaseHardwareBuffers(GL10 gl) { 59 grid.releaseHardwareBuffers(gl);
|
/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
|
/external/swiftshader/src/OpenGL/libEGL/ |
Texture.hpp | 27 class Texture : public gl::NamedObject
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Framebuffer.h | 15 // Framebuffer.h: Defines the Framebuffer class. Implements GL framebuffer 24 #include <GLES/gl.h> 74 gl::BindingPointer<Renderbuffer> mColorbufferPointer; 77 gl::BindingPointer<Renderbuffer> mDepthbufferPointer; 80 gl::BindingPointer<Renderbuffer> mStencilbufferPointer;
|
main.h | 26 #include <GLES/gl.h>
|
/external/webrtc/webrtc/modules/video_render/mac/ |
cocoa_render_view.h | 19 #import <OpenGL/gl.h>
|
/frameworks/native/opengl/libagl/ |
dxt.h | 23 #include <GLES/gl.h>
|
light.h | 34 namespace gl { namespace in namespace:android
|