HomeSort by relevance Sort by last modified time
    Searched refs:command_buffer_ (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/content/renderer/pepper/
pepper_platform_context_3d.cc 22 command_buffer_(NULL),
27 if (command_buffer_) {
29 channel_->DestroyCommandBuffer(command_buffer_);
30 command_buffer_ = NULL;
39 if (command_buffer_)
90 share_buffer = share_impl->command_buffer_;
93 command_buffer_ = channel_->CreateOffscreenCommandBuffer(
99 if (!command_buffer_)
101 if (!command_buffer_->Initialize())
104 if (!command_buffer_->GenerateMailboxNames(1, &names)
    [all...]
pepper_platform_context_3d.h 77 CommandBufferProxyImpl* command_buffer_; member in class:content::PlatformContext3D
  /external/chromium_org/gpu/command_buffer/service/
command_buffer_service_unittest.cc 31 command_buffer_.reset(
33 EXPECT_TRUE(command_buffer_->Initialize());
37 return command_buffer_->GetState().get_offset;
41 return command_buffer_->GetState().put_offset;
45 return command_buffer_->GetState().token;
49 return command_buffer_->GetState().error;
54 command_buffer_->CreateTransferBuffer(size, &id);
56 command_buffer_->SetGetBuffer(id);
61 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::CommandBufferServiceTest
66 CommandBuffer::State state = command_buffer_->GetState()
    [all...]
gpu_scheduler_unittest.cc 43 command_buffer_.reset(new MockCommandBuffer);
47 ON_CALL(*command_buffer_.get(), GetState())
51 scheduler_.reset(new gpu::GpuScheduler(command_buffer_.get(),
54 EXPECT_CALL(*command_buffer_, GetTransferBuffer(kTransferBufferId))
56 EXPECT_CALL(*command_buffer_, SetGetOffset(0));
67 return command_buffer_->GetState().error;
74 scoped_ptr<MockCommandBuffer> command_buffer_; member in class:gpu::GpuSchedulerTest
86 EXPECT_CALL(*command_buffer_, GetState())
89 EXPECT_CALL(*command_buffer_, SetParseError(_))
99 EXPECT_CALL(*command_buffer_, SetGetOffset(2))
    [all...]
gpu_scheduler.cc 34 : command_buffer_(command_buffer),
50 CommandBuffer::State state = command_buffer_->GetState();
89 command_buffer_->SetGetOffset(static_cast<int32>(parser_->get()));
94 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
95 command_buffer_->SetParseError(error);
108 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
109 command_buffer_->SetParseError(error::kLostContext);
182 return command_buffer_->GetTransferBuffer(shm_id);
186 command_buffer_->SetToken(token);
190 Buffer ring_buffer = command_buffer_->GetTransferBuffer(transfer_buffer_id)
    [all...]
in_process_command_buffer.cc 228 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
229 command_buffer_->SetParseError(gpu::error::kLostContext);
246 command_buffer_->SetGetBuffer(transfer_buffer_id);
343 command_buffer_ = command_buffer.Pass();
438 command_buffer_.reset();
495 command_buffer_->Flush(put_offset);
499 state_after_last_flush_ = command_buffer_->GetState();
564 command_buffer_->SetGetBuffer(shm_id);
569 state_after_last_flush_ = command_buffer_->GetState();
577 return command_buffer_->CreateTransferBuffer(size, id)
    [all...]
gpu_scheduler.h 117 CommandBuffer* command_buffer_; member in class:gpu::GpuScheduler
  /external/chromium_org/gpu/command_buffer/client/
cmd_buffer_helper.cc 22 : command_buffer_(command_buffer),
58 Buffer buffer = command_buffer_->CreateTransferBuffer(ring_buffer_size_, &id);
66 command_buffer_->SetGetBuffer(id);
70 CommandBuffer::State state = command_buffer_->GetState();
86 command_buffer_->DestroyTransferBuffer(ring_buffer_id_);
93 error::IsError(command_buffer_->GetLastState().error));
112 CommandBuffer::State state = command_buffer_->FlushSync(put_, get_offset());
120 command_buffer_->Flush(put_);
buffer_tracker_unittest.cc 51 command_buffer_.reset(new MockClientCommandBufferImpl());
52 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
63 command_buffer_.reset();
66 scoped_ptr<MockClientCommandBufferImpl> command_buffer_; member in class:gpu::gles2::BufferTrackerTest
115 command_buffer_->set_context_lost(true);
cmd_buffer_helper_test.cc 53 command_buffer_.reset(
55 EXPECT_TRUE(command_buffer_->Initialize());
58 command_buffer_.get(), api_mock_.get(), NULL));
59 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
61 command_buffer_->SetGetBufferChangeCallback(base::Bind(
66 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
125 return command_buffer_->GetState().get_offset;
129 return command_buffer_->GetState().put_offset;
133 return command_buffer_->GetState().error;
144 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::CommandBufferHelperTest
    [all...]
query_tracker_unittest.cc 28 command_buffer_.reset(new MockClientCommandBuffer());
29 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
40 command_buffer_.reset();
43 scoped_ptr<CommandBuffer> command_buffer_; member in class:gpu::gles2::QuerySyncManagerTest
82 command_buffer_.reset(new MockClientCommandBuffer());
83 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
94 command_buffer_.reset();
105 scoped_ptr<CommandBuffer> command_buffer_; member in class:gpu::gles2::QueryTrackerTest
gl_in_process_context.cc 82 scoped_ptr<InProcessCommandBuffer> command_buffer_; member in class:gpu::__anon8499::GLInProcessContextImpl
192 command_buffer_.reset(new InProcessCommandBuffer(service));
207 share_command_buffer = context->command_buffer_.get();
217 share_command_buffer = impl->command_buffer_.get();
222 if (!command_buffer_->Initialize(surface,
235 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get()));
255 command_buffer_.get()));
287 command_buffer_.reset();
293 return command_buffer_->GetSurfaceTexture(stream_id);
ring_buffer_test.cc 77 command_buffer_.reset(
79 EXPECT_TRUE(command_buffer_->Initialize());
82 command_buffer_.get(), api_mock_.get(), NULL));
83 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
85 command_buffer_->SetGetBufferChangeCallback(base::Bind(
90 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
95 return command_buffer_->GetState().token;
104 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::BaseRingBufferTest
298 EXPECT_LE(command_buffer_->GetState().token, helper_->InsertToken());
cmd_buffer_helper.h 126 return command_buffer_->GetLastToken();
130 return command_buffer_->GetLastState().get_offset;
214 return command_buffer_;
247 CommandBuffer* command_buffer_; member in class:gpu::CommandBufferHelper
mapped_memory_unittest.cc 52 command_buffer_.reset(
54 EXPECT_TRUE(command_buffer_->Initialize());
57 command_buffer_.get(), api_mock_.get(), NULL));
58 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
60 command_buffer_->SetGetBufferChangeCallback(base::Bind(
65 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
70 return command_buffer_->GetState().token;
79 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::MappedMemoryTestBase
transfer_buffer_unittest.cc 53 return command_buffer_.get();
56 scoped_ptr<MockClientCommandBufferMockFlush> command_buffer_; member in class:gpu::TransferBufferTest
63 command_buffer_.reset(new StrictMock<MockClientCommandBufferMockFlush>());
64 ASSERT_TRUE(command_buffer_->Initialize());
243 return command_buffer_.get();
246 scoped_ptr<MockClientCommandBufferCanFail> command_buffer_; member in class:gpu::TransferBufferExpandContractTest
253 command_buffer_.reset(new StrictMock<MockClientCommandBufferCanFail>());
254 ASSERT_TRUE(command_buffer_->Initialize());
fenced_allocator_test.cc 55 command_buffer_.reset(
57 EXPECT_TRUE(command_buffer_->Initialize());
60 command_buffer_.get(), api_mock_.get(), NULL));
61 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
63 command_buffer_->SetGetBufferChangeCallback(base::Bind(
68 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
73 return command_buffer_->GetState().token;
82 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::BaseFencedAllocatorTest
  /external/chromium_org/content/common/gpu/
gpu_command_buffer_stub.cc 292 if (command_buffer_) {
293 gpu::CommandBuffer::State state = command_buffer_->GetLastState();
344 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
345 command_buffer_->SetParseError(gpu::error::kLostContext);
370 if (decoder_ && command_buffer_ &&
371 command_buffer_->GetState().error != gpu::error::kLostContext)
382 command_buffer_.reset();
399 DCHECK(!command_buffer_.get());
404 command_buffer_.reset(new gpu::CommandBufferService(
407 if (!command_buffer_->Initialize())
    [all...]
  /external/chromium_org/gpu/command_buffer/tests/
gl_manager.cc 130 command_buffer_.reset(new CommandBufferService(
132 ASSERT_TRUE(command_buffer_->Initialize())
135 gpu_scheduler_.reset(new GpuScheduler(command_buffer_.get(),
180 command_buffer_->SetPutOffsetChangeCallback(
182 command_buffer_->SetGetBufferChangeCallback(
186 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get()));
248 command_buffer_.reset();
263 ::gpu::CommandBuffer::State state = command_buffer_->GetState();
gl_manager.h 102 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::GLManager
  /external/chromium_org/gpu/gles2_conform_support/egl/
display.h 84 scoped_ptr<gpu::CommandBufferService> command_buffer_; member in class:egl::Display
display.cc 191 command_buffer_.reset(command_buffer.release());
228 DCHECK(command_buffer_ != NULL);
  /external/chromium_org/content/common/gpu/client/
webgraphicscontext3d_command_buffer_impl.cc 260 command_buffer_->SetChannelErrorCallback(
264 command_buffer_->SetOnConsoleMessageCallback(
310 share_group = it->second->command_buffer_.get();
330 command_buffer_.reset(host_->CreateViewCommandBuffer(
337 command_buffer_.reset(host_->CreateOffscreenCommandBuffer(
345 if (!command_buffer_)
349 return command_buffer_->Initialize();
357 if (!command_buffer_ &&
363 gles2_helper_.reset(new gpu::gles2::GLES2CmdHelper(command_buffer_.get()));
400 command_buffer_.get()))
    [all...]
  /external/chromium_org/ppapi/proxy/
ppb_graphics_3d_proxy.cc 68 command_buffer_.reset(
116 return command_buffer_.get();
120 return command_buffer_.get();
ppb_graphics_3d_proxy.h 57 scoped_ptr<PpapiCommandBufferProxy> command_buffer_; member in class:ppapi::proxy::Graphics3D

Completed in 83 milliseconds

1 2