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

1 2

  /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_->GetLastState().get_offset;
41 return command_buffer_->GetLastState().put_offset;
45 return command_buffer_->GetLastState().token;
49 return command_buffer_->GetLastState().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_->GetLastState()
    [all...]
gpu_scheduler_unittest.cc 43 command_buffer_.reset(new MockCommandBuffer);
47 ON_CALL(*command_buffer_.get(), GetLastState())
56 scheduler_.reset(new gpu::GpuScheduler(command_buffer_.get(),
59 EXPECT_CALL(*command_buffer_, GetTransferBuffer(kTransferBufferId))
61 EXPECT_CALL(*command_buffer_, SetGetOffset(0));
72 return command_buffer_->GetLastState().error;
79 scoped_ptr<MockCommandBuffer> command_buffer_; member in class:gpu::GpuSchedulerTest
90 EXPECT_CALL(*command_buffer_, GetLastState())
93 EXPECT_CALL(*command_buffer_, SetParseError(_))
103 EXPECT_CALL(*command_buffer_, SetGetOffset(2))
    [all...]
gpu_scheduler.cc 34 : command_buffer_(command_buffer),
50 CommandBuffer::State state = command_buffer_->GetLastState();
91 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);
183 return command_buffer_->GetTransferBuffer(shm_id);
187 command_buffer_->SetToken(token);
192 command_buffer_->GetTransferBuffer(transfer_buffer_id)
    [all...]
gpu_scheduler.h 117 CommandBufferServiceBase* command_buffer_; member in class:gpu::GpuScheduler
  /external/chromium_org/mojo/gles2/
gles2_context.cc 27 : command_buffer_(this, async_waiter, command_buffer_handle.Pass()),
34 if (!command_buffer_.Initialize())
36 gles2_helper_.reset(new gpu::gles2::GLES2CmdHelper(&command_buffer_));
51 &command_buffer_));
command_buffer_client_impl.cc 87 command_buffer_.Bind(command_buffer_handle.Pass(), async_waiter);
88 command_buffer_.set_error_handler(this);
89 command_buffer_.set_client(this);
111 command_buffer_->Initialize(sync_client.Pass(), duped.Pass());
135 command_buffer_->Flush(put_offset);
157 command_buffer_->SetGetBuffer(shm_id);
175 command_buffer_->RegisterTransferBuffer(
185 command_buffer_->DestroyTransferBuffer(id);
245 command_buffer_->Echo(callback);
275 command_buffer_->MakeProgress(last_state_.get_offset)
    [all...]
gles2_context.h 45 CommandBufferClientImpl command_buffer_; member in class:mojo::gles2::GLES2Context
  /external/chromium_org/content/renderer/pepper/
ppb_graphics_3d_impl.cc 51 command_buffer_(NULL),
56 if (command_buffer_) {
58 channel_->DestroyCommandBuffer(command_buffer_);
59 command_buffer_ = NULL;
139 return command_buffer_->InsertSyncPoint();
143 return command_buffer_->InsertFutureSyncPoint();
147 return command_buffer_->RetireSyncPoint(sync_point);
167 DCHECK(command_buffer_);
168 return command_buffer_->GetRouteID();
172 return command_buffer_;
    [all...]
ppb_graphics_3d_impl.h 96 CommandBufferProxyImpl* command_buffer_; member in class:content::PPB_Graphics3D_Impl
  /external/chromium_org/content/common/gpu/client/
webgraphicscontext3d_command_buffer_impl.cc 139 command_buffer_->SetChannelErrorCallback(
143 command_buffer_->SetOnConsoleMessageCallback(
162 share_group_command_buffer = share_context->command_buffer_.get();
175 command_buffer_.reset(host_->CreateViewCommandBuffer(
182 command_buffer_.reset(host_->CreateOffscreenCommandBuffer(
190 if (!command_buffer_) {
195 DVLOG_IF(1, gpu::error::IsError(command_buffer_->GetLastError()))
197 << command_buffer_->GetLastError();
199 bool result = command_buffer_->Initialize();
210 if (!command_buffer_) {
    [all...]
webgraphicscontext3d_command_buffer_impl.h 117 return command_buffer_.get();
202 scoped_ptr<CommandBufferProxyImpl> command_buffer_; member in class:content::WebGraphicsContext3DCommandBufferImpl
  /external/chromium_org/mojo/services/gles2/
command_buffer_impl.cc 110 command_buffer_.reset(
112 bool result = command_buffer_->Initialize();
117 command_buffer_.get(), decoder_.get(), decoder_.get()));
134 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
136 command_buffer_->SetGetBufferChangeCallback(base::Bind(
138 command_buffer_->SetParseErrorCallback(
149 command_buffer_->SetSharedStateBuffer(backing.Pass());
154 command_buffer_->SetGetBuffer(buffer);
163 command_buffer_->Flush(put_offset);
169 CommandBufferState::From(command_buffer_->GetLastState()))
    [all...]
command_buffer_impl.h 68 scoped_ptr<gpu::CommandBufferService> command_buffer_; member in class:mojo::CommandBufferImpl
  /external/chromium_org/content/common/gpu/
gpu_command_buffer_stub.cc 344 if (command_buffer_) {
345 gpu::CommandBuffer::State state = command_buffer_->GetLastState();
396 command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
397 command_buffer_->SetParseError(gpu::error::kLostContext);
430 if (decoder_ && command_buffer_ &&
431 command_buffer_->GetLastState().error != gpu::error::kLostContext)
442 command_buffer_.reset();
459 DCHECK(!command_buffer_.get());
464 command_buffer_.reset(new gpu::CommandBufferService(
467 bool result = command_buffer_->Initialize()
    [all...]
  /external/chromium_org/gpu/command_buffer/client/
cmd_buffer_helper.cc 17 : command_buffer_(command_buffer),
99 command_buffer_->CreateTransferBuffer(ring_buffer_size_, &id);
107 command_buffer_->SetGetBuffer(id);
119 command_buffer_->DestroyTransferBuffer(ring_buffer_id_);
127 error::IsError(command_buffer_->GetLastState().error));
144 command_buffer_->WaitForGetOffsetInRange(start, end);
145 return command_buffer_->GetLastError() == gpu::error::kNoError;
156 command_buffer_->Flush(put_);
233 command_buffer_->WaitForTokenInRange(token, token_);
gl_in_process_context.cc 82 scoped_ptr<InProcessCommandBuffer> command_buffer_; member in class:gpu::__anon13017::GLInProcessContextImpl
147 command_buffer_.reset(new InProcessCommandBuffer(service));
162 share_command_buffer = context->command_buffer_.get();
172 share_command_buffer = impl->command_buffer_.get();
177 if (!command_buffer_->Initialize(surface,
190 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get()));
211 command_buffer_.get()));
243 command_buffer_.reset();
249 return command_buffer_->GetSurfaceTexture(stream_id);
cmd_buffer_helper_test.cc 100 command_buffer_.reset(
102 EXPECT_TRUE(command_buffer_->Initialize());
105 command_buffer_.get(), api_mock_.get(), NULL));
106 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
108 command_buffer_->SetGetBufferChangeCallback(base::Bind(
113 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
195 command_buffer_->LockFlush();
206 command_buffer_->UnlockFlush();
240 return command_buffer_->GetLastState().get_offset;
244 return command_buffer_->GetLastState().put_offset
265 scoped_ptr<CommandBufferServiceLocked> command_buffer_; member in class:gpu::CommandBufferHelperTest
    [all...]
query_tracker_unittest.cc 33 command_buffer_.reset(new MockClientCommandBuffer());
34 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
45 command_buffer_.reset();
48 scoped_ptr<CommandBuffer> command_buffer_; member in class:gpu::gles2::QuerySyncManagerTest
87 command_buffer_.reset(new MockClientCommandBuffer());
88 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
99 command_buffer_.reset();
112 scoped_ptr<CommandBuffer> command_buffer_; member in class:gpu::gles2::QueryTrackerTest
ring_buffer_test.cc 78 command_buffer_.reset(
80 EXPECT_TRUE(command_buffer_->Initialize());
83 command_buffer_.get(), api_mock_.get(), NULL));
84 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
86 command_buffer_->SetGetBufferChangeCallback(base::Bind(
91 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
96 return command_buffer_->GetLastState().token;
105 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::BaseRingBufferTest
buffer_tracker_unittest.cc 57 command_buffer_.reset(new MockClientCommandBufferImpl());
58 helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
69 command_buffer_.reset();
72 scoped_ptr<MockClientCommandBufferImpl> command_buffer_; member in class:gpu::gles2::BufferTrackerTest
121 command_buffer_->set_context_lost(true);
mapped_memory_unittest.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()));
71 return command_buffer_->GetLastState().token;
80 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());
255 return command_buffer_.get();
258 scoped_ptr<MockClientCommandBufferCanFail> command_buffer_; member in class:gpu::TransferBufferExpandContractTest
265 command_buffer_.reset(new StrictMock<MockClientCommandBufferCanFail>());
266 ASSERT_TRUE(command_buffer_->Initialize());
cmd_buffer_helper.h 182 return command_buffer_->GetLastToken();
186 return command_buffer_->GetLastState().get_offset;
270 return command_buffer_;
311 CommandBuffer* command_buffer_; member in class:gpu::CommandBufferHelper
fenced_allocator_test.cc 56 command_buffer_.reset(
58 EXPECT_TRUE(command_buffer_->Initialize());
61 command_buffer_.get(), api_mock_.get(), NULL));
62 command_buffer_->SetPutOffsetChangeCallback(base::Bind(
64 command_buffer_->SetGetBufferChangeCallback(base::Bind(
69 helper_.reset(new CommandBufferHelper(command_buffer_.get()));
74 return command_buffer_->GetLastState().token;
83 scoped_ptr<CommandBufferService> command_buffer_; member in class:gpu::BaseFencedAllocatorTest
  /external/chromium_org/gpu/command_buffer/tests/
gl_manager.cc 180 command_buffer_.reset(new CommandBufferService(
182 ASSERT_TRUE(command_buffer_->Initialize())
185 gpu_scheduler_.reset(new GpuScheduler(command_buffer_.get(),
223 command_buffer_->SetPutOffsetChangeCallback(
225 command_buffer_->SetGetBufferChangeCallback(
229 gles2_helper_.reset(new gles2::GLES2CmdHelper(command_buffer_.get()));
289 command_buffer_.reset();
304 ::gpu::CommandBuffer::State state = command_buffer_->GetLastState();

Completed in 250 milliseconds

1 2