Home
last modified time | relevance | path

Searched refs:gles2 (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/external/chromium_org/gpu/command_buffer/client/
Dgles2_cmd_helper_autogen.h15 gles2::cmds::ActiveTexture* c = GetCmdSpace<gles2::cmds::ActiveTexture>(); in ActiveTexture()
22 gles2::cmds::AttachShader* c = GetCmdSpace<gles2::cmds::AttachShader>(); in AttachShader()
31 gles2::cmds::BindAttribLocationBucket* c = in BindAttribLocationBucket()
32 GetCmdSpace<gles2::cmds::BindAttribLocationBucket>(); in BindAttribLocationBucket()
39 gles2::cmds::BindBuffer* c = GetCmdSpace<gles2::cmds::BindBuffer>(); in BindBuffer()
46 gles2::cmds::BindFramebuffer* c = GetCmdSpace<gles2::cmds::BindFramebuffer>(); in BindFramebuffer()
53 gles2::cmds::BindRenderbuffer* c = in BindRenderbuffer()
54 GetCmdSpace<gles2::cmds::BindRenderbuffer>(); in BindRenderbuffer()
61 gles2::cmds::BindTexture* c = GetCmdSpace<gles2::cmds::BindTexture>(); in BindTexture()
68 gles2::cmds::BlendColor* c = GetCmdSpace<gles2::cmds::BlendColor>(); in BlendColor()
[all …]
Dgles2_c_lib_autogen.h16 gles2::GetGLContext()->ActiveTexture(texture); in GLES2ActiveTexture()
19 gles2::GetGLContext()->AttachShader(program, shader); in GLES2AttachShader()
22 gles2::GetGLContext()->BindAttribLocation(program, index, name); in GLES2BindAttribLocation()
25 gles2::GetGLContext()->BindBuffer(target, buffer); in GLES2BindBuffer()
28 gles2::GetGLContext()->BindFramebuffer(target, framebuffer); in GLES2BindFramebuffer()
31 gles2::GetGLContext()->BindRenderbuffer(target, renderbuffer); in GLES2BindRenderbuffer()
34 gles2::GetGLContext()->BindTexture(target, texture); in GLES2BindTexture()
40 gles2::GetGLContext()->BlendColor(red, green, blue, alpha); in GLES2BlendColor()
43 gles2::GetGLContext()->BlendEquation(mode); in GLES2BlendEquation()
46 gles2::GetGLContext()->BlendEquationSeparate(modeRGB, modeAlpha); in GLES2BlendEquationSeparate()
[all …]
Dgl_in_process_context.cc60 const gpu::gles2::ContextCreationAttribHelper& attribs,
66 virtual gles2::GLES2Implementation* GetImplementation() OVERRIDE;
79 scoped_ptr<gles2::GLES2CmdHelper> gles2_helper_;
81 scoped_ptr<gles2::GLES2Implementation> gles2_implementation_;
109 gles2::GLES2Implementation* GLInProcessContextImpl::GetImplementation() { in GetImplementation()
136 const gles2::ContextCreationAttribHelper& attribs, in Initialize()
150 scoped_refptr<gles2::ShareGroup> share_group; in Initialize()
190 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get())); in Initialize()
206 new gles2::GLES2Implementation(gles2_helper_.get(), in Initialize()
260 mapped_memory_reclaim_limit(gles2::GLES2Implementation::kNoLimit) { in GLInProcessContextSharedMemoryLimits()
[all …]
Dgles2_lib.h13 namespace gles2 {
19 gles2::GLES2FunctionPointer func;
29 GLES2_C_LIB_EXPORT gpu::gles2::GLES2Interface* GetGLContext();
32 GLES2_C_LIB_EXPORT void SetGLContext(gpu::gles2::GLES2Interface* impl);
Dgles2_cmd_helper.h13 namespace gles2 {
32 gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate::ComputeSize(); in CreateAndConsumeTextureCHROMIUMImmediate()
33 gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate* c = in CreateAndConsumeTextureCHROMIUMImmediate()
35 gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate>(size); in CreateAndConsumeTextureCHROMIUMImmediate()
Dgles2_lib.cc9 namespace gles2 { namespace
31 gpu::gles2::GLES2Interface* GetGLContext() { in GetGLContext()
32 return static_cast<gpu::gles2::GLES2Interface*>( in GetGLContext()
36 void SetGLContext(gpu::gles2::GLES2Interface* context) { in SetGLContext()
/external/deqp/modules/gles2/
DCMakeLists.txt34 deqp-gles2-accuracy
35 deqp-gles2-functional
36 deqp-gles2-performance
37 deqp-gles2-stress
43 add_deqp_module(deqp-gles2 "${DEQP_GLES2_SRCS}" "${DEQP_GLES2_LIBS}" tes2TestPackageEntry.cpp)
46 add_data_dir(deqp-gles2 ../../data/gles2/data gles2/data)
47 add_data_dir(deqp-gles2 ../../data/gles2/shaders gles2/shaders)
/external/chromium_org/gpu/command_buffer/service/
Dasync_pixel_transfer_manager.h21 struct hash<gpu::gles2::TextureRef*> {
22 size_t operator()(gpu::gles2::TextureRef* ptr) const {
55 : public gles2::TextureManager::DestructionObserver {
61 void Initialize(gles2::TextureManager* texture_manager);
85 gles2::TextureRef* ref,
89 gles2::TextureRef* ref);
91 void ClearPixelTransferDelegateForTest(gles2::TextureRef* ref);
93 bool AsyncTransferIsInProgress(gles2::TextureRef* ref);
96 virtual void OnTextureManagerDestroying(gles2::TextureManager* manager)
98 virtual void OnTextureRefDestroying(gles2::TextureRef* texture) OVERRIDE;
[all …]
Dgles2_cmd_decoder_autogen.h17 const gles2::cmds::ActiveTexture& c = in HandleActiveTexture()
18 *static_cast<const gles2::cmds::ActiveTexture*>(cmd_data); in HandleActiveTexture()
27 const gles2::cmds::AttachShader& c = in HandleAttachShader()
28 *static_cast<const gles2::cmds::AttachShader*>(cmd_data); in HandleAttachShader()
38 const gles2::cmds::BindBuffer& c = in HandleBindBuffer()
39 *static_cast<const gles2::cmds::BindBuffer*>(cmd_data); in HandleBindBuffer()
54 const gles2::cmds::BindFramebuffer& c = in HandleBindFramebuffer()
55 *static_cast<const gles2::cmds::BindFramebuffer*>(cmd_data); in HandleBindFramebuffer()
70 const gles2::cmds::BindRenderbuffer& c = in HandleBindRenderbuffer()
71 *static_cast<const gles2::cmds::BindRenderbuffer*>(cmd_data); in HandleBindRenderbuffer()
[all …]
Dasync_pixel_transfer_manager.cc28 void AsyncPixelTransferManager::Initialize(gles2::TextureManager* manager) { in Initialize()
35 gles2::TextureRef* ref, in CreatePixelTransferDelegate()
47 gles2::TextureRef* ref) { in GetPixelTransferDelegate()
57 gles2::TextureRef* ref) { in ClearPixelTransferDelegateForTest()
66 gles2::TextureRef* ref) { in AsyncTransferIsInProgress()
72 gles2::TextureManager* manager) { in OnTextureManagerDestroying()
79 gles2::TextureRef* texture) { in OnTextureRefDestroying()
Dgl_state_restorer_impl.h16 namespace gles2 {
24 explicit GLStateRestorerImpl(base::WeakPtr<gles2::GLES2Decoder> decoder);
34 const gles2::ContextState* GetContextState() const;
35 base::WeakPtr<gles2::GLES2Decoder> decoder_;
/external/chromium_org/content/renderer/media/
Drenderer_gpu_video_accelerator_factories.cc125 gpu::gles2::GLES2Implementation* gles2 = context->GetImplementation(); in CreateTextures() local
128 gles2->GenTextures(count, &texture_ids->at(0)); in CreateTextures()
130 gles2->ActiveTexture(GL_TEXTURE0); in CreateTextures()
132 gles2->BindTexture(texture_target, texture_id); in CreateTextures()
133 gles2->TexParameteri(texture_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in CreateTextures()
134 gles2->TexParameteri(texture_target, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in CreateTextures()
135 gles2->TexParameteri(texture_target, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in CreateTextures()
136 gles2->TexParameteri(texture_target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in CreateTextures()
138 gles2->TexImage2D(texture_target, in CreateTextures()
148 gles2->GenMailboxCHROMIUM(texture_mailboxes->at(i).name); in CreateTextures()
[all …]
/external/chromium_org/content/common/gpu/client/
Dgl_helper.h39 typedef void (gpu::gles2::GLES2Interface::*GenFunc)(GLsizei n, GLuint* ids);
40 typedef void (gpu::gles2::GLES2Interface::*DeleteFunc)(GLsizei n,
42 ScopedGLuint(gpu::gles2::GLES2Interface* gl, in ScopedGLuint()
60 gpu::gles2::GLES2Interface* gl_;
69 explicit ScopedBuffer(gpu::gles2::GLES2Interface* gl) in ScopedBuffer()
71 &gpu::gles2::GLES2Interface::GenBuffers, in ScopedBuffer()
72 &gpu::gles2::GLES2Interface::DeleteBuffers) {} in ScopedBuffer()
77 explicit ScopedFramebuffer(gpu::gles2::GLES2Interface* gl) in ScopedFramebuffer()
79 &gpu::gles2::GLES2Interface::GenFramebuffers, in ScopedFramebuffer()
80 &gpu::gles2::GLES2Interface::DeleteFramebuffers) {} in ScopedFramebuffer()
[all …]
/external/chromium_org/cc/output/
Dshader.h19 namespace gles2 {
46 TexCoordPrecisionRequired(gpu::gles2::GLES2Interface* context,
52 gpu::gles2::GLES2Interface* context,
61 void Init(gpu::gles2::GLES2Interface* context,
78 void Init(gpu::gles2::GLES2Interface* context,
99 void Init(gpu::gles2::GLES2Interface* context,
114 void Init(gpu::gles2::GLES2Interface* context, in Init()
124 void Init(gpu::gles2::GLES2Interface* context,
145 void Init(gpu::gles2::GLES2Interface* context,
166 void Init(gpu::gles2::GLES2Interface* context,
[all …]
Dprogram_binding.h15 namespace gles2 {
27 bool Init(gpu::gles2::GLES2Interface* context,
30 bool Link(gpu::gles2::GLES2Interface* context);
31 void Cleanup(gpu::gles2::GLES2Interface* context);
37 unsigned LoadShader(gpu::gles2::GLES2Interface* context,
40 unsigned CreateShaderProgram(gpu::gles2::GLES2Interface* context,
43 void CleanupShaders(gpu::gles2::GLES2Interface* context);
/external/chromium_org/mojo/public/gles2/
DBUILD.gn5 # In an is_component_build build, everything can link against //mojo/gles2
7 # //mojo/gles2 is linked into an executable (e.g., mojo_shell), and must be
9 # gles2 API.
11 # For component targets, add //mojo/public/gles2:for_component to your deps
15 # //mojo/public/gles2:for_shared_library to your deps
19 public_deps = [ "//mojo/public/c/gles2" ]
22 deps = [ "//mojo/gles2" ]
30 public_deps = [ "//mojo/public/c/gles2" ]
33 deps = [ "//mojo/gles2" ]
/external/chromium_org/gpu/command_buffer/tests/
Dgl_manager.h29 namespace gles2 {
70 gles2::GLES2Decoder* decoder() const { in decoder()
74 gles2::MailboxManager* mailbox_manager() const { in mailbox_manager()
82 gles2::GLES2Implementation* gles2_implementation() const { in gles2_implementation()
90 const gpu::gles2::FeatureInfo::Workarounds& workarounds() const;
116 scoped_refptr<gles2::MailboxManager> mailbox_manager_;
119 scoped_ptr<gles2::GLES2Decoder> decoder_;
123 scoped_ptr<gles2::GLES2CmdHelper> gles2_helper_;
125 scoped_ptr<gles2::GLES2Implementation> gles2_implementation_;
Dgl_manager.cc127 gles2::MailboxManager* mailbox_manager = NULL; in Initialize()
141 gles2::ContextGroup* context_group = NULL; in Initialize()
142 gles2::ShareGroup* client_share_group = NULL; in Initialize()
155 mailbox_manager ? mailbox_manager : new gles2::MailboxManager; in Initialize()
161 gles2::ContextCreationAttribHelper attrib_helper; in Initialize()
171 new gles2::ContextGroup(mailbox_manager_.get(), in Initialize()
173 new gpu::gles2::ShaderTranslatorCache, in Initialize()
178 decoder_.reset(::gpu::gles2::GLES2Decoder::Create(context_group)); in Initialize()
220 ::gpu::gles2::DisallowedFeatures(), in Initialize()
229 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get())); in Initialize()
[all …]
/external/chromium_org/mojo/services/gles2/
Dcommand_buffer_impl.cc27 class MemoryTrackerStub : public gpu::gles2::MemoryTracker {
33 gpu::gles2::MemoryTracker::Pool pool) in TrackMemoryAllocatedChange()
50 gpu::gles2::MailboxManager* mailbox_manager) in CommandBufferImpl()
61 gpu::gles2::MailboxManager* mailbox_manager) in CommandBufferImpl()
103 scoped_refptr<gpu::gles2::ContextGroup> context_group = in DoInitialize()
104 new gpu::gles2::ContextGroup(mailbox_manager_.get(), in DoInitialize()
106 new gpu::gles2::ShaderTranslatorCache, in DoInitialize()
115 decoder_.reset(::gpu::gles2::GLES2Decoder::Create(context_group.get())); in DoInitialize()
122 gpu::gles2::DisallowedFeatures disallowed_features; in DoInitialize()
145 gles2::MojoBufferBacking::Create(shared_state.Pass(), kSize)); in DoInitialize()
[all …]
/external/chromium_org/cc/resources/
Dtexture_uploader.h23 namespace gles2 {
32 static scoped_ptr<TextureUploader> Create(gpu::gles2::GLES2Interface* gl) { in Create()
58 static scoped_ptr<Query> Create(gpu::gles2::GLES2Interface* gl) { in Create()
73 explicit Query(gpu::gles2::GLES2Interface* gl);
75 gpu::gles2::GLES2Interface* gl_;
84 explicit TextureUploader(gpu::gles2::GLES2Interface* gl);
102 gpu::gles2::GLES2Interface* gl_;
/external/chromium_org/gpu/gles2_conform_support/egl/
Ddisplay.cc36 gles2::Terminate(); in ~Display()
40 gles2::Initialize(); in Initialize()
117 scoped_refptr<gpu::gles2::ContextGroup> group(new gpu::gles2::ContextGroup( in CreateWindowSurface()
118 NULL, NULL, new gpu::gles2::ShaderTranslatorCache, NULL, true)); in CreateWindowSurface()
120 decoder_.reset(gpu::gles2::GLES2Decoder::Create(group.get())); in CreateWindowSurface()
169 gpu::gles2::DisallowedFeatures(), in CreateWindowSurface()
181 scoped_ptr<gpu::gles2::GLES2CmdHelper> cmd_helper( in CreateWindowSurface()
182 new gpu::gles2::GLES2CmdHelper(command_buffer.get())); in CreateWindowSurface()
233 new gpu::gles2::GLES2Implementation(gles2_cmd_helper_.get(), in CreateContext()
244 gpu::gles2::GLES2Implementation::kNoLimit)) { in CreateContext()
[all …]
/external/chromium_org/mojo/gles2/
Dgles2_context.h18 namespace gles2 {
25 namespace gles2 {
37 gpu::gles2::GLES2Interface* interface() const { in interface()
46 scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
48 scoped_ptr<gpu::gles2::GLES2Implementation> implementation_;
/external/chromium_org/native_client_sdk/src/libraries/ppapi_gles2/
Dlibrary.dsc4 '../../../../ppapi/lib/gl/gles2',
15 'gles2.c'
38 # ppapi/lib/gl/gles2
41 'DEST': 'include/ppapi/gles2',
48 'DEST': 'include/ppapi/lib/gl/gles2',
/external/chromium_org/cc/test/
Dtest_in_process_context_provider.cc26 gpu::gles2::ContextCreationAttribHelper attribs; in CreateTestInProcessContext()
64 gpu::gles2::GLES2Interface* TestInProcessContextProvider::ContextGL() { in ContextGL()
77 GLES2Initializer() { ::gles2::Initialize(); } in GLES2Initializer()
79 ~GLES2Initializer() { ::gles2::Terminate(); } in ~GLES2Initializer()
94 gles2::SetGLContext(context_provider->ContextGL()); in BindGrContextCallback()
104 gles2::SetGLContext(ContextGL()); in GrContext()
/external/chromium_org/ppapi/
Dppapi_gl.gypi18 'lib/gl/gles2/gl2ext_ppapi.c',
19 'lib/gl/gles2/gl2ext_ppapi.h',
20 'lib/gl/gles2/gles2.c',

12345678910>>...23