Home
last modified time | relevance | path

Searched refs:sync_point (Results 1 – 25 of 130) sorted by relevance

123456

/external/chromium_org/content/common/gpu/
Dsync_point_manager.cc20 uint32 sync_point = next_sync_point_++; in GenerateSyncPoint() local
27 CHECK(sync_point_map_.find(sync_point) == sync_point_map_.end()); in GenerateSyncPoint()
28 sync_point_map_.insert(std::make_pair(sync_point, ClosureList())); in GenerateSyncPoint()
29 return sync_point; in GenerateSyncPoint()
32 void SyncPointManager::RetireSyncPoint(uint32 sync_point) { in RetireSyncPoint() argument
37 SyncPointMap::iterator it = sync_point_map_.find(sync_point); in RetireSyncPoint()
46 void SyncPointManager::AddSyncPointCallback(uint32 sync_point, in AddSyncPointCallback() argument
51 SyncPointMap::iterator it = sync_point_map_.find(sync_point); in AddSyncPointCallback()
Dgpu_channel_manager.cc24 int32 sync_point, base::Closure callback) in ImageOperation() argument
25 : sync_point(sync_point), in ImageOperation()
217 int32 client_id, int32 image_id, int32 sync_point) { in OnDeleteImage() argument
220 if (!sync_point && image_operations_.empty()) { in OnDeleteImage()
224 new ImageOperation(sync_point, in OnDeleteImage()
229 if (sync_point) { in OnDeleteImage()
231 sync_point, in OnDeleteImage()
242 image_operation->sync_point = 0; in OnDeleteImageSyncPointRetired()
247 if (image_operations_.front()->sync_point) in OnDeleteImageSyncPointRetired()
Dsync_point_manager.h30 void RetireSyncPoint(uint32 sync_point);
36 void AddSyncPointCallback(uint32 sync_point, const base::Closure& callback);
Dgpu_channel_manager.h107 ImageOperation(int32 sync_point, base::Closure callback);
110 int32 sync_point; member
131 void OnDeleteImage(int32 client_id, int32 image_id, int32 sync_point);
/external/chromium_org/cc/resources/
Dtexture_mailbox_deleter.cc20 unsigned sync_point, in DeleteTextureOnImplThread() argument
22 if (sync_point) in DeleteTextureOnImplThread()
23 context_provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point); in DeleteTextureOnImplThread()
30 unsigned sync_point, in PostTaskFromMainToImplThread() argument
34 FROM_HERE, base::Bind(run_impl_callback, sync_point, is_lost)); in PostTaskFromMainToImplThread()
77 unsigned sync_point, in RunDeleteTextureOnImplThread() argument
82 impl_callbacks_.at(i)->Run(sync_point, is_lost); in RunDeleteTextureOnImplThread()
Dresource_provider_unittest.cc40 static void EmptyReleaseCallback(unsigned sync_point, bool lost_resource) {} in EmptyReleaseCallback() argument
43 unsigned sync_point, in SharedMemoryReleaseCallback() argument
48 unsigned sync_point, in ReleaseTextureMailbox() argument
50 *release_sync_point = sync_point; in ReleaseTextureMailbox()
59 unsigned sync_point, in ReleaseSharedMemoryCallback() argument
62 *release_sync_point = sync_point; in ReleaseSharedMemoryCallback()
81 MOCK_METHOD1(waitSyncPoint, void(unsigned sync_point));
114 unsigned sync_point, in ProduceTexture() argument
120 ASSERT_LT(sync_point_for_mailbox_[mailbox], sync_point); in ProduceTexture()
121 sync_point_for_mailbox_[mailbox] = sync_point; in ProduceTexture()
[all …]
Dtransferable_resource.cc13 sync_point(0), in TransferableResource()
25 returned.sync_point = sync_point; in ToReturnedResource()
Dtexture_mailbox.cc36 unsigned sync_point) in TextureMailbox() argument
38 sync_point_(sync_point), in TextureMailbox()
45 unsigned sync_point) in TextureMailbox() argument
47 sync_point_(sync_point), in TextureMailbox()
Dtexture_mailbox.h26 unsigned sync_point);
29 unsigned sync_point);
47 unsigned sync_point() const { return sync_point_; } in sync_point() function
Dreturned_resource.h16 ReturnedResource() : id(0), sync_point(0), count(0), lost(false) {} in ReturnedResource()
18 unsigned sync_point; member
Dsingle_release_callback.cc23 void SingleReleaseCallback::Run(unsigned sync_point, bool is_lost) { in Run() argument
26 callback_.Run(sync_point, is_lost); in Run()
Dresource_provider.cc547 GLuint sync_point = resource->mailbox.sync_point(); in DeleteResourceInternal() local
555 sync_point = gl->InsertSyncPointCHROMIUM(); in DeleteResourceInternal()
566 resource->release_callback.Run(sync_point, lost_resource); in DeleteResourceInternal()
740 if (resource->mailbox.sync_point()) { in LockForRead()
741 GLC(gl, gl->WaitSyncPointCHROMIUM(resource->mailbox.sync_point())); in LockForRead()
1025 if (!resource.sync_point && !resource.is_software) in PrepareSendToParent()
1031 GLuint sync_point = gl->InsertSyncPointCHROMIUM(); in PrepareSendToParent() local
1035 if (!it->sync_point) in PrepareSendToParent()
1036 it->sync_point = sync_point; in PrepareSendToParent()
1088 if (it->sync_point) in ReceiveFromChild()
[all …]
Dvideo_resource_updater.cc326 unsigned sync_point, in ReturnTexture() argument
328 frame->texture_mailbox()->Resync(sync_point); in ReturnTexture()
365 mailbox_holder->sync_point())); in CreateForHardwarePlanes()
375 unsigned sync_point, in RecycleResource() argument
383 if (context_provider && sync_point) { in RecycleResource()
385 context_provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point)); in RecycleResource()
/external/chromium_org/gpu/command_buffer/service/
Din_process_command_buffer.cc121 void RetireSyncPoint(uint32 sync_point);
123 bool IsSyncPointPassed(uint32 sync_point);
124 void WaitSyncPoint(uint32 sync_point);
143 uint32 sync_point = next_sync_point_++; in GenerateSyncPoint() local
144 DCHECK_EQ(pending_sync_points_.count(sync_point), 0U); in GenerateSyncPoint()
145 pending_sync_points_.insert(sync_point); in GenerateSyncPoint()
146 return sync_point; in GenerateSyncPoint()
149 void SyncPointManager::RetireSyncPoint(uint32 sync_point) { in RetireSyncPoint() argument
151 DCHECK(pending_sync_points_.count(sync_point)); in RetireSyncPoint()
152 pending_sync_points_.erase(sync_point); in RetireSyncPoint()
[all …]
/external/chromium_org/media/base/
Dvideo_frame_unittest.cc214 static void TextureCallback(uint32* called_sync_point, uint32 sync_point) { in TextureCallback() argument
215 *called_sync_point = sync_point; in TextureCallback()
221 uint32 sync_point = 7; in TEST() local
228 sync_point, in TEST()
240 EXPECT_EQ(sync_point, called_sync_point); in TEST()
250 uint32 sync_point = 7; in TEST() local
257 sync_point, in TEST()
270 EXPECT_EQ(sync_point, mailbox_holder->sync_point()); in TEST()
274 sync_point = 10; in TEST()
275 mailbox_holder->Resync(sync_point); in TEST()
[all …]
Dvideo_frame.h65 typedef base::Callback<void(uint32 sync_point)>
69 unsigned sync_point,
74 unsigned sync_point() const { return sync_point_; } in sync_point() function
76 void Resync(unsigned sync_point) { sync_point_ = sync_point; } in Resync() argument
/external/chromium_org/content/browser/aura/
Downed_mailbox.cc28 void OwnedMailbox::UpdateSyncPoint(uint32 sync_point) { in UpdateSyncPoint() argument
29 if (sync_point) in UpdateSyncPoint()
30 sync_point_ = sync_point; in UpdateSyncPoint()
Downed_mailbox.h22 uint32 sync_point() const { return sync_point_; } in sync_point() function
25 void UpdateSyncPoint(uint32 sync_point);
/external/chromium_org/content/renderer/gpu/
Dmailbox_output_surface.h50 TransferableFrame() : texture_id(0), sync_point(0) {} in TransferableFrame()
55 : texture_id(texture_id), mailbox(mailbox), size(size), sync_point(0) {} in TransferableFrame()
60 uint32 sync_point; member
Dmailbox_output_surface.cc64 if (current_backing_.sync_point) in EnsureBackbuffer()
65 context3d->waitSyncPoint(current_backing_.sync_point); in EnsureBackbuffer()
173 it->sync_point = ack.gl_frame_data->sync_point; in OnSwapAck()
205 frame->gl_frame_data->sync_point = in SwapBuffers()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_compositing_helper.cc144 unsigned sync_point, in MailboxReleased() argument
183 sync_point)); in MailboxReleased()
191 ack.gl_frame_data->sync_point = sync_point; in MailboxReleased()
228 unsigned sync_point, in OnBuffersSwappedPrivate() argument
247 MailboxReleased(mailbox, sync_point, false); in OnBuffersSwappedPrivate()
294 texture_mailbox = cc::TextureMailbox(mailbox.name, sync_point); in OnBuffersSwappedPrivate()
333 frame->gl_frame_data->sync_point, in OnCompositorFrameSwapped()
/external/chromium_org/content/common/gpu/client/
Dgl_helper.cc132 uint32 sync_point) { in ConsumeMailboxToTexture() argument
133 return helper_->ConsumeMailboxToTexture(mailbox, sync_point); in ConsumeMailboxToTexture()
236 uint32 sync_point,
274 uint32 sync_point,
582 uint32 sync_point, in CropScaleReadbackAndCleanMailbox() argument
588 WebGLId mailbox_texture = ConsumeMailboxToTexture(src_mailbox, sync_point); in CropScaleReadbackAndCleanMailbox()
705 void GLHelper::WaitSyncPoint(uint32 sync_point) { in WaitSyncPoint() argument
706 context_->waitSyncPoint(sync_point); in WaitSyncPoint()
710 uint32* sync_point) { in ProduceMailboxFromTexture() argument
714 *sync_point = 0; in ProduceMailboxFromTexture()
[all …]
/external/chromium_org/cc/layers/
Dtexture_layer.cc303 sync_point_(mailbox.sync_point()), in MailboxHolder()
319 void TextureLayer::MailboxHolder::Return(unsigned sync_point, bool is_lost) { in Return() argument
321 sync_point_ = sync_point; in Return()
349 unsigned sync_point, bool is_lost) { in ReturnAndReleaseOnImplThread() argument
350 Return(sync_point, is_lost); in ReturnAndReleaseOnImplThread()
/external/chromium_org/cc/test/
Dlayer_tree_pixel_test.cc244 if (texture_mailbox.sync_point()) in CopyTextureMailboxToBitmap()
245 context3d->waitSyncPoint(texture_mailbox.sync_point()); in CopyTextureMailboxToBitmap()
310 uint32 sync_point, in ReleaseTextureMailbox() argument
312 if (sync_point) in ReleaseTextureMailbox()
313 context3d->waitSyncPoint(sync_point); in ReleaseTextureMailbox()
382 uint32 sync_point = context3d->insertSyncPoint(); in CopyBitmapToTextureMailboxAsTexture() local
384 *texture_mailbox = TextureMailbox(mailbox, sync_point); in CopyBitmapToTextureMailboxAsTexture()
/external/chromium_org/gpu/GLES2/extensions/CHROMIUM/
DCHROMIUM_sync_point.txt54 void WaitSyncPointCHROMIUM(uint sync_point)
58 <sync_point> is the name of the sync point to wait for. If <sync_point>

123456