Searched defs:gl (Results 176 - 200 of 354) sorted by relevance

1234567891011>>

/external/deqp/modules/gles3/functional/
H A Des3fShaderStructTests.cpp54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
1143 #define CHECK_SET_UNIFORM(NAME) GLU_EXPECT_NO_ERROR(gl.getError(), (string("Failed to set ") + NAME).c_str())
1146 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \
1148 int loc = gl.getUniformLocation(programID, name); \
1155 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE* vec, int arraySize) \
1157 int loc = gl.getUniformLocation(programID, name); \
1163 MAKE_SET_VEC_UNIFORM (Vec2, gl.uniform2fv);
1164 MAKE_SET_VEC_UNIFORM (Vec3, gl.uniform3fv);
1165 MAKE_SET_VEC_UNIFORM_PTR(Vec2, gl.uniform2fv);
1167 void setUniform (const glw::Functions& gl, deUint3 argument
1174 setUniform(const glw::Functions& gl, deUint32 programID, const char* name, int value) argument
1181 setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const float* value, int arraySize) argument
[all...]
H A Des3fTextureSizeTests.cpp119 const glw::Functions& gl = m_renderCtx.getFunctions(); local
134 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
140 gl.activeTexture(GL_TEXTURE0);
141 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture());
143 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, wrapS);
144 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrapT);
145 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, minFilter);
146 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magFilter);
147 GLU_EXPECT_NO_ERROR(gl.getError(), "Set texturing state");
262 const glw::Functions& gl local
[all...]
H A Des3fTextureSwizzleTests.cpp146 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
164 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
170 gl.activeTexture(GL_TEXTURE0);
171 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture());
174 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
175 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
176 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
177 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
180 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, m_swizzleR);
181 gl
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp224 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());
246 gl
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fBasicComputeShaderTests.cpp53 BufferMemMap (const glw::Functions& gl, deUint32 target, int offset, int size, deUint32 access) argument
54 : m_gl (gl)
58 m_ptr = gl.mapBufferRange(target, offset, size, access);
59 GLU_EXPECT_NO_ERROR(gl.getError(), "glMapBufferRange()");
100 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
106 gl.useProgram(program.getProgram());
107 gl.dispatchCompute(1, 1, 1);
108 GLU_EXPECT_NO_ERROR(gl.getError(), "glDispatchCompute()");
148 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
167 gl
268 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
387 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
502 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
596 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des31fFboTestCase.cpp330 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format) argument
335 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts);
340 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]);
343 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to query sample counts for format");
H A Des31fIntegerStateQueryTests.cpp67 static bool verifyValue (glu::CallLogWrapper& gl, glw::GLenum target, int refValue, VerifierType type) argument
74 gl.glGetBooleanv(target, &value);
76 GLU_EXPECT_NO_ERROR(gl.glGetError(), "glGetBooleanv");
80 gl.getLog() << tcu::TestLog::Message << "Get* did not return a value." << tcu::TestLog::EndMessage;
85 gl.getLog() << tcu::TestLog::Message << "Expected " << ((refValue == 0) ? (GL_FALSE) : (GL_TRUE)) << ", got " << ((value == 0) ? (GL_FALSE) : (GL_TRUE)) << tcu::TestLog::EndMessage;
95 gl.glGetIntegerv(target, &value);
97 GLU_EXPECT_NO_ERROR(gl.glGetError(), "glGetIntegerv");
101 gl.getLog() << tcu::TestLog::Message << "Get* did not return a value." << tcu::TestLog::EndMessage;
106 gl.getLog() << tcu::TestLog::Message << "Expected " << refValue << ", got " << value << tcu::TestLog::EndMessage;
116 gl
161 verifyMinValue(glu::CallLogWrapper& gl, glw::GLenum target, int minValue, VerifierType type) argument
255 verifyMaxValue(glu::CallLogWrapper& gl, glw::GLenum target, int maxValue, VerifierType type) argument
369 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des31fSSBOArrayLengthTests.cpp92 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
103 gl.genBuffers(1, &m_outputBufferID);
104 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBufferID);
105 gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2 * (int)sizeof(deUint32), &invalidValue, GL_DYNAMIC_COPY);
107 gl.genBuffers(1, &m_targetBufferID);
108 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_targetBufferID);
110 GLU_EXPECT_NO_ERROR(gl.getError(), "create buffers");
112 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBufferID);
113 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_targetBufferID);
115 GLU_EXPECT_NO_ERROR(gl
182 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des31fShaderBuiltinConstantTests.cpp47 static int getInteger (const glw::Functions& gl, deUint32 pname) argument
50 gl.getIntegerv(pname, &value);
51 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
56 static int getInteger (const glw::Functions& gl) argument
58 return getInteger(gl, Pname);
61 static int getVectorsFromComps (const glw::Functions& gl, deUint32 pname) argument
64 gl.getIntegerv(pname, &value);
65 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
71 static int getVectorsFromComps (const glw::Functions& gl) argument
73 return getVectorsFromComps(gl, Pnam
76 getIVec3(const glw::Functions& gl, deUint32 pname) argument
86 getIVec3(const glw::Functions& gl) argument
[all...]
H A Des31fShaderSharedVarTests.cpp176 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
179 const deUint32 outBlockNdx = gl.getProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, "Result");
180 const InterfaceBlockInfo outBlockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_BLOCK, outBlockNdx);
182 gl.useProgram(program);
187 const int valLoc = gl.getUniformLocation(program, "u_val[0]");
188 const int refLoc = gl.getUniformLocation(program, "u_ref[0]");
189 const int iterCountLoc = gl.getUniformLocation(program, "u_numIters");
205 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]);
206 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]);
207 else if (scalarSize == 3) gl
[all...]
H A Des31fSynchronizationTests.cpp78 static void readBuffer (const glw::Functions& gl, deUint32 target, int numElements, std::vector<deUint32>& result) argument
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) argument
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
[all...]
/external/deqp/modules/glshared/
H A DglsFragmentOpUtil.cpp148 const glw::Functions& gl = context.getFunctions(); local
159 m_positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_position");
160 m_colorLoc = gl.getAttribLocation(m_program->getProgram(), "a_color");
163 m_color1Loc = gl.getAttribLocation(m_program->getProgram(), "a_color1");
H A DglsSamplerObjectTest.cpp83 void TextureSamplerTest::setTextureState (const glw::Functions& gl, GLenum target, SamplingState state) argument
85 gl.texParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter);
86 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter)");
87 gl.texParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter);
88 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter)");
89 gl.texParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS);
90 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS)");
91 gl.texParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT);
92 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT)");
93 gl
101 setSamplerState(const glw::Functions& gl, SamplingState state, GLuint sampler) argument
295 const glw::Functions& gl = m_renderCtx.getFunctions(); local
379 createTexture2D(const glw::Functions& gl) argument
405 createTexture3D(const glw::Functions& gl) argument
431 createTextureCube(const glw::Functions& gl) argument
468 createTexture(const glw::Functions& gl, GLenum target) argument
489 const glw::Functions& gl = m_renderCtx.getFunctions(); local
512 const glw::Functions& gl = m_renderCtx.getFunctions(); local
595 setTextureState(const glw::Functions& gl, GLenum target, SamplingState state) argument
613 setSamplerState(const glw::Functions& gl, SamplingState state, GLuint sampler) argument
785 const glw::Functions& gl = m_renderCtx.getFunctions(); local
876 createTexture2D(const glw::Functions& gl, int id) argument
915 createTexture3D(const glw::Functions& gl, int id) argument
954 createTextureCube(const glw::Functions& gl, int id) argument
1011 createTexture(const glw::Functions& gl, GLenum target, int id) argument
1032 const glw::Functions& gl = m_renderCtx.getFunctions(); local
1074 const glw::Functions& gl = m_renderCtx.getFunctions(); local
[all...]
H A DglsShaderLibraryCase.cpp163 const glw::Functions& gl = renderCtx.getFunctions(); local
167 gl.getIntegerv(m_enumName, &value);
168 error = gl.getError();
224 BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType);
240 BeforeDrawValidator::BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType) argument
241 : m_gl (gl)
490 static void setUniformValue (const glw::Functions& gl, const std::vector<deUint32>& pipelinePrograms, const std::string& name, const ShaderCase::Value& val, int arrayNdx, tcu::TestLog& log)
497 const int loc = gl.getUniformLocation(pipelinePrograms[programNdx], name.c_str());
508 gl.useProgram(pipelinePrograms[programNdx]);
512 case TYPE_FLOAT: gl
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DDrawableBitmap.java67 * @param gl A pointer to the OpenGL context.
71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { argument
72 gl.glShadeModel(GL10.GL_FLAT);
73 gl.glEnable(GL10.GL_BLEND);
74 gl.glBlendFunc(GL10.GL_ONE, GL10.GL_ONE_MINUS_SRC_ALPHA);
75 gl.glColor4x(0x10000, 0x10000, 0x10000, 0x10000);
77 gl.glMatrixMode(GL10.GL_PROJECTION);
78 gl.glPushMatrix();
79 gl.glLoadIdentity();
80 gl
153 endDrawing(GL10 gl) argument
[all...]
H A DGameRenderer.java80 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
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
142 loadTextures(GL10 gl, TextureLibrary library) argument
149 flushTextures(GL10 gl, TextureLibrary library) argument
156 loadBuffers(GL10 gl, BufferLibrary library) argument
163 flushBuffers(GL10 gl, BufferLibrary library) argument
179 onDrawFrame(GL10 gl) argument
266 onSurfaceChanged(GL10 gl, int w, int h) argument
[all...]
H A DGrid.java205 public static void beginDrawing(GL10 gl, boolean useTexture) { argument
206 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
209 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
210 gl.glEnable(GL10.GL_TEXTURE_2D);
212 gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
213 gl.glDisable(GL10.GL_TEXTURE_2D);
217 public void beginDrawingStrips(GL10 gl, boolean useTexture) { argument
218 beginDrawing(gl, useTexture);
220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer);
223 gl
240 drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) argument
256 draw(GL10 gl, boolean useTexture) argument
286 endDrawing(GL10 gl) argument
309 releaseHardwareBuffers(GL10 gl) argument
335 generateHardwareBuffers(GL10 gl) argument
[all...]
/external/skia/platform_tools/android/app/src/com/skia/
H A DSkiaSampleRenderer.java29 public void onDrawFrame(GL10 gl) { argument
34 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
39 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
40 if (gl instanceof GL11) {
42 ((GL11) gl).glGetIntegerv(GL11.GL_SAMPLES, value, 0);
50 gl.glClearStencil(0);
51 gl.glClear(GL10.GL_STENCIL_BUFFER_BIT);
/external/chromium_org/gpu/command_buffer/client/
H A Dprogram_info_manager.cc26 virtual bool GetProgramiv(GLES2Implementation* gl,
31 virtual GLint GetAttribLocation(GLES2Implementation* gl,
35 virtual GLint GetUniformLocation(GLES2Implementation* gl,
39 virtual bool GetActiveAttrib(GLES2Implementation* gl,
48 virtual bool GetActiveUniform(GLES2Implementation* gl,
72 GLES2Implementation* /* gl */,
80 GLES2Implementation* gl, GLuint program, const char* name) {
81 return gl->GetAttribLocationHelper(program, name);
85 GLES2Implementation* gl, GLuint program, const char* name) {
86 return gl
79 GetAttribLocation( GLES2Implementation* gl, GLuint program, const char* name) argument
84 GetUniformLocation( GLES2Implementation* gl, GLuint program, const char* name) argument
89 GetActiveAttrib( GLES2Implementation* gl, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument
97 GetActiveUniform( GLES2Implementation* gl, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument
318 Update( GLES2Implementation* gl, GLuint program) argument
384 GetProgramInfo( GLES2Implementation* gl, GLuint program) argument
410 GetProgramiv( GLES2Implementation* gl, GLuint program, GLenum pname, GLint* params) argument
420 GetAttribLocation( GLES2Implementation* gl, GLuint program, const char* name) argument
430 GetUniformLocation( GLES2Implementation* gl, GLuint program, const char* name) argument
440 GetActiveAttrib( GLES2Implementation* gl, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument
475 GetActiveUniform( GLES2Implementation* gl, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) argument
[all...]
/external/chromium_org/third_party/angle/src/common/
H A Dmathutil.h22 namespace gl namespace
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES3.cpp21 namespace gl namespace
24 bool ValidateES3TexImageParameters(gl::Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage,
30 return gl::error(GL_INVALID_ENUM, false);
36 return gl::error(GL_INVALID_VALUE, false);
42 return gl::error(GL_INVALID_VALUE, false);
50 return gl::error(GL_INVALID_VALUE, false);
53 gl::Texture *texture = NULL;
66 return gl::error(GL_INVALID_VALUE, false);
69 gl::Texture2D *texture2d = context->getTexture2D();
91 return gl
[all...]
/external/deqp/framework/opengl/
H A DgluShaderProgram.cpp44 const glw::Functions& gl = m_renderCtx.getFunctions(); local
47 m_shader = gl.createShader(getGLShaderType(shaderType));
48 GLU_EXPECT_NO_ERROR(gl.getError(), "glCreateShader()");
54 const glw::Functions& gl = m_renderCtx.getFunctions(); local
55 gl.deleteShader(m_shader);
60 const glw::Functions& gl = m_renderCtx.getFunctions(); local
62 gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths);
63 GLU_EXPECT_NO_ERROR(gl.getError(), "glShaderSource()");
75 const glw::Functions& gl = m_renderCtx.getFunctions(); local
83 gl
114 const glw::Functions& gl = renderCtx.getFunctions(); local
124 const glw::Functions& gl = renderCtx.getFunctions(); local
145 const glw::Functions& gl = m_renderCtx.getFunctions(); local
161 const glw::Functions& gl = m_renderCtx.getFunctions(); local
167 const glw::Functions& gl = m_renderCtx.getFunctions(); local
175 const glw::Functions& gl = m_renderCtx.getFunctions(); local
183 const glw::Functions& gl = m_renderCtx.getFunctions(); local
191 const glw::Functions& gl = m_renderCtx.getFunctions(); local
199 const glw::Functions& gl = m_renderCtx.getFunctions(); local
218 const glw::Functions& gl = m_renderCtx.getFunctions(); local
229 const glw::Functions& gl = m_renderCtx.getFunctions(); local
241 const glw::Functions& gl = m_renderCtx.getFunctions(); local
249 const glw::Functions& gl = m_renderCtx.getFunctions(); local
255 const glw::Functions& gl = m_renderCtx.getFunctions(); local
263 const glw::Functions& gl = m_renderCtx.getFunctions(); local
271 const glw::Functions& gl = m_renderCtx.getFunctions(); local
[all...]
H A DgluTexture.cpp58 const glw::Functions& gl = context.getFunctions(); local
59 gl.genTextures(1, &m_glTexture);
60 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures() failed");
69 const glw::Functions& gl = context.getFunctions(); local
70 gl.genTextures(1, &m_glTexture);
71 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures() failed");
82 const glw::Functions& gl = m_context.getFunctions(); local
85 gl.bindTexture(GL_TEXTURE_1D, m_glTexture);
86 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat()));
87 GLU_EXPECT_NO_ERROR(gl
112 const glw::Functions& gl = context.getFunctions(); local
124 const glw::Functions& gl = context.getFunctions(); local
136 const glw::Functions& gl = context.getFunctions(); local
163 const glw::Functions& gl = m_context.getFunctions(); local
189 const glw::Functions& gl = m_context.getFunctions(); local
295 const glw::Functions& gl = m_context.getFunctions(); local
323 const glw::Functions& gl = m_context.getFunctions(); local
335 const glw::Functions& gl = m_context.getFunctions(); local
364 const glw::Functions& gl = m_context.getFunctions(); local
393 const glw::Functions& gl = m_context.getFunctions(); local
463 const glw::Functions& gl = m_context.getFunctions(); local
474 const glw::Functions& gl = m_context.getFunctions(); local
487 const glw::Functions& gl = m_context.getFunctions(); local
518 const glw::Functions& gl = m_context.getFunctions(); local
530 const glw::Functions& gl = m_context.getFunctions(); local
543 const glw::Functions& gl = m_context.getFunctions(); local
578 const glw::Functions& gl = m_context.getFunctions(); local
590 const glw::Functions& gl = m_context.getFunctions(); local
603 const glw::Functions& gl = m_context.getFunctions(); local
638 const glw::Functions& gl = m_context.getFunctions(); local
650 const glw::Functions& gl = m_context.getFunctions(); local
663 const glw::Functions& gl = m_context.getFunctions(); local
715 const glw::Functions& gl = m_context.getFunctions(); local
793 const glw::Functions& gl = m_context.getFunctions(); local
803 const glw::Functions& gl = m_context.getFunctions(); local
[all...]
/external/deqp/modules/egl/
H A DteglNativeColorMappingTests.cpp83 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log) argument
112 program = gl.createProgram();
113 vertexShader = gl.createShader(GL_VERTEX_SHADER);
114 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER);
116 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
118 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL);
119 gl.compileShader(vertexShader);
120 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader");
122 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL);
123 gl
207 clear(const glw::Functions& gl, const tcu::Vec4& color) argument
214 render(const glw::Functions& gl, deUint32 program, const tcu::Vec4& color) argument
318 testNativeWindow(TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) argument
360 testNativePixmap(TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument
400 testNativePixmapCopy(TestLog& log, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument
501 glw::Functions gl; local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fColorClearTest.cpp103 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
119 gl.enable(GL_SCISSOR_TEST);
142 gl.scissor(clearX, clearY, clearWidth, clearHeight);
150 gl.clearColor(r/255.0f, g/255.0f, b/255.0f, a/255.0f);
158 gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != 0);
161 gl.clear(GL_COLOR_BUFFER_BIT);
233 GLU_EXPECT_NO_ERROR(gl.getError(), "glReadPixels");
242 if (gl.isEnabled(GL_DITHER))

Completed in 646 milliseconds

1234567891011>>