Searched defs:surface_id (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/cc/quads/
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
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
/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_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/cc/surfaces/
H A Dsurface.h16 #include "cc/surfaces/surface_id.h"
37 SurfaceId surface_id() const { return surface_id_; } function in class:cc::Surface
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_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_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_aggregator_test_helpers.cc27 SurfaceId surface_id) {
52 surface_id);
84 AddTestSurfaceQuad(pass, gfx::Size(5, 5), desc.surface_id);
25 AddTestSurfaceQuad(TestRenderPass* pass, const gfx::Size& surface_size, SurfaceId surface_id) argument
/external/chromium_org/content/browser/compositor/
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
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_surfaceless_browser_compositor_output_surface.cc20 int surface_id,
26 surface_id,
18 GpuSurfacelessBrowserCompositorOutputSurface( 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, unsigned internalformat) argument
H A Dgpu_process_transport_factory.cc66 int surface_id; member in struct:content::GpuProcessTransportFactory::PerCompositorData
158 GpuProcessTransportFactory::CreateContextCommon(data->surface_id),
189 per_compositor_data_[compositor]->surface_id,
195 per_compositor_data_[compositor]->surface_id,
229 per_compositor_data_[compositor]->surface_id,
240 per_compositor_data_[compositor]->surface_id,
250 per_compositor_data_[compositor]->surface_id,
271 data->surface_id);
292 GpuSurfaceTracker::Get()->RemoveSurface(data->surface_id);
370 void GpuProcessTransportFactory::OnSurfaceDisplayed(int surface_id) { argument
422 CreateContextCommon(int surface_id) argument
[all...]
H A Dreflector_impl.cc21 int surface_id)
26 surface_id_(surface_id) {
16 ReflectorImpl( ui::Compositor* mirrored_compositor, ui::Layer* mirroring_layer, IDMap<BrowserCompositorOutputSurface>* output_surface_map, base::MessageLoopProxy* compositor_thread_loop, int surface_id) argument
/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...]
H A Dgpu_process_host_ui_shim.cc81 int surface_id) {
85 surface_id, &render_process_id, &render_widget_id))
247 void GpuProcessHostUIShim::OnAcceleratedSurfaceInitialized(int32 surface_id, argument
250 GetRenderWidgetHostViewFromSurfaceID(surface_id);
270 params.surface_id);
272 native_widget, params.surface_handle, params.surface_id,
288 params.surface_id);
330 GetRenderWidgetHostViewFromSurfaceID(params.surface_id);
348 void GpuProcessHostUIShim::OnAcceleratedSurfaceSuspend(int32 surface_id) { argument
353 GetRenderWidgetHostViewFromSurfaceID(surface_id);
80 GetRenderWidgetHostViewFromSurfaceID( int surface_id) argument
[all...]
/external/chromium_org/mojo/services/view_manager/
H A Dserver_view.h11 #include "cc/surfaces/surface_id.h"
68 void SetSurfaceId(cc::SurfaceId surface_id);
69 const cc::SurfaceId surface_id() const { return surface_id_; } function in class:mojo::service::ServerView
H A Dserver_view.cc132 void ServerView::SetSurfaceId(cc::SurfaceId surface_id) { argument
133 surface_id_ = surface_id;
/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
H A Drender_view_impl_params.h33 int32 surface_id,
54 int32 surface_id; member in struct:content::RenderViewImplParams
/external/chromium_org/content/browser/android/
H A Dchild_process_launcher_android.cc184 void RegisterViewSurface(int surface_id, jobject j_surface) { argument
187 Java_ChildProcessLauncher_registerViewSurface(env, surface_id, j_surface);
190 void UnregisterViewSurface(int surface_id) { argument
193 Java_ChildProcessLauncher_unregisterViewSurface(env, 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...]

Completed in 279 milliseconds

123