Searched defs:gl (Results 151 - 175 of 370) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/apps/js/bindings/gl/
H A Dcontext.cc5 #include "mojo/apps/js/bindings/gl/context.h"
32 namespace gl { namespace in namespace:mojo::js
185 } // namespace gl
/external/chromium_org/ppapi/proxy/
H A Dcompositor_layer_resource.cc58 GLES2Implementation* gl = graphics->gles2_impl(); local
59 gl->WaitSyncPointCHROMIUM(sync_point);
160 GLES2Implementation* gl = graphics->gles2_impl(); local
163 gl->GenMailboxCHROMIUM(
165 gl->ProduceTextureDirectCHROMIUM(
176 data_.texture->sync_point = gl->InsertSyncPointCHROMIUM();
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DCaps.cpp16 namespace gl namespace
H A DContext.h7 // Context.h: Defines the gl::Context class, managing all GL state and performing
41 namespace gl namespace
71 Context(int clientVersion, const gl::Context *shareContext, rx::Renderer *renderer, bool notifyResets, bool robustAccess);
H A DProgramBinary.h7 // Program.h: Defines the gl::Program class. Implements GL program objects
53 namespace gl namespace
H A DRenderbuffer.cpp7 // Renderbuffer.cpp: the gl::Renderbuffer class and its derived classes
20 namespace gl namespace
H A DResourceManager.cpp7 // ResourceManager.cpp: Implements the gl::ResourceManager class, which tracks and
21 namespace gl namespace
H A DState.h22 namespace gl namespace
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DTextureStorage11.h18 namespace gl namespace
44 virtual ID3D11ShaderResourceView *getSRV(const gl::SamplerState &samplerState);
45 virtual RenderTarget *getRenderTarget(const gl::ImageIndex &index) = 0;
115 SwizzleCacheValue mSwizzleCache[gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS];
150 ID3D11ShaderResourceView *mLevelSRVs[gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS];
163 virtual RenderTarget *getRenderTarget(const gl::ImageIndex &index);
182 RenderTarget11 *mRenderTarget[gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS];
185 ID3D11RenderTargetView *mSwizzleRenderTargets[gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS];
187 Image11 *mAssociatedImages[gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS];
199 virtual RenderTarget *getRenderTarget(const gl
[all...]
H A Drenderer11_utils.h18 namespace gl namespace
51 void GenerateCaps(ID3D11Device *device, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions);
89 const gl::Color<T> &color)
179 RenderTarget11 *GetAttachmentRenderTarget(gl::FramebufferAttachment *attachment);
/external/chromium_org/third_party/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/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
H A DViEAndroidGLES20.java311 public void onDrawFrame(GL10 gl) { argument
328 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
341 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/external/chromium_org/ui/aura/bench/
H A Dbench_main.cc37 #include "ui/gl/gl_surface.h"
145 gpu::gles2::GLES2Interface* gl = context_provider->ContextGL(); local
146 gl->WaitSyncPointCHROMIUM(sync_point);
147 gl->DeleteTextures(1, &texture);
148 gl->ShallowFlushCHROMIUM();
187 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
189 gl->GenTextures(1, &texture);
190 gl->BindTexture(GL_TEXTURE_2D, texture);
191 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
192 gl
227 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
234 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); variable
[all...]
/external/clang/utils/VtableTest/
H A Dgen.cc16 void gl(const char *c) { function
135 gl(" {");
144 g(" "); g(simple_types[t]); g(" field"); g(i); gl(";");
178 gl("); return 0; }");
180 gl("); }");
250 gl("); return 0; }");
252 gl("); }");
257 gl("public:");
258 gl(" void calc(char *t) {");
261 g(" mix(\"type num\", "); g(s); gl(");");
[all...]
/external/deqp/framework/opengl/
H A DgluContextInfo.cpp166 const glw::Functions& gl = context.getFunctions(); local
170 const char* result = (const char*)gl.getString(GL_EXTENSIONS);
171 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetString(GL_EXTENSIONS) failed");
183 gl.getIntegerv(GL_NUM_EXTENSIONS, &numExtensions);
184 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv(GL_NUM_EXTENSIONS) failed");
188 extensions[ndx] = (const char*)gl.getStringi(GL_EXTENSIONS, ndx);
189 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetStringi(GL_EXTENSIONS, ndx) failed");
197 const glw::Functions& gl = context.getFunctions(); local
200 gl.getIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats);
204 gl
[all...]
H A DgluObjectWrapper.hpp66 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits);
89 explicit TypedObjectWrapper (const glw::Functions& gl) : ObjectWrapper(gl, objectTraits(Type)) {} argument
98 ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects = 0);
124 explicit TypedObjectVector (const glw::Functions& gl, size_t numObjects = 0) : ObjectVector(gl, objectTraits(Type), numObjects) {} argument
/external/deqp/modules/egl/
H A DteglSwapBuffersTests.cpp119 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log) argument
147 program = gl.createProgram();
148 vertexShader = gl.createShader(GL_VERTEX_SHADER);
149 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER);
151 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
153 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL);
154 gl.compileShader(vertexShader);
155 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader");
157 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL);
158 gl
292 glw::Functions gl; local
[all...]
H A DteglTestCase.cpp262 void EglTestContext::getGLFunctions (glw::Functions& gl, glu::ApiType apiType) const argument
268 glu::initCoreFunctions(&gl, &loader, apiType);
/external/deqp/modules/gles2/functional/
H A Des2fBooleanStateQueryTests.cpp48 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
60 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
61 : glu::CallLogWrapper (gl, log)
81 IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log);
87 IsEnabledVerifier::IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
88 : StateVerifier(gl, log, "_isenabled")
129 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log);
135 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
136 : StateVerifier(gl, log, "_getboolean")
209 GetIntegerVerifier (const glw::Functions& gl, tc
216 GetIntegerVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
296 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
[all...]
H A Des2fBufferObjectQueryTests.cpp75 BufferParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
85 BufferParamVerifier::BufferParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
86 : glu::CallLogWrapper (gl, log)
104 GetBufferParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log);
109 GetBufferParameterIVerifier::GetBufferParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
110 : BufferParamVerifier(gl, log, "_getbufferparameteri")
H A Des2fRasterizationTests.cpp191 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
192 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position");
193 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color");
194 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize");
196 gl.clearColor (0, 0, 0, 1);
197 gl.clear (GL_COLOR_BUFFER_BIT);
198 gl.viewport (0, 0, m_renderSize, m_renderSize);
199 gl.useProgram (m_shader->getProgram());
200 gl.enableVertexAttribArray (positionLoc);
201 gl
[all...]
H A Des2fRboStateQueryTests.cpp46 void checkRenderbufferComponentSize (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, int r, int g, int b, int a, int d, int s) argument
69 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramNames[ndx], &state);
95 void checkRenderbufferParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum pname, GLenum reference) argument
98 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, pname, &state);
H A Des2fShaderDiscardTests.cpp133 const glw::Functions& gl = m_renderCtx.getFunctions(); local
134 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0);
H A Des2fShaderFragDataTests.cpp149 const glw::Functions& gl = renderCtx.getFunctions(); local
188 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f);
189 gl.clear (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
191 gl.viewport (0, 0, viewportW, viewportH);
192 gl.useProgram (program.getProgram());
193 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0);
197 GLU_EXPECT_NO_ERROR(gl.getError(), "Rendering failed");
205 GLU_EXPECT_NO_ERROR(gl.getError(), "Reading pixels failed");
H A Des2fShaderStructTests.cpp61 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
1169 #define CHECK_SET_UNIFORM(NAME) GLU_EXPECT_NO_ERROR(gl.getError(), (string("Failed to set ") + NAME).c_str())
1172 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \
1174 int loc = gl.getUniformLocation(programID, name); \
1181 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE* vec, int arraySize) \
1183 int loc = gl.getUniformLocation(programID, name); \
1189 MAKE_SET_VEC_UNIFORM (Vec2, gl.uniform2fv);
1190 MAKE_SET_VEC_UNIFORM (Vec3, gl.uniform3fv);
1191 MAKE_SET_VEC_UNIFORM_PTR(Vec2, gl.uniform2fv);
1193 void setUniform (const glw::Functions& gl, deUint3 argument
1200 setUniform(const glw::Functions& gl, deUint32 programID, const char* name, int value) argument
1207 setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const float* value, int arraySize) argument
[all...]

Completed in 3452 milliseconds

1234567891011>>