Searched refs:surface_id (Results 1 - 25 of 109) sorted by relevance

12345

/external/chromium_org/cc/surfaces/
H A Dsurface_unittest.cc18 SurfaceId surface_id(6);
20 factory.Create(surface_id, gfx::Size(5, 5));
21 EXPECT_TRUE(!!manager.GetSurfaceForId(surface_id));
22 factory.Destroy(surface_id);
25 EXPECT_EQ(NULL, manager.GetSurfaceForId(surface_id));
H A Dsurface_manager.cc23 DCHECK(!surface_map_.count(surface->surface_id()));
24 surface_map_[surface->surface_id()] = surface;
27 void SurfaceManager::DeregisterSurface(SurfaceId surface_id) { argument
29 SurfaceMap::iterator it = surface_map_.find(surface_id);
34 Surface* SurfaceManager::GetSurfaceForId(SurfaceId surface_id) { argument
36 SurfaceMap::iterator it = surface_map_.find(surface_id);
42 void SurfaceManager::SurfaceModified(SurfaceId surface_id) { argument
45 SurfaceDamageObserver, observer_list_, OnSurfaceDamaged(surface_id));
H A Dsurface_factory.cc22 void SurfaceFactory::Create(SurfaceId surface_id, const gfx::Size& size) { argument
23 scoped_ptr<Surface> surface(new Surface(surface_id, size, this));
25 DCHECK(!surface_map_.count(surface_id));
26 surface_map_.add(surface_id, surface.Pass());
29 void SurfaceFactory::Destroy(SurfaceId surface_id) { argument
30 OwningSurfaceMap::iterator it = surface_map_.find(surface_id);
33 manager_->DeregisterSurface(surface_id);
37 void SurfaceFactory::SubmitFrame(SurfaceId surface_id, argument
40 OwningSurfaceMap::iterator it = surface_map_.find(surface_id);
44 manager_->SurfaceModified(surface_id);
47 RequestCopyOfSurface( SurfaceId surface_id, scoped_ptr<CopyOutputRequest> copy_request) argument
[all...]
H A Dsurface_damage_observer.h8 #include "cc/surfaces/surface_id.h"
14 virtual void OnSurfaceDamaged(SurfaceId surface_id) = 0;
H A Dsurface_manager.h13 #include "cc/surfaces/surface_id.h"
26 void DeregisterSurface(SurfaceId surface_id);
28 Surface* GetSurfaceForId(SurfaceId surface_id);
38 void SurfaceModified(SurfaceId surface_id);
H A Dsurface_factory.h12 #include "cc/surfaces/surface_id.h"
38 void Create(SurfaceId surface_id, const gfx::Size& size);
39 void Destroy(SurfaceId surface_id);
43 void SubmitFrame(SurfaceId surface_id,
46 void RequestCopyOfSurface(SurfaceId surface_id,
H A Dsurface_aggregator.cc35 explicit RenderPassIdAllocator(SurfaceId surface_id) argument
36 : surface_id_(surface_id), next_index_(1) {}
66 SurfaceId surface_id) {
67 RenderPassIdAllocator* allocator = render_pass_allocator_map_.get(surface_id);
69 allocator = new RenderPassIdAllocator(surface_id);
70 render_pass_allocator_map_.set(surface_id, make_scoped_ptr(allocator));
78 surface_id_to_resource_child_id_.find(surface->surface_id());
82 surface_id_to_resource_child_id_[surface->surface_id()] = child_id;
145 int previous_index = previous_contained_surfaces_[surface->surface_id()];
155 SurfaceId surface_id local
65 RemapPassId(RenderPassId surface_local_pass_id, SurfaceId surface_id) argument
279 CopyQuadsToPass( const QuadList& source_quad_list, const SharedQuadStateList& source_shared_quad_state_list, const gfx::Transform& content_to_target_transform, RenderPass* dest_pass, SurfaceId surface_id) argument
352 Aggregate(SurfaceId surface_id) argument
[all...]
H A Dsurface_aggregator_test_helpers.h11 #include "cc/surfaces/surface_id.h"
33 static Quad SurfaceQuad(SurfaceId surface_id) { argument
36 quad.surface_id = surface_id;
49 SurfaceId surface_id; member in struct:cc::test::Quad
75 int surface_id);
H A Dsurface_aggregator.h15 #include "cc/surfaces/surface_id.h"
34 scoped_ptr<CompositorFrame> Aggregate(SurfaceId surface_id);
41 SurfaceId surface_id);
52 SurfaceId surface_id);
/external/chromium_org/content/browser/gpu/
H A Dgpu_surface_tracker.h53 // Returns the native widget associated with a given surface_id.
54 virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) OVERRIDE;
73 void RemoveSurface(int surface_id);
78 bool GetRenderWidgetIDForSurface(int surface_id,
84 void SetSurfaceHandle(int surface_id, const gfx::GLSurfaceHandle& handle);
86 // Sets the native widget associated with the surface_id.
88 int surface_id,
94 gfx::GLSurfaceHandle GetSurfaceHandle(int surface_id);
103 scoped_refptr<SurfaceRef> GetSurfaceRefForSurface(int surface_id) { argument
104 return surface_map_[surface_id]
[all...]
H A Dgpu_surface_tracker.cc31 int surface_id = next_surface_id_++; local
32 surface_map_[surface_id] =
35 return surface_id;
55 int surface_id = next_surface_id_++; local
56 surface_map_[surface_id] =
58 return surface_id;
61 void GpuSurfaceTracker::RemoveSurface(int surface_id) { argument
63 DCHECK(surface_map_.find(surface_id) != surface_map_.end());
64 surface_map_.erase(surface_id);
67 bool GpuSurfaceTracker::GetRenderWidgetIDForSurface(int surface_id, argument
82 SetSurfaceHandle(int surface_id, const gfx::GLSurfaceHandle& handle) argument
90 GetSurfaceHandle(int surface_id) argument
98 AcquireNativeWidget(int surface_id) argument
112 SetNativeWidget( int surface_id, gfx::AcceleratedWidget widget, SurfaceRef* surface_ref) argument
[all...]
/external/chromium_org/cc/quads/
H A Dsurface_draw_quad.cc19 SurfaceId surface_id) {
24 this->surface_id = surface_id;
32 SurfaceId surface_id) {
35 this->surface_id = surface_id;
47 value->SetInteger("surface_id", surface_id.id);
16 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SurfaceId surface_id) argument
27 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SurfaceId surface_id) argument
H A Dsurface_draw_quad.h11 #include "cc/surfaces/surface_id.h"
22 SurfaceId surface_id);
29 SurfaceId surface_id);
31 SurfaceId surface_id; member in class:cc::SurfaceDrawQuad
/external/chromium_org/content/renderer/
H A Drender_view_impl_params.cc16 int32 surface_id,
35 surface_id(surface_id),
9 RenderViewImplParams( int32 opener_id, bool window_was_created_with_opener, const RendererPreferences& renderer_prefs, const WebPreferences& webkit_prefs, int32 routing_id, int32 main_frame_routing_id, int32 surface_id, int64 session_storage_namespace_id, const base::string16& frame_name, bool is_renderer_created, bool swapped_out, int32 proxy_routing_id, bool hidden, bool never_visible, int32 next_page_id, const ViewMsg_Resize_Params& initial_size, bool enable_auto_resize, const gfx::Size& min_size, const gfx::Size& max_size) argument
/external/chromium_org/cc/layers/
H A Dsurface_layer.cc20 void SurfaceLayer::SetSurfaceId(SurfaceId surface_id) { argument
21 surface_id_ = surface_id;
H A Dsurface_layer.h10 #include "cc/surfaces/surface_id.h"
20 void SetSurfaceId(SurfaceId surface_id);
H A Dsurface_layer_impl.cc25 void SurfaceLayerImpl::SetSurfaceId(SurfaceId surface_id) { argument
26 if (surface_id_ == surface_id)
29 surface_id_ = surface_id;
74 dict->SetInteger("surface_id", surface_id_.id);
/external/chromium_org/content/browser/android/
H A Dchild_process_launcher_android.h37 void RegisterViewSurface(int surface_id, jobject j_surface);
39 void UnregisterViewSurface(int surface_id);
/external/chromium_org/content/browser/renderer_host/
H A Dgpu_message_filter.cc27 int32 surface_id,
30 : surface_id(surface_id),
34 int32 surface_id; member in struct:content::GpuMessageFilter::CreateViewCommandBufferRequest
44 surface_id(0),
50 int surface_id; member in struct:content::GpuMessageFilter::FrameSubscription
144 int32 surface_id,
157 surface_id, &renderer_id, &render_widget_id);
159 compositing_surface = surface_tracker->GetSurfaceHandle(surface_id);
183 surface_id,
26 CreateViewCommandBufferRequest( int32 surface_id, const GPUCreateCommandBufferConfig& init_params, scoped_ptr<IPC::Message> reply) argument
143 OnCreateViewCommandBuffer( int32 surface_id, const GPUCreateCommandBufferConfig& init_params, int32 route_id, IPC::Message* reply_ptr) argument
[all...]
H A Drender_widget_helper.h112 int* surface_id,
117 int* surface_id);
118 void CreateNewFullscreenWidget(int opener_id, int* route_id, int* surface_id);
/external/chromium_org/content/common/gpu/
H A Dgpu_surface_lookup.h22 virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) = 0;
/external/chromium_org/content/browser/compositor/
H A Dbrowser_compositor_output_surface_proxy.cc51 int surface_id,
54 BrowserCompositorOutputSurface* surface = surface_map_->Lookup(surface_id);
50 OnUpdateVSyncParametersOnCompositorThread( int surface_id, base::TimeTicks timebase, base::TimeDelta interval) argument
H A Dgpu_browser_compositor_output_surface.cc16 int surface_id,
21 surface_id,
14 GpuBrowserCompositorOutputSurface( const scoped_refptr<ContextProviderCommandBuffer>& context, int surface_id, IDMap<BrowserCompositorOutputSurface>* output_surface_map, const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, scoped_ptr<cc::OverlayCandidateValidator> overlay_candidate_validator) argument
H A Dsoftware_browser_compositor_output_surface.cc22 int surface_id,
26 surface_id,
19 SoftwareBrowserCompositorOutputSurface( scoped_refptr<BrowserCompositorOutputSurfaceProxy> surface_proxy, scoped_ptr<cc::SoftwareOutputDevice> software_device, int surface_id, IDMap<BrowserCompositorOutputSurface>* output_surface_map, const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager) argument
H A Dbrowser_compositor_output_surface.cc17 int surface_id,
21 surface_id_(surface_id),
29 int surface_id,
33 surface_id_(surface_id),
15 BrowserCompositorOutputSurface( const scoped_refptr<ContextProviderCommandBuffer>& context_provider, int surface_id, IDMap<BrowserCompositorOutputSurface>* output_surface_map, const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager) argument
27 BrowserCompositorOutputSurface( scoped_ptr<cc::SoftwareOutputDevice> software_device, int surface_id, IDMap<BrowserCompositorOutputSurface>* output_surface_map, const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager) argument

Completed in 5130 milliseconds

12345