Lines Matching refs:ResourceProvider
69 ResourceProvider::Resource::Resource()
95 ResourceProvider::Resource::~Resource() {}
97 ResourceProvider::Resource::Resource(
129 ResourceProvider::Resource::Resource(
156 ResourceProvider::Child::Child() {}
158 ResourceProvider::Child::~Child() {}
160 scoped_ptr<ResourceProvider> ResourceProvider::Create(
163 scoped_ptr<ResourceProvider> resource_provider(
164 new ResourceProvider(output_surface, highp_threshold_min));
175 return scoped_ptr<ResourceProvider>();
181 ResourceProvider::~ResourceProvider() {
188 WebGraphicsContext3D* ResourceProvider::GraphicsContext3D() {
193 bool ResourceProvider::InUseByConsumer(ResourceId id) {
201 ResourceProvider::ResourceId ResourceProvider::CreateResource(
219 ResourceProvider::ResourceId ResourceProvider::CreateManagedResource(
237 ResourceProvider::ResourceId ResourceProvider::CreateGLTexture(
250 ResourceProvider::ResourceId ResourceProvider::CreateBitmap(gfx::Size size) {
262 ResourceProvider::ResourceId
263 ResourceProvider::CreateResourceFromExternalTexture(
288 ResourceProvider::ResourceId ResourceProvider::CreateResourceFromTextureMailbox(
311 void ResourceProvider::DeleteResource(ResourceId id) {
328 void ResourceProvider::DeleteResourceInternal(ResourceMap::iterator it,
385 ResourceProvider::ResourceType ResourceProvider::GetResourceType(
393 void ResourceProvider::SetPixels(ResourceId id,
444 size_t ResourceProvider::NumBlockingUploads() {
451 void ResourceProvider::MarkPendingUploadsAsNonBlocking() {
458 double ResourceProvider::EstimatedUploadsPerSecond() {
465 void ResourceProvider::FlushUploads() {
472 void ResourceProvider::ReleaseCachedData() {
479 void ResourceProvider::Flush() {
486 void ResourceProvider::Finish() {
493 bool ResourceProvider::ShallowFlushIfSupported() {
503 const ResourceProvider::Resource* ResourceProvider::LockForRead(ResourceId id) {
542 void ResourceProvider::UnlockForRead(ResourceId id) {
552 const ResourceProvider::Resource* ResourceProvider::LockForWrite(
569 bool ResourceProvider::CanLockForWrite(ResourceId id) {
581 void ResourceProvider::UnlockForWrite(ResourceId id) {
592 ResourceProvider::ScopedReadLockGL::ScopedReadLockGL(
593 ResourceProvider* resource_provider,
594 ResourceProvider::ResourceId resource_id)
601 ResourceProvider::ScopedReadLockGL::~ScopedReadLockGL() {
605 ResourceProvider::ScopedSamplerGL::ScopedSamplerGL(
606 ResourceProvider* resource_provider,
607 ResourceProvider::ResourceId resource_id,
616 ResourceProvider::ScopedSamplerGL::ScopedSamplerGL(
617 ResourceProvider* resource_provider,
618 ResourceProvider::ResourceId resource_id,
628 ResourceProvider::ScopedSamplerGL::~ScopedSamplerGL() {
631 ResourceProvider::ScopedWriteLockGL::ScopedWriteLockGL(
632 ResourceProvider* resource_provider,
633 ResourceProvider::ResourceId resource_id)
640 ResourceProvider::ScopedWriteLockGL::~ScopedWriteLockGL() {
644 void ResourceProvider::PopulateSkBitmapWithResource(
654 ResourceProvider::ScopedReadLockSoftware::ScopedReadLockSoftware(
655 ResourceProvider* resource_provider,
656 ResourceProvider::ResourceId resource_id)
659 ResourceProvider::PopulateSkBitmapWithResource(
663 ResourceProvider::ScopedReadLockSoftware::~ScopedReadLockSoftware() {
667 ResourceProvider::ScopedWriteLockSoftware::ScopedWriteLockSoftware(
668 ResourceProvider* resource_provider,
669 ResourceProvider::ResourceId resource_id)
672 ResourceProvider::PopulateSkBitmapWithResource(
677 ResourceProvider::ScopedWriteLockSoftware::~ScopedWriteLockSoftware() {
681 ResourceProvider::ResourceProvider(OutputSurface* output_surface,
695 void ResourceProvider::InitializeSoftware() {
706 bool ResourceProvider::InitializeGL() {
747 void ResourceProvider::CleanUpGLIfNeeded() {
762 int ResourceProvider::CreateChild() {
770 void ResourceProvider::DestroyChild(int child_id) {
782 const ResourceProvider::ResourceIdMap& ResourceProvider::GetChildToParentMap(
790 void ResourceProvider::PrepareSendToParent(const ResourceIdArray& resources,
821 void ResourceProvider::PrepareSendToChild(int child,
859 void ResourceProvider::ReceiveFromChild(
896 void ResourceProvider::ReceiveFromParent(
927 bool ResourceProvider::TransferResource(WebGraphicsContext3D* context,
968 void ResourceProvider::AcquirePixelBuffer(ResourceId id) {
1001 void ResourceProvider::ReleasePixelBuffer(ResourceId id) {
1046 uint8_t* ResourceProvider::MapPixelBuffer(ResourceId id) {
1077 void ResourceProvider::UnmapPixelBuffer(ResourceId id) {
1098 void ResourceProvider::BindForSampling(ResourceProvider::ResourceId resource_id,
1138 void ResourceProvider::BeginSetPixels(ResourceId id) {
1206 void ResourceProvider::ForceSetPixelsToComplete(ResourceId id) {
1225 bool ResourceProvider::DidSetPixelsComplete(ResourceId id) {
1252 void ResourceProvider::CreateForTesting(ResourceId id) {
1259 void ResourceProvider::LazyCreate(Resource* resource) {
1281 void ResourceProvider::AllocateForTesting(ResourceId id) {
1288 void ResourceProvider::LazyAllocate(Resource* resource) {
1320 void ResourceProvider::EnableReadLockFences(ResourceProvider::ResourceId id,
1329 void ResourceProvider::AcquireImage(ResourceId id) {
1352 void ResourceProvider::ReleaseImage(ResourceId id) {
1373 uint8_t* ResourceProvider::MapImage(ResourceId id) {
1396 void ResourceProvider::UnmapImage(ResourceId id) {
1413 int ResourceProvider::GetImageStride(ResourceId id) {
1434 GLint ResourceProvider::GetActiveTextureUnit(WebGraphicsContext3D* context) {