Searched defs:gl (Results 1 - 25 of 370) sorted by path

1234567891011>>

/external/chromium_org/cc/output/
H A Dgeometry_binding.cc13 GeometryBinding::GeometryBinding(gpu::gles2::GLES2Interface* gl, argument
15 : gl_(gl), quad_vertices_vbo_(0), quad_elements_vbo_(0) {
H A Dgl_renderer.cc44 #include "third_party/skia/include/gpu/gl/GrGLInterface.h"
55 explicit FallbackFence(gpu::gles2::GLES2Interface* gl) argument
56 : gl_(gl), has_passed_(true) {}
137 static GLint GetActiveTextureUnit(GLES2Interface* gl) { argument
139 gl->GetIntegerv(GL_ACTIVE_TEXTURE, &active_unit);
190 explicit SyncQuery(gpu::gles2::GLES2Interface* gl) argument
191 : gl_(gl), query_id_(0u), is_pending_(false), weak_ptr_factory_(this) {
361 void GLRenderer::DebugGLCall(GLES2Interface* gl, argument
365 GLuint error = gl->GetError();
H A Dgl_renderer_unittest.cc1787 gpu::gles2::GLES2Interface* gl = local
1792 uint32 sync_point = gl->InsertSyncPointCHROMIUM();
1794 gl->LoseContextCHROMIUM(GL_GUILTY_CONTEXT_RESET_ARB,
1803 gl->Finish();
1819 gpu::gles2::GLES2Interface* gl = local
1824 uint32 sync_point = gl->InsertSyncPointCHROMIUM();
1832 gl->Finish();
H A Drenderer_pixeltest.cc810 // This test has alpha=254 for the software renderer vs. alpha=255 for the gl
1044 // This test has alpha=254 for the software renderer vs. alpha=255 for the gl
1403 GLES2Interface* gl = output_surface_->context_provider()->ContextGL(); local
1406 gl->ClearColor(0.f, 1.f, 0.f, 1.f);
1407 gl->Clear(GL_COLOR_BUFFER_BIT);
1412 GLES2Interface* gl = output_surface_->context_provider()->ContextGL(); local
1415 gl->ClearStencil(0);
1416 gl->Clear(GL_STENCIL_BUFFER_BIT);
1417 gl->Enable(GL_SCISSOR_TEST);
1418 gl
[all...]
/external/chromium_org/cc/resources/
H A Dresource_provider.cc43 IdAllocator(GLES2Interface* gl, size_t id_allocation_chunk_size) argument
44 : gl_(gl),
116 ScopedSetActiveTexture(GLES2Interface* gl, GLenum unit) argument
117 : gl_(gl), unit_(unit) {
137 TextureIdAllocator(GLES2Interface* gl, argument
139 : IdAllocator(gl, texture_id_allocation_chunk_size) {}
161 BufferIdAllocator(GLES2Interface* gl, size_t buffer_id_allocation_chunk_size) argument
162 : IdAllocator(gl, buffer_id_allocation_chunk_size) {}
186 QueryFence(gpu::gles2::GLES2Interface* gl, unsigned query_id) argument
187 : gl_(gl), query_id
553 GLES2Interface* gl = ContextGL(); local
637 GLES2Interface* gl = ContextGL(); local
643 GLES2Interface* gl = ContextGL(); local
649 GLES2Interface* gl = ContextGL(); local
655 GLES2Interface* gl = ContextGL(); local
665 GLES2Interface* gl = ContextGL(); local
687 GLES2Interface* gl = ContextGL(); local
727 GLES2Interface* gl = ContextGL(); local
844 GLES2Interface* gl = ContextGL(); local
1072 GLES2Interface* gl = ContextGL(); local
1087 GLES2Interface* gl = ContextGL(); local
1163 GLES2Interface* gl = ContextGL(); local
1189 GLES2Interface* gl = ContextGL(); local
1293 GLES2Interface* gl = ContextGL(); local
1387 TransferResource(GLES2Interface* gl, ResourceId id, TransferableResource* resource) argument
1456 GLES2Interface* gl = ContextGL(); local
1546 GLES2Interface* gl = ContextGL(); local
1605 GLES2Interface* gl = ContextGL(); local
1628 GLES2Interface* gl = ContextGL(); local
1641 GLES2Interface* gl = ContextGL(); local
1682 GLES2Interface* gl = ContextGL(); local
1732 GLES2Interface* gl = ContextGL(); local
1751 GLES2Interface* gl = ContextGL(); local
1788 GLES2Interface* gl = ContextGL(); local
1828 GLES2Interface* gl = ContextGL(); local
1858 GLES2Interface* gl = ContextGL(); local
1885 GLES2Interface* gl = ContextGL(); local
1922 GLES2Interface* gl = ContextGL(); local
1939 GLES2Interface* gl = ContextGL(); local
2027 GLES2Interface* gl = ContextGL(); local
2062 GLES2Interface* gl = ContextGL(); local
2068 GetActiveTextureUnit(GLES2Interface* gl) argument
[all...]
H A Dscoped_gpu_raster.cc25 GLES2Interface* gl = context_provider_->ContextGL(); local
30 gl->PushGroupMarkerEXT(0, "GpuRasterization");
39 GLES2Interface* gl = context_provider_->ContextGL(); local
49 gl->PopGroupMarkerEXT();
H A Dtexture_uploader.cc43 TextureUploader::Query::Query(GLES2Interface* gl) argument
44 : gl_(gl),
79 TextureUploader::TextureUploader(GLES2Interface* gl) argument
80 : gl_(gl),
H A Dtexture_uploader.h32 static scoped_ptr<TextureUploader> Create(gpu::gles2::GLES2Interface* gl) { argument
33 return make_scoped_ptr(new TextureUploader(gl));
58 static scoped_ptr<Query> Create(gpu::gles2::GLES2Interface* gl) { argument
59 return make_scoped_ptr(new Query(gl));
73 explicit Query(gpu::gles2::GLES2Interface* gl);
84 explicit TextureUploader(gpu::gles2::GLES2Interface* gl);
H A Dvideo_resource_updater.cc28 explicit SyncPointClientImpl(gpu::gles2::GLES2Interface* gl) : gl_(gl) {} argument
207 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
209 GLC(gl, gl->GenMailboxCHROMIUM(mailbox.name));
212 GLC(gl,
213 gl->ProduceTextureDirectCHROMIUM(
/external/chromium_org/cc/test/
H A Dlayer_tree_pixel_test.cc235 GLES2Interface* gl = context->GetImplementation(); local
238 gl->WaitSyncPointCHROMIUM(texture_mailbox.sync_point());
241 gl->GenTextures(1, &texture_id);
242 gl->BindTexture(GL_TEXTURE_2D, texture_id);
243 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
244 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
245 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
246 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
247 gl->ConsumeTextureCHROMIUM(texture_mailbox.target(), texture_mailbox.name());
248 gl
297 GLES2Interface* gl = context->GetImplementation(); local
313 GLES2Interface* gl = context->GetImplementation(); local
[all...]
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_context.cc860 gpu::gles2::GLES2Interface* gl = variable
898 gl->GenMailboxCHROMIUM(mailbox.name);
899 GLuint sync_point = gl->InsertSyncPointCHROMIUM();
H A Dlayer_tree_host_unittest_copyrequest.cc799 gpu::gles2::GLES2Interface* gl = external_context_provider_->ContextGL(); variable
801 gl->GenMailboxCHROMIUM(mailbox.name);
802 sync_point_ = gl->InsertSyncPointCHROMIUM();
/external/chromium_org/content/browser/compositor/
H A Dbuffer_queue.cc28 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
30 gl->DeleteFramebuffers(1, &fbo_);
34 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
35 gl->GenFramebuffers(1, &fbo_);
40 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
41 gl->BindFramebuffer(GL_FRAMEBUFFER, fbo_);
45 gl->FramebufferTexture2D(GL_FRAMEBUFFER,
103 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
104 gl->BindFramebuffer(GL_FRAMEBUFFER, fbo_);
105 gl
131 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
150 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
[all...]
H A Dimage_transport_factory_browsertest.cc56 gpu::gles2::GLES2Interface* gl = local
58 gl->LoseContextCHROMIUM(GL_GUILTY_CONTEXT_RESET_ARB,
63 gl->Flush();
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper.cc36 explicit ScopedFlush(gpu::gles2::GLES2Interface* gl) : gl_(gl) {} argument
50 TextureFrameBufferPair(GLES2Interface* gl, gfx::Size size) argument
51 : texture_(gl), framebuffer_(gl), size_(size) {
52 content::ScopedTextureBinder<GL_TEXTURE_2D> texture_binder(gl, texture_);
53 gl->TexImage2D(GL_TEXTURE_2D,
63 gl, framebuffer_);
64 gl->FramebufferTexture2D(
85 ScalerHolder(GLES2Interface* gl, conten argument
115 CopyTextureToImpl(GLES2Interface* gl, gpu::ContextSupport* context_support, GLHelper* helper) argument
761 GLHelper(GLES2Interface* gl, gpu::ContextSupport* context_support) argument
1026 ReadbackYUVImpl( GLES2Interface* gl, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, ReadbackSwizzle swizzle) argument
1153 ReadbackYUV_MRT( GLES2Interface* gl, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, ReadbackSwizzle swizzle) argument
[all...]
H A Dgl_helper.h42 ScopedGLuint(gpu::gles2::GLES2Interface* gl, argument
45 : gl_(gl), id_(0u), delete_func_(delete_func) {
69 explicit ScopedBuffer(gpu::gles2::GLES2Interface* gl) argument
70 : ScopedGLuint(gl,
77 explicit ScopedFramebuffer(gpu::gles2::GLES2Interface* gl) argument
78 : ScopedGLuint(gl,
85 explicit ScopedTexture(gpu::gles2::GLES2Interface* gl) argument
86 : ScopedGLuint(gl,
96 ScopedBinder(gpu::gles2::GLES2Interface* gl, GLuint id, BindFunc bind_func) argument
97 : gl_(gl), bind_func
113 ScopedBufferBinder(gpu::gles2::GLES2Interface* gl, GLuint id) argument
120 ScopedFramebufferBinder(gpu::gles2::GLES2Interface* gl, GLuint id) argument
129 ScopedTextureBinder(gpu::gles2::GLES2Interface* gl, GLuint id) argument
[all...]
H A Dgl_helper_readback_support.cc12 GLHelperReadbackSupport::GLHelperReadbackSupport(gpu::gles2::GLES2Interface* gl) argument
13 : gl_(gl) {
H A Dgl_helper_scaling.cc27 GLHelperScaling::GLHelperScaling(GLES2Interface* gl, GLHelper* helper) argument
28 : gl_(gl), helper_(helper), vertex_attributes_buffer_(gl_) {
40 ShaderProgram(GLES2Interface* gl, GLHelper* helper) argument
41 : gl_(gl),
106 // |gl| and |copy_impl| are expected to live longer than this object.
116 ScalerImpl(GLES2Interface* gl, argument
121 : gl_(gl),
125 dst_framebuffer_(gl),
H A Dwebgraphicscontext3d_command_buffer_impl.cc290 gpu::gles2::GLES2Interface* gl = GetGLInterface(); local
291 if (gl) {
297 gl->Flush();
/external/chromium_org/content/renderer/gpu/
H A Dmailbox_output_surface.cc60 GLES2Interface* gl = context_provider_->ContextGL(); local
69 gl->WaitSyncPointCHROMIUM(current_backing_.sync_point);
74 gl->DeleteTextures(1, &texture.texture_id);
79 gl->GenTextures(1, &current_backing_.texture_id);
81 gl->BindTexture(GL_TEXTURE_2D, current_backing_.texture_id);
82 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
83 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
84 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
85 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
86 gl
104 GLES2Interface* gl = context_provider_->ContextGL(); local
138 GLES2Interface* gl = context_provider_->ContextGL(); local
[all...]
/external/chromium_org/content/renderer/media/android/
H A Dstream_texture_factory_impl.cc148 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
149 gl->GenTextures(1, texture_id);
151 stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
153 gl->GenMailboxCHROMIUM(texture_mailbox->name);
154 gl->ProduceTextureDirectCHROMIUM(
H A Dstream_texture_factory_synchronous_impl.cc20 #include "ui/gl/android/surface_texture.h"
201 GLES2Interface* gl = context_provider_->ContextGL(); local
202 gl->GenTextures(1, texture_id);
203 stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
205 gl->GenMailboxCHROMIUM(texture_mailbox->name);
206 gl->ProduceTextureDirectCHROMIUM(
H A Dwebmediaplayer_android.cc82 GLES2Interface* gl = factories->ContextGL(); local
83 gl->WaitSyncPointCHROMIUM(release_sync_point);
84 gl->DeleteTextures(1, &texture_id);
197 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local
198 gl->DeleteTextures(1, &texture_id_);
1161 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local
1163 gl->GenTextures(1, &remote_playback_texture_id);
1165 gl->BindTexture(texture_target, remote_playback_texture_id);
1166 gl->TexParameteri(texture_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
1167 gl
1220 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local
1281 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_trace_implementation.cc11 GLES2TraceImplementation::GLES2TraceImplementation(GLES2Interface* gl) argument
12 : gl_(gl) {
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...]

Completed in 8367 milliseconds

1234567891011>>