surface            21 android_webview/browser/scoped_app_gl_state_restore.cc       : surface(new gfx::GLSurfaceStub),
surface            23 android_webview/browser/scoped_app_gl_state_restore.cc                                                 surface.get(),
surface            25 android_webview/browser/scoped_app_gl_state_restore.cc   void MakeCurrent() { context->MakeCurrent(surface.get()); }
surface            28 android_webview/browser/scoped_app_gl_state_restore.cc   scoped_refptr<gfx::GLSurfaceStub> surface;
surface           254 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java             long nativeExternalVideoSurfaceContainerImpl, int playerId, Surface surface);
surface           109 cc/layers/render_surface.h   void SetNearestOcclusionImmuneAncestor(RenderSurface* surface) {
surface           110 cc/layers/render_surface.h     nearest_occlusion_immune_ancestor_ = surface;
surface            49 cc/layers/render_surface_impl.h   void SetNearestOcclusionImmuneAncestor(RenderSurfaceImpl* surface) {
surface            50 cc/layers/render_surface_impl.h     nearest_occlusion_immune_ancestor_ = surface;
surface          1551 cc/layers/tiled_layer_unittest.cc   scoped_refptr<Layer> surface = Layer::Create();
surface          1561 cc/layers/tiled_layer_unittest.cc   root->AddChild(surface);
surface          1563 cc/layers/tiled_layer_unittest.cc   surface->SetForceRenderSurface(true);
surface          1564 cc/layers/tiled_layer_unittest.cc   surface->SetAnchorPoint(gfx::PointF());
surface          1565 cc/layers/tiled_layer_unittest.cc   surface->SetOpacity(0.5);
surface          1566 cc/layers/tiled_layer_unittest.cc   surface->AddChild(child);
surface          1567 cc/layers/tiled_layer_unittest.cc   surface->AddChild(child2);
surface            16 cc/output/overlay_processor.cc OverlayProcessor::OverlayProcessor(OutputSurface* surface,
surface            18 cc/output/overlay_processor.cc     : surface_(surface), resource_provider_(resource_provider) {}
surface            32 cc/output/overlay_processor.h   OverlayProcessor(OutputSurface* surface, ResourceProvider* resource_provider);
surface            54 cc/output/overlay_unittest.cc   SingleOverlayProcessor(OutputSurface* surface,
surface            61 cc/output/overlay_unittest.cc     OutputSurface* surface,
surface            63 cc/output/overlay_unittest.cc     : OverlayProcessor(surface, resource_provider) {
surface            64 cc/output/overlay_unittest.cc   EXPECT_EQ(surface, surface_);
surface            78 cc/output/overlay_unittest.cc   DefaultOverlayProcessor(OutputSurface* surface,
surface            84 cc/output/overlay_unittest.cc     OutputSurface* surface,
surface            86 cc/output/overlay_unittest.cc     : OverlayProcessor(surface, resource_provider) {}
surface           430 cc/resources/resource_provider.cc   skia::RefPtr<SkSurface> surface;
surface           445 cc/resources/resource_provider.cc         surface = skia::AdoptRef(
surface           455 cc/resources/resource_provider.cc       surface = skia::AdoptRef(SkSurface::NewRasterDirect(
surface           462 cc/resources/resource_provider.cc   return surface;
surface           219 cc/surfaces/surface_aggregator.cc   Surface* surface = manager_->GetSurfaceForID(surface_id);
surface           220 cc/surfaces/surface_aggregator.cc   if (!surface)
surface           222 cc/surfaces/surface_aggregator.cc   CompositorFrame* root_surface_frame = surface->GetEligibleFrame();
surface           150 cc/surfaces/surface_aggregator_test_helpers.cc void SubmitFrame(Pass* passes, size_t pass_count, Surface* surface) {
surface           152 cc/surfaces/surface_aggregator_test_helpers.cc   AddPasses(&pass_list, gfx::Rect(surface->size()), passes, pass_count);
surface           160 cc/surfaces/surface_aggregator_test_helpers.cc   surface->QueueFrame(frame.Pass());
surface           163 cc/surfaces/surface_aggregator_test_helpers.cc void QueuePassAsFrame(scoped_ptr<RenderPass> pass, Surface* surface) {
surface           170 cc/surfaces/surface_aggregator_test_helpers.cc   surface->QueueFrame(child_frame.Pass());
surface            88 cc/surfaces/surface_aggregator_test_helpers.h void SubmitFrame(Pass* passes, size_t pass_count, Surface* surface);
surface            90 cc/surfaces/surface_aggregator_test_helpers.h void QueuePassAsFrame(scoped_ptr<RenderPass> pass, Surface* surface);
surface            17 cc/surfaces/surface_manager.cc int SurfaceManager::RegisterAndAllocateIDForSurface(Surface* surface) {
surface            18 cc/surfaces/surface_manager.cc   DCHECK(surface);
surface            20 cc/surfaces/surface_manager.cc   surface_map_[surface_id] = surface;
surface            23 cc/surfaces/surface_manager.h   int RegisterAndAllocateIDForSurface(Surface* surface);
surface            18 cc/surfaces/surface_unittest.cc     Surface surface(&manager, NULL, gfx::Size(5, 5));
surface            19 cc/surfaces/surface_unittest.cc     surface_id = surface.surface_id();
surface            21 cc/surfaces/surface_unittest.cc     EXPECT_EQ(&surface, manager.GetSurfaceForID(surface_id));
surface            79 cc/test/fake_output_surface.h     scoped_ptr<FakeOutputSurface> surface(Create3d());
surface            80 cc/test/fake_output_surface.h     surface->capabilities_.draw_and_swap_full_viewport_every_frame = true;
surface            81 cc/test/fake_output_surface.h     return surface.Pass();
surface            86 cc/test/fake_output_surface.h     scoped_ptr<FakeOutputSurface> surface(new FakeOutputSurface(
surface            88 cc/test/fake_output_surface.h     surface->capabilities_.uses_default_gl_framebuffer = false;
surface            89 cc/test/fake_output_surface.h     return surface.Pass();
surface           406 cc/trees/damage_tracker_unittest.cc   LayerImpl* surface = root->children()[0];
surface           407 cc/trees/damage_tracker_unittest.cc   LayerImpl* child = surface->children()[0];
surface           416 cc/trees/damage_tracker_unittest.cc   surface->SetFilters(filters);
surface          8279 cc/trees/layer_tree_host_common_unittest.cc   scoped_refptr<Layer> surface = Layer::Create();
surface          8280 cc/trees/layer_tree_host_common_unittest.cc   SetLayerPropertiesForTesting(surface.get(),
surface          8287 cc/trees/layer_tree_host_common_unittest.cc   surface->SetForceRenderSurface(true);
surface          8299 cc/trees/layer_tree_host_common_unittest.cc   surface->AddChild(surface_child);
surface          8300 cc/trees/layer_tree_host_common_unittest.cc   root->AddChild(surface);
surface           510 cc/trees/layer_tree_host_unittest_context.cc     scoped_ptr<FakeOutputSurface> surface =
surface           513 cc/trees/layer_tree_host_unittest_context.cc     if (surface)
surface           517 cc/trees/layer_tree_host_unittest_context.cc     return surface.Pass();
surface           219 cc/trees/occlusion_tracker.cc   typename LayerType::RenderSurfaceType* surface =
surface           229 cc/trees/occlusion_tracker.cc   if (finished_target->mask_layer() || !SurfaceOpacityKnown(surface) ||
surface           230 cc/trees/occlusion_tracker.cc       surface->draw_opacity() < 1 ||
surface           236 cc/trees/occlusion_tracker.cc   } else if (!SurfaceTransformsToTargetKnown(surface)) {
surface           100 cc/trees/occlusion_tracker_unittest.cc     typename LayerType::RenderSurfaceType* surface = layer->render_surface();
surface           102 cc/trees/occlusion_tracker_unittest.cc                                         ? surface->replica_draw_transform()
surface           103 cc/trees/occlusion_tracker_unittest.cc                                         : surface->draw_transform();
surface          1627 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          1634 cc/trees/occlusion_tracker_unittest.cc         surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size());
surface          1640 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          1645 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface          1668 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          1675 cc/trees/occlusion_tracker_unittest.cc         surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size());
surface          1681 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          1686 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface          1707 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          1714 cc/trees/occlusion_tracker_unittest.cc         surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size());
surface          1721 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          1726 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface          2140 cc/trees/occlusion_tracker_unittest.cc     typename Types::ContentLayerType* surface =
surface          2147 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2153 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2174 cc/trees/occlusion_tracker_unittest.cc         surface->layer_animation_controller(), 10.0, 0.f, 1.f, false);
surface          2178 cc/trees/occlusion_tracker_unittest.cc     EXPECT_FALSE(surface->draw_opacity_is_animating());
surface          2179 cc/trees/occlusion_tracker_unittest.cc     EXPECT_TRUE(surface->render_surface()->draw_opacity_is_animating());
surface          2206 cc/trees/occlusion_tracker_unittest.cc     this->EnterLayer(surface, &occlusion);
surface          2213 cc/trees/occlusion_tracker_unittest.cc                        surface, gfx::Rect(0, 0, 300, 300)));
surface          2214 cc/trees/occlusion_tracker_unittest.cc     this->LeaveLayer(surface, &occlusion);
surface          2216 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2224 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 300, 300)));
surface          2225 cc/trees/occlusion_tracker_unittest.cc     this->LeaveContributingSurface(surface, &occlusion);
surface          2260 cc/trees/occlusion_tracker_unittest.cc     typename Types::ContentLayerType* surface =
surface          2267 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2273 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2294 cc/trees/occlusion_tracker_unittest.cc         surface->layer_animation_controller(), 10.0, 1.f, 0.f, false);
surface          2298 cc/trees/occlusion_tracker_unittest.cc     EXPECT_FALSE(surface->draw_opacity_is_animating());
surface          2299 cc/trees/occlusion_tracker_unittest.cc     EXPECT_TRUE(surface->render_surface()->draw_opacity_is_animating());
surface          2326 cc/trees/occlusion_tracker_unittest.cc     this->EnterLayer(surface, &occlusion);
surface          2333 cc/trees/occlusion_tracker_unittest.cc                        surface, gfx::Rect(0, 0, 300, 300)));
surface          2334 cc/trees/occlusion_tracker_unittest.cc     this->LeaveLayer(surface, &occlusion);
surface          2336 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2344 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 300, 300)));
surface          2345 cc/trees/occlusion_tracker_unittest.cc     this->LeaveContributingSurface(surface, &occlusion);
surface          2381 cc/trees/occlusion_tracker_unittest.cc     typename Types::ContentLayerType* surface =
surface          2388 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2394 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingLayer(surface,
surface          2405 cc/trees/occlusion_tracker_unittest.cc         surface->layer_animation_controller(), 10.0, 30, 0);
surface          2413 cc/trees/occlusion_tracker_unittest.cc         surface->render_surface()->target_surface_transforms_are_animating());
surface          2415 cc/trees/occlusion_tracker_unittest.cc         surface->render_surface()->screen_space_transforms_are_animating());
surface          2417 cc/trees/occlusion_tracker_unittest.cc     EXPECT_FALSE(surface->draw_transform_is_animating());
surface          2418 cc/trees/occlusion_tracker_unittest.cc     EXPECT_TRUE(surface->screen_space_transform_is_animating());
surface          2459 cc/trees/occlusion_tracker_unittest.cc     this->EnterLayer(surface, &occlusion);
surface          2465 cc/trees/occlusion_tracker_unittest.cc     this->LeaveLayer(surface, &occlusion);
surface          2473 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2474 cc/trees/occlusion_tracker_unittest.cc     this->LeaveContributingSurface(surface, &occlusion);
surface          2510 cc/trees/occlusion_tracker_unittest.cc     typename Types::ContentLayerType* surface = this->CreateDrawingSurface(
surface          2518 cc/trees/occlusion_tracker_unittest.cc     surface->SetOpaqueContentsRect(gfx::Rect(0, 0, 200, 200));
surface          2537 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          2538 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface          2561 cc/trees/occlusion_tracker_unittest.cc     typename Types::ContentLayerType* surface =
surface          2567 cc/trees/occlusion_tracker_unittest.cc     surface->SetOpaqueContentsRect(gfx::Rect(0, 0, 400, 200));
surface          2573 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          2574 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface          2594 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          2600 cc/trees/occlusion_tracker_unittest.cc     this->CreateReplicaLayer(surface,
surface          2623 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          2631 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2636 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 100, 100)));
surface          2651 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          2657 cc/trees/occlusion_tracker_unittest.cc     this->CreateReplicaLayer(surface,
surface          2680 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          2688 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2693 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 100, 100)));
surface          2696 cc/trees/occlusion_tracker_unittest.cc                        surface, true, gfx::Rect(0, 0, 100, 100)));
surface          2712 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          2718 cc/trees/occlusion_tracker_unittest.cc     this->CreateReplicaLayer(surface,
surface          2746 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          2754 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2759 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 100, 100)));
surface          2762 cc/trees/occlusion_tracker_unittest.cc                        surface, true, gfx::Rect(0, 0, 100, 100)));
surface          2781 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface =
surface          2788 cc/trees/occlusion_tracker_unittest.cc         this->CreateDrawingSurface(surface,
surface          2835 cc/trees/occlusion_tracker_unittest.cc     this->EnterLayer(surface, &occlusion);
surface          2840 cc/trees/occlusion_tracker_unittest.cc     this->LeaveLayer(surface, &occlusion);
surface          2842 cc/trees/occlusion_tracker_unittest.cc     this->EnterContributingSurface(surface, &occlusion);
surface          2846 cc/trees/occlusion_tracker_unittest.cc                        surface, false, gfx::Rect(0, 0, 100, 100)));
surface          3450 cc/trees/occlusion_tracker_unittest.cc     typename Types::LayerType* surface = this->CreateDrawingSurface(
surface          3453 cc/trees/occlusion_tracker_unittest.cc         surface, scale_transform, gfx::PointF(), gfx::Size(1, 1));
surface          3462 cc/trees/occlusion_tracker_unittest.cc     this->VisitLayer(surface, &occlusion);
surface          3463 cc/trees/occlusion_tracker_unittest.cc     this->VisitContributingSurface(surface, &occlusion);
surface            75 cc/trees/quad_culler.cc     RenderSurfaceImpl* surface = layer_->render_surface();
surface            79 cc/trees/quad_culler.cc                                         ? surface->replica_draw_transform()
surface            80 cc/trees/quad_culler.cc                                         : surface->draw_transform();
surface           514 chrome/browser/ui/gtk/browser_window_gtk.cc   gfx::CairoCachedSurface* surface =
surface           516 chrome/browser/ui/gtk/browser_window_gtk.cc   surface->SetSource(cr, widget, 0, GetVerticalOffset());
surface           531 chrome/browser/ui/gtk/browser_window_gtk.cc   gfx::CairoCachedSurface* surface = theme_provider->GetImageNamed(
surface           533 chrome/browser/ui/gtk/browser_window_gtk.cc   if (event->area.y < surface->Height()) {
surface           534 chrome/browser/ui/gtk/browser_window_gtk.cc     surface->SetSource(cr, widget, 0, GetVerticalOffset());
surface           539 chrome/browser/ui/gtk/browser_window_gtk.cc                     event->area.width, surface->Height() - event->area.y);
surface           757 chrome/browser/ui/gtk/gtk_util.cc   gfx::CairoCachedSurface* surface = image.ToCairo();
surface           758 chrome/browser/ui/gtk/gtk_util.cc   surface->SetSource(cr, widget, dest_x, dest_y);
surface           760 chrome/browser/ui/gtk/gtk_util.cc   cairo_rectangle(cr, dest_x, dest_y, surface->Width(), surface->Height());
surface            43 chrome/browser/ui/gtk/nine_box.cc     cairo_surface_t* surface = cairo_surface_create_similar(
surface            45 chrome/browser/ui/gtk/nine_box.cc     cairo_t* tiled = cairo_create(surface);
surface            51 chrome/browser/ui/gtk/nine_box.cc     cairo_set_source_surface(cr, surface, x, y);
surface            55 chrome/browser/ui/gtk/nine_box.cc     cairo_surface_destroy(surface);
surface           582 chrome/browser/ui/gtk/panels/panel_gtk.cc   gfx::CairoCachedSurface* surface = GetFrameBackground().ToCairo();
surface           583 chrome/browser/ui/gtk/panels/panel_gtk.cc   surface->SetSource(cr, widget, 0, 0);
surface           456 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc   cairo_surface_t* surface = renderers_[index]->PaintToSurface(widget, cr);
surface           470 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc   cairo_set_source_surface(cr, surface, paint_at, 0);
surface           472 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc   cairo_surface_destroy(surface);
surface            68 content/app/android/child_process_service.cc     gfx::ScopedJavaSurface surface(
surface            72 content/app/android/child_process_service.cc     if (surface.j_surface().is_null())
surface            76 content/app/android/child_process_service.cc         env, surface.j_surface().obj());
surface            86 content/app/android/child_process_service.cc     gfx::ScopedJavaSurface surface(
surface            90 content/app/android/child_process_service.cc     if (surface.j_surface().is_null())
surface            94 content/app/android/child_process_service.cc         ANativeWindow_fromSurface(env, surface.j_surface().obj());
surface            34 content/browser/android/child_process_launcher_android.cc     const base::android::JavaRef<jobject>& surface,
surface            56 content/browser/android/child_process_launcher_android.cc         gfx::ScopedJavaSurface scoped_surface(surface);
surface           145 content/browser/android/child_process_launcher_android.cc     jint pid, jobject surface, jint primary_id, jint secondary_id) {
surface           147 content/browser/android/child_process_launcher_android.cc   jsurface.Reset(env, surface);
surface           182 content/browser/android/content_video_view.cc                                   jobject surface) {
surface           184 content/browser/android/content_video_view.cc       gfx::ScopedJavaSurface::AcquireExternalSurface(surface));
surface            64 content/browser/android/content_video_view.h   void SetSurface(JNIEnv*, jobject obj, jobject surface);
surface            81 content/browser/android/content_view_render_view.cc     jint format, jint width, jint height, jobject surface) {
surface            84 content/browser/android/content_view_render_view.cc     compositor_->SetSurface(surface);
surface            34 content/browser/android/content_view_render_view.h                       jint format, jint width, jint height, jobject surface);
surface            36 content/browser/android/in_process/synchronous_compositor_factory_impl.cc     scoped_refptr<gfx::GLSurface> surface,
surface            41 content/browser/android/in_process/synchronous_compositor_factory_impl.cc   if (!surface)
surface            42 content/browser/android/in_process/synchronous_compositor_factory_impl.cc     surface = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1));
surface            50 content/browser/android/in_process/synchronous_compositor_factory_impl.cc           surface, service, share_context, in_process_attribs, gpu_preference));
surface           178 content/browser/android/in_process/synchronous_compositor_factory_impl.cc         scoped_refptr<gfx::GLSurface> surface) {
surface           179 content/browser/android/in_process/synchronous_compositor_factory_impl.cc   DCHECK(surface);
surface           185 content/browser/android/in_process/synchronous_compositor_factory_impl.cc           surface, service_, wrapped_gl_context_for_compositor_thread_)),
surface            66 content/browser/android/in_process/synchronous_compositor_factory_impl.h           scoped_refptr<gfx::GLSurface> surface);
surface            92 content/browser/android/in_process/synchronous_compositor_impl.cc     scoped_refptr<gfx::GLSurface> surface) {
surface           101 content/browser/android/in_process/synchronous_compositor_impl.cc   g_factory.Get().CreateOnscreenContextProviderForCompositorThread(surface);
surface            52 content/browser/android/in_process/synchronous_compositor_impl.h       scoped_refptr<gfx::GLSurface> surface) OVERRIDE;
surface            39 content/browser/android/in_process/synchronous_compositor_output_surface.cc   SoftwareDevice(SynchronousCompositorOutputSurface* surface)
surface            40 content/browser/android/in_process/synchronous_compositor_output_surface.cc     : surface_(surface) {
surface            43 content/browser/android/surface_texture_peer_browser_impl.cc         gfx::ScopedJavaSurface surface(surface_texture.get());
surface            44 content/browser/android/surface_texture_peer_browser_impl.cc         player->SetVideoSurface(surface.Pass());
surface            54 content/browser/compositor/browser_compositor_output_surface_proxy.cc   BrowserCompositorOutputSurface* surface = surface_map_->Lookup(surface_id);
surface            55 content/browser/compositor/browser_compositor_output_surface_proxy.cc   if (surface)
surface            56 content/browser/compositor/browser_compositor_output_surface_proxy.cc     surface->OnUpdateVSyncParametersFromGpu(timebase, interval);
surface           231 content/browser/compositor/gpu_process_transport_factory.cc     scoped_ptr<SoftwareBrowserCompositorOutputSurface> surface(
surface           238 content/browser/compositor/gpu_process_transport_factory.cc     return surface.PassAs<cc::OutputSurface>();
surface           251 content/browser/compositor/gpu_process_transport_factory.cc   scoped_ptr<BrowserCompositorOutputSurface> surface(
surface           259 content/browser/compositor/gpu_process_transport_factory.cc     data->reflector->ReattachToOutputSurfaceFromMainThread(surface.get());
surface           261 content/browser/compositor/gpu_process_transport_factory.cc   return surface.PassAs<cc::OutputSurface>();
surface            51 content/browser/compositor/reflector_impl.h       BrowserCompositorOutputSurface* surface);
surface            87 content/browser/compositor/reflector_impl.h       BrowserCompositorOutputSurface* surface);
surface           208 content/browser/gpu/browser_gpu_channel_host_factory.cc   gfx::GLSurfaceHandle surface =
surface           212 content/browser/gpu/browser_gpu_channel_host_factory.cc       surface,
surface            25 content/browser/gpu/gpu_surface_tracker.cc     const gfx::PluginWindowHandle& surface) {
surface            29 content/browser/gpu/gpu_surface_tracker.cc   manager->ReleasePermanentXID(surface);
surface            43 content/browser/gpu/gpu_surface_tracker.cc     const gfx::PluginWindowHandle& surface)
surface            44 content/browser/gpu/gpu_surface_tracker.cc     : surface_(surface) {
surface            48 content/browser/gpu/gpu_surface_tracker.cc       LOG(ERROR) << "Surface " << surface << " cannot be referenced.";
surface           232 content/browser/media/android/browser_media_player_manager.cc     gfx::ScopedJavaSurface surface) {
surface           237 content/browser/media/android/browser_media_player_manager.cc   bool empty_surface = surface.IsEmpty();
surface           238 content/browser/media/android/browser_media_player_manager.cc   player->SetVideoSurface(surface.Pass());
surface           426 content/browser/media/android/browser_media_player_manager.cc                                                            jobject surface) {
surface           430 content/browser/media/android/browser_media_player_manager.cc         gfx::ScopedJavaSurface::AcquireExternalSurface(surface));
surface            64 content/browser/media/android/browser_media_player_manager.h   virtual void SetVideoSurface(gfx::ScopedJavaSurface surface);
surface           109 content/browser/media/android/browser_media_player_manager.h   void AttachExternalVideoSurface(int player_id, jobject surface);
surface           669 content/browser/renderer_host/backing_store_gtk.cc   cairo_surface_t* surface = cairo_xlib_surface_create(
surface           679 content/browser/renderer_host/backing_store_gtk.cc   cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
surface           192 content/browser/renderer_host/compositor_impl_android.cc                      it->second->surface.j_surface());
surface           198 content/browser/renderer_host/compositor_impl_android.cc         : surface_texture(surface_texture), surface(surface_texture) {}
surface           201 content/browser/renderer_host/compositor_impl_android.cc     gfx::ScopedJavaSurface surface;
surface           349 content/browser/renderer_host/compositor_impl_android.cc void CompositorImpl::SetSurface(jobject surface) {
surface           351 content/browser/renderer_host/compositor_impl_android.cc   base::android::ScopedJavaLocalRef<jobject> j_surface(env, surface);
surface           364 content/browser/renderer_host/compositor_impl_android.cc   if (surface)
surface           365 content/browser/renderer_host/compositor_impl_android.cc     window = ANativeWindow_fromSurface(env, surface);
surface            68 content/browser/renderer_host/compositor_impl_android.h   virtual void SetSurface(jobject surface) OVERRIDE;
surface           132 content/common/gpu/gpu_command_buffer_stub.h   gfx::GLSurface* surface() const { return surface_.get(); }
surface            32 content/common/gpu/image_transport_surface.cc   scoped_refptr<gfx::GLSurface> surface;
surface            34 content/common/gpu/image_transport_surface.cc     surface = new TextureImageTransportSurface(manager, stub, handle);
surface            36 content/common/gpu/image_transport_surface.cc     surface = CreateNativeSurface(manager, stub, handle);
surface            38 content/common/gpu/image_transport_surface.cc   if (!surface.get() || !surface->Initialize())
surface            40 content/common/gpu/image_transport_surface.cc   return surface;
surface            43 content/common/gpu/image_transport_surface.cc ImageTransportHelper::ImageTransportHelper(ImageTransportSurface* surface,
surface            47 content/common/gpu/image_transport_surface.cc     : surface_(surface),
surface           219 content/common/gpu/image_transport_surface.cc     gfx::GLSurface* surface,
surface           221 content/common/gpu/image_transport_surface.cc     : GLSurfaceAdapter(surface),
surface           277 content/common/gpu/image_transport_surface.cc     params.size = surface()->GetSize();
surface           304 content/common/gpu/image_transport_surface.cc     params.surface_size = surface()->GetSize();
surface           105 content/common/gpu/image_transport_surface.h   ImageTransportHelper(ImageTransportSurface* surface,
surface           183 content/common/gpu/image_transport_surface.h                                    gfx::GLSurface* surface,
surface            39 content/common/gpu/image_transport_surface_android.cc                                gfx::GLSurface* surface,
surface            63 content/common/gpu/image_transport_surface_android.cc                        gfx::GLSurface* surface,
surface            79 content/common/gpu/image_transport_surface_android.cc     gfx::GLSurface* surface,
surface            81 content/common/gpu/image_transport_surface_android.cc     : PassThroughImageTransportSurface(manager, stub, surface, true),
surface            87 content/common/gpu/image_transport_surface_android.cc   if (!surface())
surface           151 content/common/gpu/image_transport_surface_android.cc                                            gfx::GLSurface* surface,
surface           153 content/common/gpu/image_transport_surface_android.cc     : PassThroughImageTransportSurface(manager, stub, surface, transport) {}
surface           182 content/common/gpu/image_transport_surface_android.cc   scoped_refptr<gfx::GLSurface> surface =
surface           184 content/common/gpu/image_transport_surface_android.cc   bool initialize_success = surface->Initialize();
surface           191 content/common/gpu/image_transport_surface_android.cc       new DirectSurfaceAndroid(manager, stub, surface.get(), false));
surface            17 content/common/gpu/image_transport_surface_linux.cc   scoped_refptr<gfx::GLSurface> surface =
surface            19 content/common/gpu/image_transport_surface_linux.cc   if (!surface.get())
surface            20 content/common/gpu/image_transport_surface_linux.cc     return surface;
surface            22 content/common/gpu/image_transport_surface_linux.cc       manager, stub, surface.get(), handle.is_transport()));
surface           544 content/common/gpu/image_transport_surface_mac.cc       scoped_refptr<gfx::GLSurface> surface(new DRTSurfaceOSMesa());
surface           545 content/common/gpu/image_transport_surface_mac.cc       if (!surface.get() || !surface->Initialize())
surface           546 content/common/gpu/image_transport_surface_mac.cc         return surface;
surface           548 content/common/gpu/image_transport_surface_mac.cc           manager, stub, surface.get(), false));
surface            31 content/common/gpu/image_transport_surface_win.cc   scoped_refptr<gfx::GLSurface> surface =
surface            33 content/common/gpu/image_transport_surface_win.cc   if (!surface)
surface            34 content/common/gpu/image_transport_surface_win.cc     return surface;
surface            36 content/common/gpu/image_transport_surface_win.cc       manager, stub, surface.get(), handle.is_transport()));
surface           442 content/common/gpu/media/android_video_decode_accelerator.cc   gfx::ScopedJavaSurface surface(surface_texture_.get());
surface           447 content/common/gpu/media/android_video_decode_accelerator.cc       codec_, false, gfx::Size(320, 240), surface.j_surface().obj(), NULL));
surface           854 content/common/gpu/media/dxva_video_decode_accelerator.cc   base::win::ScopedComPtr<IDirect3DSurface9> surface;
surface           856 content/common/gpu/media/dxva_video_decode_accelerator.cc                     IID_PPV_ARGS(surface.Receive()));
surface           883 content/common/gpu/media/dxva_video_decode_accelerator.cc   hr = surface->GetDesc(&surface_desc);
surface           917 content/common/gpu/media/dxva_video_decode_accelerator.cc       base::win::ScopedComPtr<IDirect3DSurface9> surface;
surface           919 content/common/gpu/media/dxva_video_decode_accelerator.cc                         IID_PPV_ARGS(surface.Receive()));
surface           925 content/common/gpu/media/dxva_video_decode_accelerator.cc       hr = surface->GetDesc(&surface_desc);
surface           938 content/common/gpu/media/dxva_video_decode_accelerator.cc           index->second->CopyOutputSampleDataToPictureBuffer(*this, surface),
surface           299 content/common/gpu/media/vaapi_h264_decoder_unittest.cc     scoped_refptr<VASurface> surface(
surface           301 content/common/gpu/media/vaapi_h264_decoder_unittest.cc     decoder_->ReuseSurface(surface);
surface           121 content/common/gpu/stream_texture_android.cc           owner_stub_->decoder()->GetGLContext(), owner_stub_->surface()));
surface           369 content/gpu/gpu_main.cc   scoped_refptr<gfx::GLSurface> surface(
surface           371 content/gpu/gpu_main.cc   if (!surface.get()) {
surface           379 content/gpu/gpu_main.cc       NULL, surface.get(), gfx::PreferDiscreteGpu));
surface           386 content/gpu/gpu_main.cc   if (context->MakeCurrent(surface.get())) {
surface           387 content/gpu/gpu_main.cc     context->ReleaseCurrent(surface.get());
surface            31 content/plugin/webplugin_accelerated_surface_proxy_mac.cc   AcceleratedSurface* surface = new AcceleratedSurface;
surface            34 content/plugin/webplugin_accelerated_surface_proxy_mac.cc   if (!surface->Initialize(NULL, true, gpu_preference)) {
surface            35 content/plugin/webplugin_accelerated_surface_proxy_mac.cc     delete surface;
surface            39 content/plugin/webplugin_accelerated_surface_proxy_mac.cc   return new WebPluginAcceleratedSurfaceProxy(plugin_proxy, surface);
surface            44 content/plugin/webplugin_accelerated_surface_proxy_mac.cc     AcceleratedSurface* surface)
surface            46 content/plugin/webplugin_accelerated_surface_proxy_mac.cc           surface_(surface) {
surface            38 content/plugin/webplugin_accelerated_surface_proxy_mac.h                                    AcceleratedSurface* surface);
surface           249 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java         Surface surface = null;
surface           252 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java             surface = (Surface) surfaceObject;
surface           254 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java             surface = new Surface((SurfaceTexture) surfaceObject);
surface           261 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java             mCallback.establishSurfacePeer(pid, surface, primaryID, secondaryID);
surface           267 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java                 surface.release();
surface           407 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java                     int pid, Surface surface, int primaryID, int secondaryID) {
surface           415 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java                 nativeEstablishSurfacePeer(pid, surface, primaryID, secondaryID);
surface           458 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java             int pid, Surface surface, int primaryID, int secondaryID);
surface           469 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java     private native void nativeSetSurface(long nativeContentVideoView, Surface surface);
surface           340 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java             int format, int width, int height, Surface surface);
surface            62 content/public/browser/android/compositor.h   virtual void SetSurface(jobject surface) = 0;
surface            64 content/public/browser/android/synchronous_compositor.h   virtual bool InitializeHwDraw(scoped_refptr<gfx::GLSurface> surface) = 0;
surface            55 gpu/command_buffer/client/gl_in_process_context.cc       scoped_refptr<gfx::GLSurface> surface,
surface           123 gpu/command_buffer/client/gl_in_process_context.cc     scoped_refptr<gfx::GLSurface> surface,
surface           227 gpu/command_buffer/client/gl_in_process_context.cc   if (!command_buffer_->Initialize(surface,
surface           342 gpu/command_buffer/client/gl_in_process_context.cc     scoped_refptr<gfx::GLSurface> surface,
surface           350 gpu/command_buffer/client/gl_in_process_context.cc       surface,
surface           351 gpu/command_buffer/client/gl_in_process_context.cc       surface->IsOffscreen(),
surface           355 gpu/command_buffer/client/gl_in_process_context.cc       surface->GetSize(),
surface            68 gpu/command_buffer/client/gl_in_process_context.h       scoped_refptr<gfx::GLSurface> surface,
surface            56 gpu/command_buffer/service/gl_context_virtual.cc bool GLContextVirtual::MakeCurrent(gfx::GLSurface* surface) {
surface            58 gpu/command_buffer/service/gl_context_virtual.cc     return shared_context_->MakeVirtuallyCurrent(this, surface);
surface            64 gpu/command_buffer/service/gl_context_virtual.cc void GLContextVirtual::ReleaseCurrent(gfx::GLSurface* surface) {
surface            65 gpu/command_buffer/service/gl_context_virtual.cc   if (IsCurrent(surface)) {
surface            67 gpu/command_buffer/service/gl_context_virtual.cc     shared_context_->ReleaseCurrent(surface);
surface            71 gpu/command_buffer/service/gl_context_virtual.cc bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) {
surface            73 gpu/command_buffer/service/gl_context_virtual.cc   if (surface &&
surface            74 gpu/command_buffer/service/gl_context_virtual.cc       !surface->IsOffscreen())
surface            75 gpu/command_buffer/service/gl_context_virtual.cc     return shared_context_->IsCurrent(surface);
surface            41 gpu/command_buffer/service/gl_context_virtual.h   virtual bool MakeCurrent(gfx::GLSurface* surface) OVERRIDE;
surface            42 gpu/command_buffer/service/gl_context_virtual.h   virtual void ReleaseCurrent(gfx::GLSurface* surface) OVERRIDE;
surface            43 gpu/command_buffer/service/gl_context_virtual.h   virtual bool IsCurrent(gfx::GLSurface* surface) OVERRIDE;
surface           584 gpu/command_buffer/service/gles2_cmd_decoder.cc   virtual bool Initialize(const scoped_refptr<gfx::GLSurface>& surface,
surface           592 gpu/command_buffer/service/gles2_cmd_decoder.cc       const scoped_refptr<gfx::GLSurface>& surface) OVERRIDE;
surface          2298 gpu/command_buffer/service/gles2_cmd_decoder.cc     const scoped_refptr<gfx::GLSurface>& surface,
surface          2305 gpu/command_buffer/service/gles2_cmd_decoder.cc   DCHECK(context->IsCurrent(surface.get()));
surface          2332 gpu/command_buffer/service/gles2_cmd_decoder.cc   surface_ = surface;
surface          2624 gpu/command_buffer/service/gles2_cmd_decoder.cc   supports_post_sub_buffer_ = surface->SupportsPostSubBuffer();
surface          2627 gpu/command_buffer/service/gles2_cmd_decoder.cc       !surface->IsOffscreen())
surface          3449 gpu/command_buffer/service/gles2_cmd_decoder.cc     const scoped_refptr<gfx::GLSurface>& surface) {
surface          3452 gpu/command_buffer/service/gles2_cmd_decoder.cc   surface_ = surface;
surface          9685 gpu/command_buffer/service/gles2_cmd_decoder.cc     CFTypeRef surface = it->second;
surface          9686 gpu/command_buffer/service/gles2_cmd_decoder.cc     CFRelease(surface);
surface          9739 gpu/command_buffer/service/gles2_cmd_decoder.cc   CFTypeRef surface = surface_support->IOSurfaceLookup(io_surface_id);
surface          9740 gpu/command_buffer/service/gles2_cmd_decoder.cc   if (!surface) {
surface          9752 gpu/command_buffer/service/gles2_cmd_decoder.cc       std::make_pair(texture_ref->service_id(), surface));
surface          9765 gpu/command_buffer/service/gles2_cmd_decoder.cc       surface,
surface           105 gpu/command_buffer/service/gles2_cmd_decoder.h   virtual bool Initialize(const scoped_refptr<gfx::GLSurface>& surface,
surface           116 gpu/command_buffer/service/gles2_cmd_decoder.h   virtual void SetSurface(const scoped_refptr<gfx::GLSurface>& surface) = 0;
surface            37 gpu/command_buffer/service/gles2_cmd_decoder_mock.h                bool(const scoped_refptr<gfx::GLSurface>& surface,
surface            44 gpu/command_buffer/service/gles2_cmd_decoder_mock.h   MOCK_METHOD1(SetSurface, void(const scoped_refptr<gfx::GLSurface>& surface));
surface           261 gpu/command_buffer/service/in_process_command_buffer.cc     scoped_refptr<gfx::GLSurface> surface,
surface           272 gpu/command_buffer/service/in_process_command_buffer.cc   if (surface) {
surface           276 gpu/command_buffer/service/in_process_command_buffer.cc     surface_ = surface;
surface            73 gpu/command_buffer/service/in_process_command_buffer.h   bool Initialize(scoped_refptr<gfx::GLSurface> surface,
surface           234 gpu/command_buffer/tests/gl_manager.cc void GLManager::SetSurface(gfx::GLSurface* surface) {
surface           235 gpu/command_buffer/tests/gl_manager.cc   decoder_->SetSurface(surface);
surface            73 gpu/command_buffer/tests/gl_manager.h   void SetSurface(gfx::GLSurface* surface);
surface            24 gpu/config/gpu_info_collector.cc   scoped_refptr<gfx::GLSurface> surface(
surface            26 gpu/config/gpu_info_collector.cc   if (!surface.get()) {
surface            31 gpu/config/gpu_info_collector.cc   return surface;
surface            34 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLContext> InitializeGLContext(gfx::GLSurface* surface) {
surface            38 gpu/config/gpu_info_collector.cc                                       surface,
surface            45 gpu/config/gpu_info_collector.cc   if (!context->MakeCurrent(surface)) {
surface            87 gpu/config/gpu_info_collector.cc   scoped_refptr<gfx::GLSurface> surface(InitializeGLSurface());
surface            88 gpu/config/gpu_info_collector.cc   if (!surface.get()) {
surface            93 gpu/config/gpu_info_collector.cc   scoped_refptr<gfx::GLContext> context(InitializeGLContext(surface.get()));
surface           123 gpu/config/gpu_info_collector.cc   context->ReleaseCurrent(surface.get());
surface            94 gpu/gles2_conform_support/egl/display.cc bool Display::IsValidSurface(EGLSurface surface) {
surface            95 gpu/gles2_conform_support/egl/display.cc   return (surface != NULL) && (surface == surface_.get());
surface           199 gpu/gles2_conform_support/egl/display.cc void Display::DestroySurface(EGLSurface surface) {
surface           200 gpu/gles2_conform_support/egl/display.cc   DCHECK(IsValidSurface(surface));
surface           211 gpu/gles2_conform_support/egl/display.cc void Display::SwapBuffers(EGLSurface surface) {
surface           212 gpu/gles2_conform_support/egl/display.cc   DCHECK(IsValidSurface(surface));
surface            60 gpu/gles2_conform_support/egl/display.h   bool IsValidSurface(EGLSurface surface);
surface            64 gpu/gles2_conform_support/egl/display.h   void DestroySurface(EGLSurface surface);
surface            65 gpu/gles2_conform_support/egl/display.h   void SwapBuffers(EGLSurface surface);
surface            62 gpu/gles2_conform_support/egl/egl.cc EGLint ValidateDisplaySurface(EGLDisplay dpy, EGLSurface surface) {
surface            68 gpu/gles2_conform_support/egl/egl.cc   if (!display->IsValidSurface(surface))
surface           211 gpu/gles2_conform_support/egl/egl.cc   EGLSurface surface = display->CreateWindowSurface(config, win, attrib_list);
surface           212 gpu/gles2_conform_support/egl/egl.cc   if (surface == EGL_NO_SURFACE)
surface           215 gpu/gles2_conform_support/egl/egl.cc   return EglSuccess(surface);
surface           232 gpu/gles2_conform_support/egl/egl.cc                              EGLSurface surface) {
surface           233 gpu/gles2_conform_support/egl/egl.cc   EGLint error_code = ValidateDisplaySurface(dpy, surface);
surface           238 gpu/gles2_conform_support/egl/egl.cc   display->DestroySurface(surface);
surface           243 gpu/gles2_conform_support/egl/egl.cc                            EGLSurface surface,
surface           274 gpu/gles2_conform_support/egl/egl.cc                             EGLSurface surface,
surface           281 gpu/gles2_conform_support/egl/egl.cc                            EGLSurface surface,
surface           287 gpu/gles2_conform_support/egl/egl.cc                               EGLSurface surface,
surface           383 gpu/gles2_conform_support/egl/egl.cc EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) {
surface           384 gpu/gles2_conform_support/egl/egl.cc   EGLint error_code = ValidateDisplaySurface(dpy, surface);
surface           389 gpu/gles2_conform_support/egl/egl.cc   display->SwapBuffers(surface);
surface           394 gpu/gles2_conform_support/egl/egl.cc                           EGLSurface surface,
surface            82 gpu/tools/compositor_model_bench/render_tree.h   void set_targetSurface(int surface) {
surface            83 gpu/tools/compositor_model_bench/render_tree.h     targetSurface_ = surface;
surface           446 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java     private boolean configureVideo(MediaFormat format, Surface surface, MediaCrypto crypto,
surface           449 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java             mMediaCodec.configure(format, surface, crypto, flags);
surface            73 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java     protected void setSurface(Surface surface) {
surface            74 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java         getLocalPlayer().setSurface(surface);
surface           640 media/base/android/media_codec_bridge.cc                                                   jobject surface,
surface           663 media/base/android/media_codec_bridge.cc                                             surface,
surface           250 media/base/android/media_codec_bridge.h       jobject surface,        // Output surface, optional.
surface            44 media/base/android/media_player_android.h   virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) = 0;
surface           126 media/base/android/media_player_bridge.cc void MediaPlayerBridge::SetVideoSurface(gfx::ScopedJavaSurface surface) {
surface           128 media/base/android/media_player_bridge.cc     if (surface.IsEmpty())
surface           137 media/base/android/media_player_bridge.cc       env, j_media_player_bridge_.obj(), surface.j_surface().obj());
surface            59 media/base/android/media_player_bridge.h   virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) OVERRIDE;
surface            77 media/base/android/media_source_player.cc void MediaSourcePlayer::SetVideoSurface(gfx::ScopedJavaSurface surface) {
surface            81 media/base/android/media_source_player.cc   if (!surface.IsEmpty() &&
surface            82 media/base/android/media_source_player.cc       IsProtectedSurfaceRequired() && !surface.is_protected()) {
surface            86 media/base/android/media_source_player.cc   surface_ =  surface.Pass();
surface            50 media/base/android/media_source_player.h   virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) OVERRIDE;
surface           620 media/base/android/media_source_player_unittest.cc     gfx::ScopedJavaSurface surface = gfx::ScopedJavaSurface(surface_texture);
surface           621 media/base/android/media_source_player_unittest.cc     player_.SetVideoSurface(surface.Pass());
surface           812 media/base/android/media_source_player_unittest.cc   gfx::ScopedJavaSurface surface(surface_texture.get());
surface           817 media/base/android/media_source_player_unittest.cc   player_.SetVideoSurface(surface.Pass());
surface            31 media/base/android/video_decoder_job.cc     jobject surface,
surface            37 media/base/android/video_decoder_job.cc       video_codec, is_secure, size, surface, media_crypto));
surface            34 media/base/android/video_decoder_job.h                                  jobject surface,
surface            68 mojo/services/gles2/command_buffer_impl.cc   scoped_refptr<gfx::GLSurface> surface =
surface            70 mojo/services/gles2/command_buffer_impl.cc   if (!surface.get())
surface            75 mojo/services/gles2/command_buffer_impl.cc       NULL, surface.get(), gfx::PreferIntegratedGpu);
surface            79 mojo/services/gles2/command_buffer_impl.cc   if (!context->MakeCurrent(surface.get()))
surface           106 mojo/services/gles2/command_buffer_impl.cc   if (!decoder_->Initialize(surface,
surface            79 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java         long nativeNativeViewportAndroid, Surface surface);
surface           273 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
surface           274 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface,
surface           288 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface,
surface           290 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
surface           291 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
surface           312 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface);
surface           313 ppapi/lib/gl/include/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
surface            71 ppapi/lib/gl/include/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
surface            72 ppapi/lib/gl/include/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
surface            74 ppapi/lib/gl/include/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
surface            75 ppapi/lib/gl/include/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
surface           291 ppapi/lib/gl/include/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
surface           293 ppapi/lib/gl/include/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
surface            31 skia/ext/bitmap_platform_device_cairo.cc                                cairo_surface_t* surface,
surface            34 skia/ext/bitmap_platform_device_cairo.cc   if (!surface) {
surface            38 skia/ext/bitmap_platform_device_cairo.cc       = SkImageInfo::MakeN32Premul(cairo_image_surface_get_width(surface),
surface            39 skia/ext/bitmap_platform_device_cairo.cc                                    cairo_image_surface_get_height(surface));
surface            41 skia/ext/bitmap_platform_device_cairo.cc                             cairo_image_surface_get_data(surface),
surface            42 skia/ext/bitmap_platform_device_cairo.cc                             cairo_image_surface_get_stride(surface),
surface            44 skia/ext/bitmap_platform_device_cairo.cc                             static_cast<void*>(surface));
surface           100 skia/ext/bitmap_platform_device_cairo.cc                                                    cairo_surface_t* surface) {
surface           101 skia/ext/bitmap_platform_device_cairo.cc   if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
surface           102 skia/ext/bitmap_platform_device_cairo.cc     cairo_surface_destroy(surface);
surface           108 skia/ext/bitmap_platform_device_cairo.cc   cairo_t* cairo = cairo_create(surface);
surface           111 skia/ext/bitmap_platform_device_cairo.cc   if (!InstallCairoSurfacePixels(&bitmap, surface, is_opaque)) {
surface           123 skia/ext/bitmap_platform_device_cairo.cc   cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32,
surface           126 skia/ext/bitmap_platform_device_cairo.cc   BitmapPlatformDevice* device = Create(width, height, is_opaque, surface);
surface           147 skia/ext/bitmap_platform_device_cairo.cc   cairo_surface_t* surface = cairo_image_surface_create_for_data(
surface           151 skia/ext/bitmap_platform_device_cairo.cc   return Create(width, height, is_opaque, surface);
surface           178 skia/ext/bitmap_platform_device_cairo.cc   cairo_surface_t* surface = cairo_get_target(cairo_);
surface           180 skia/ext/bitmap_platform_device_cairo.cc   cairo_surface_flush(surface);
surface           183 skia/ext/bitmap_platform_device_cairo.cc   cairo_surface_mark_dirty(surface);
surface           188 skia/ext/bitmap_platform_device_cairo.cc     PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
surface            92 skia/ext/bitmap_platform_device_cairo.h   virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
surface           101 skia/ext/bitmap_platform_device_cairo.h                                       cairo_surface_t* surface);
surface            70 skia/ext/bitmap_platform_device_skia.cc     PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
surface            46 skia/ext/bitmap_platform_device_skia.h   virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
surface           121 skia/ext/platform_device.h   virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
surface            63 skia/ext/platform_device_win.cc void PlatformDevice::DrawToNativeContext(PlatformSurface surface, int x, int y,
surface            82 skia/ext/vector_platform_device_skia.cc     PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
surface            45 skia/ext/vector_platform_device_skia.h   virtual void DrawToNativeContext(PlatformSurface surface,
surface           273 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
surface           274 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface,
surface           288 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface,
surface           290 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
surface           291 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
surface           312 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface);
surface           313 third_party/khronos/EGL/egl.h EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
surface            71 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
surface            72 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
surface            74 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
surface            75 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
surface           290 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
surface           292 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
surface           298 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
surface           300 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
surface            35 third_party/libva/va/egl/va_backend_egl.h         VASurfaceID surface,
surface            49 third_party/libva/va/glx/va_backend_glx.h         VASurfaceID             surface,
surface           101 third_party/libva/va/glx/va_glx.h     VASurfaceID  surface,
surface          1955 third_party/libva/va/va.h     VASurfaceID surface,
surface          2118 third_party/libva/va/va.h     VASurfaceID surface,
surface          2134 third_party/libva/va/va.h     VASurfaceID surface,
surface          2179 third_party/libva/va/va.h     VASurfaceID surface,
surface            64 third_party/libva/va/va_android.h     VASurfaceID surface,	
surface           204 third_party/libva/va/va_backend.h 		VASurfaceID surface,
surface           235 third_party/libva/va/va_backend.h 		VASurfaceID surface,
surface           257 third_party/libva/va/va_backend.h 		VASurfaceID surface,
surface           267 third_party/libva/va/va_backend.h 		VASurfaceID surface,
surface           374 third_party/libva/va/va_backend.h                 VASurfaceID surface,
surface           392 third_party/libva/va/va_backend.h                 VASurfaceID surface
surface            51 third_party/libva/va/va_backend_tpi.h         VASurfaceID surface,
surface            72 third_party/libva/va/va_tpi.h     VASurfaceID surface,
surface           153 third_party/libva/va/va_trace.h 	VASurfaceID surface,
surface           185 third_party/libva/va/va_trace.h     VASurfaceID surface,
surface           407 third_party/libva/va/va_vpp.h     VASurfaceID         surface;
surface            51 third_party/libva/va/va_x11.h     VASurfaceID surface,	
surface            51 third_party/libva/va/wayland/va_backend_wayland.h         VASurfaceID             surface,
surface            93 third_party/libva/va/wayland/va_wayland.h     VASurfaceID         surface,
surface            62 ui/gfx/image/cairo_cached_surface.cc   cairo_surface_t* surface = GetSurfaceFor(cr, display);
surface            63 ui/gfx/image/cairo_cached_surface.cc   cairo_set_source_surface(cr, surface, x, y);
surface            77 ui/gfx/image/cairo_cached_surface.cc   cairo_surface_t* surface = GetSurfaceFor(cr, display);
surface            78 ui/gfx/image/cairo_cached_surface.cc   cairo_mask_surface(cr, surface, x, y);
surface           707 ui/gfx/image/image.cc   return rep->AsImageRepCairo()->surface();
surface           229 ui/gfx/ozone/dri/dri_surface_factory.cc   scoped_ptr<DriSurface> surface(CreateSurface(
surface           233 ui/gfx/ozone/dri/dri_surface_factory.cc   if (!surface->Initialize()) {
surface           241 ui/gfx/ozone/dri/dri_surface_factory.cc   if (!controller_->BindSurfaceToController(surface.Pass())) {
surface           179 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc     MockDriSurface* surface = new MockDriSurface(mock_drm_, size);
surface           180 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc     surfaces_.push_back(surface);
surface           181 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc     return surface;
surface            69 ui/gfx/ozone/dri/hardware_display_controller.cc     scoped_ptr<DriSurface> surface) {
surface            76 ui/gfx/ozone/dri/hardware_display_controller.cc                               surface->bitmaps_[i]->GetColorDepth(),
surface            77 ui/gfx/ozone/dri/hardware_display_controller.cc                               surface->bitmaps_[i]->bytesPerPixel() << 3,
surface            78 ui/gfx/ozone/dri/hardware_display_controller.cc                               surface->bitmaps_[i]->rowBytes(),
surface            79 ui/gfx/ozone/dri/hardware_display_controller.cc                               surface->bitmaps_[i]->get_handle(),
surface            85 ui/gfx/ozone/dri/hardware_display_controller.cc     surface->bitmaps_[i]->set_framebuffer(fb_id);
surface            88 ui/gfx/ozone/dri/hardware_display_controller.cc   surface_.reset(surface.release());
surface           136 ui/gfx/ozone/dri/hardware_display_controller.cc bool HardwareDisplayController::SetCursor(DriSurface* surface) {
surface           139 ui/gfx/ozone/dri/hardware_display_controller.cc                          surface->GetHandle(),
surface           140 ui/gfx/ozone/dri/hardware_display_controller.cc                          surface->size().width(),
surface           141 ui/gfx/ozone/dri/hardware_display_controller.cc                          surface->size().height());
surface           142 ui/gfx/ozone/dri/hardware_display_controller.cc   surface->SwapBuffers();
surface           119 ui/gfx/ozone/dri/hardware_display_controller.h   bool BindSurfaceToController(scoped_ptr<DriSurface> surface);
surface           150 ui/gfx/ozone/dri/hardware_display_controller.h   bool SetCursor(DriSurface* surface);
surface           219 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           222 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           223 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass()));
surface           235 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           238 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           239 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_FALSE(controller_->BindSurfaceToController(surface.Pass()));
surface           249 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           252 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           253 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass()));
surface           266 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           269 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           270 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass()));
surface           283 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           286 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           287 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass()));
surface           298 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   scoped_ptr<gfx::DriSurface> surface(
surface           301 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(surface->Initialize());
surface           302 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc   EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass()));
surface           305 ui/gfx/render_text_pango.cc     cairo_surface_t* surface =
surface           307 ui/gfx/render_text_pango.cc     CHECK_EQ(CAIRO_STATUS_SUCCESS, cairo_surface_status(surface));
surface           308 ui/gfx/render_text_pango.cc     cairo_t* cr = cairo_create(surface);
surface           314 ui/gfx/render_text_pango.cc     cairo_surface_destroy(surface);
surface            23 ui/gl/EGL/eglextchromium.h     EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
surface            27 ui/gl/EGL/eglextchromium.h     (EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
surface            30 ui/gl/android/scoped_java_surface.cc     const base::android::JavaRef<jobject>& surface)
surface            35 ui/gl/android/scoped_java_surface.cc   DCHECK(env->IsInstanceOf(surface.obj(), g_Surface_clazz));
surface            36 ui/gl/android/scoped_java_surface.cc   j_surface_.Reset(surface);
surface            79 ui/gl/android/scoped_java_surface.cc ScopedJavaSurface ScopedJavaSurface::AcquireExternalSurface(jobject surface) {
surface            82 ui/gl/android/scoped_java_surface.cc   surface_ref.Reset(env, surface);
surface            28 ui/gl/android/scoped_java_surface.h   explicit ScopedJavaSurface(const base::android::JavaRef<jobject>& surface);
surface            41 ui/gl/android/scoped_java_surface.h   static ScopedJavaSurface AcquireExternalSurface(jobject surface);
surface           125 ui/gl/android/surface_texture.cc   ScopedJavaSurface surface(this);
surface           127 ui/gl/android/surface_texture.cc       env, surface.j_surface().obj());
surface           158 ui/gl/gl_context.cc void GLContext::SetCurrent(GLSurface* surface) {
surface           159 ui/gl/gl_context.cc   current_context_.Pointer()->Set(surface ? this : NULL);
surface           160 ui/gl/gl_context.cc   GLSurface::SetCurrent(surface);
surface           164 ui/gl/gl_context.cc   if (!surface && GetGLImplementation() != kGLImplementationMockGL) {
surface           200 ui/gl/gl_context.cc     GLContext* virtual_context, GLSurface* surface) {
surface           202 ui/gl/gl_context.cc   return virtual_gl_api_->MakeCurrent(virtual_context, surface);
surface           225 ui/gl/gl_context.cc void GLContextReal::SetCurrent(GLSurface* surface) {
surface           226 ui/gl/gl_context.cc   GLContext::SetCurrent(surface);
surface           227 ui/gl/gl_context.cc   current_real_context_.Pointer()->Set(surface ? this : NULL);
surface            60 ui/gl/gl_context.h   virtual bool MakeCurrent(GLSurface* surface) = 0;
surface            63 ui/gl/gl_context.h   virtual void ReleaseCurrent(GLSurface* surface) = 0;
surface            67 ui/gl/gl_context.h   virtual bool IsCurrent(GLSurface* surface) = 0;
surface           126 ui/gl/gl_context.h   bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
surface           158 ui/gl/gl_context.h   virtual void SetCurrent(GLSurface* surface);
surface           191 ui/gl/gl_context.h   virtual void SetCurrent(GLSurface* surface) OVERRIDE;
surface            33 ui/gl/gl_context_android.cc   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            34 ui/gl/gl_context_android.cc   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE {}
surface            35 ui/gl/gl_context_android.cc   virtual bool IsCurrent(GLSurface* surface) OVERRIDE { return true; }
surface            58 ui/gl/gl_context_android.cc bool GLNonOwnedContext::MakeCurrent(GLSurface* surface) {
surface            59 ui/gl/gl_context_android.cc   SetCurrent(surface);
surface           139 ui/gl/gl_context_cgl.cc bool GLContextCGL::MakeCurrent(GLSurface* surface) {
surface           178 ui/gl/gl_context_cgl.cc   if (IsCurrent(surface))
surface           193 ui/gl/gl_context_cgl.cc   SetCurrent(surface);
surface           198 ui/gl/gl_context_cgl.cc   if (!surface->OnMakeCurrent(this)) {
surface           207 ui/gl/gl_context_cgl.cc void GLContextCGL::ReleaseCurrent(GLSurface* surface) {
surface           208 ui/gl/gl_context_cgl.cc   if (!IsCurrent(surface))
surface           215 ui/gl/gl_context_cgl.cc bool GLContextCGL::IsCurrent(GLSurface* surface) {
surface            25 ui/gl/gl_context_cgl.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            26 ui/gl/gl_context_cgl.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            27 ui/gl/gl_context_cgl.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            91 ui/gl/gl_context_egl.cc bool GLContextEGL::MakeCurrent(GLSurface* surface) {
surface            93 ui/gl/gl_context_egl.cc   if (IsCurrent(surface))
surface            99 ui/gl/gl_context_egl.cc                "surface", surface);
surface           107 ui/gl/gl_context_egl.cc                       surface->GetHandle(),
surface           108 ui/gl/gl_context_egl.cc                       surface->GetHandle(),
surface           118 ui/gl/gl_context_egl.cc   SetCurrent(surface);
surface           123 ui/gl/gl_context_egl.cc   if (!surface->OnMakeCurrent(this)) {
surface           136 ui/gl/gl_context_egl.cc void GLContextEGL::ReleaseCurrent(GLSurface* surface) {
surface           137 ui/gl/gl_context_egl.cc   if (!IsCurrent(surface))
surface           150 ui/gl/gl_context_egl.cc bool GLContextEGL::IsCurrent(GLSurface* surface) {
surface           163 ui/gl/gl_context_egl.cc   if (surface) {
surface           164 ui/gl/gl_context_egl.cc     if (surface->GetHandle() != eglGetCurrentSurface(EGL_DRAW))
surface            30 ui/gl/gl_context_egl.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            31 ui/gl/gl_context_egl.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            32 ui/gl/gl_context_egl.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            96 ui/gl/gl_context_glx.cc bool GLContextGLX::MakeCurrent(GLSurface* surface) {
surface            98 ui/gl/gl_context_glx.cc   if (IsCurrent(surface))
surface           105 ui/gl/gl_context_glx.cc       reinterpret_cast<GLXDrawable>(surface->GetHandle()),
surface           106 ui/gl/gl_context_glx.cc       reinterpret_cast<GLXDrawable>(surface->GetHandle()),
surface           116 ui/gl/gl_context_glx.cc   SetCurrent(surface);
surface           122 ui/gl/gl_context_glx.cc   if (!surface->OnMakeCurrent(this)) {
surface           132 ui/gl/gl_context_glx.cc void GLContextGLX::ReleaseCurrent(GLSurface* surface) {
surface           133 ui/gl/gl_context_glx.cc   if (!IsCurrent(surface))
surface           141 ui/gl/gl_context_glx.cc bool GLContextGLX::IsCurrent(GLSurface* surface) {
surface           153 ui/gl/gl_context_glx.cc   if (surface) {
surface           155 ui/gl/gl_context_glx.cc         reinterpret_cast<GLXDrawable>(surface->GetHandle())) {
surface            30 ui/gl/gl_context_glx.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            31 ui/gl/gl_context_glx.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            32 ui/gl/gl_context_glx.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            25 ui/gl/gl_context_nsview.h   virtual bool Initialize(GLSurface* surface,
surface            28 ui/gl/gl_context_nsview.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            29 ui/gl/gl_context_nsview.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            30 ui/gl/gl_context_nsview.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            50 ui/gl/gl_context_osmesa.cc bool GLContextOSMesa::MakeCurrent(GLSurface* surface) {
surface            53 ui/gl/gl_context_osmesa.cc   gfx::Size size = surface->GetSize();
surface            57 ui/gl/gl_context_osmesa.cc                          surface->GetHandle(),
surface            72 ui/gl/gl_context_osmesa.cc   SetCurrent(surface);
surface            77 ui/gl/gl_context_osmesa.cc   if (!surface->OnMakeCurrent(this)) {
surface            86 ui/gl/gl_context_osmesa.cc void GLContextOSMesa::ReleaseCurrent(GLSurface* surface) {
surface            87 ui/gl/gl_context_osmesa.cc   if (!IsCurrent(surface))
surface            95 ui/gl/gl_context_osmesa.cc bool GLContextOSMesa::IsCurrent(GLSurface* surface) {
surface           109 ui/gl/gl_context_osmesa.cc   if (surface) {
surface           115 ui/gl/gl_context_osmesa.cc     if (buffer != surface->GetHandle())
surface            28 ui/gl/gl_context_osmesa.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            29 ui/gl/gl_context_osmesa.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            30 ui/gl/gl_context_osmesa.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            18 ui/gl/gl_context_stub.cc bool GLContextStub::MakeCurrent(GLSurface* surface) {
surface            19 ui/gl/gl_context_stub.cc   SetCurrent(surface);
surface            24 ui/gl/gl_context_stub.cc void GLContextStub::ReleaseCurrent(GLSurface* surface) {
surface            28 ui/gl/gl_context_stub.cc bool GLContextStub::IsCurrent(GLSurface* surface) {
surface            21 ui/gl/gl_context_stub.h   virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
surface            22 ui/gl/gl_context_stub.h   virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
surface            23 ui/gl/gl_context_stub.h   virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
surface            72 ui/gl/gl_context_wgl.cc bool GLContextWGL::MakeCurrent(GLSurface* surface) {
surface            74 ui/gl/gl_context_wgl.cc   if (IsCurrent(surface))
surface            80 ui/gl/gl_context_wgl.cc   if (!wglMakeCurrent(static_cast<HDC>(surface->GetHandle()), context_)) {
surface            88 ui/gl/gl_context_wgl.cc   SetCurrent(surface);
surface            93 ui/gl/gl_context_wgl.cc   if (!surface->OnMakeCurrent(this)) {
surface           102 ui/gl/gl_context_wgl.cc void GLContextWGL::ReleaseCurrent(GLSurface* surface) {
surface           103 ui/gl/gl_context_wgl.cc   if (!IsCurrent(surface))
surface           110 ui/gl/gl_context_wgl.cc bool GLContextWGL::IsCurrent(GLSurface* surface) {
surface           122 ui/gl/gl_context_wgl.cc   if (surface) {
surface           123 ui/gl/gl_context_wgl.cc     if (wglGetCurrentDC() != surface->GetHandle())
surface            27 ui/gl/gl_context_wgl.h   virtual bool MakeCurrent(GLSurface* surface);
surface            28 ui/gl/gl_context_wgl.h   virtual void ReleaseCurrent(GLSurface* surface);
surface            29 ui/gl/gl_context_wgl.h   virtual bool IsCurrent(GLSurface* surface);
surface           421 ui/gl/gl_gl_api_implementation.cc bool VirtualGLApi::MakeCurrent(GLContext* virtual_context, GLSurface* surface) {
surface           424 ui/gl/gl_gl_api_implementation.cc   if (switched_contexts || surface != current_surface) {
surface           429 ui/gl/gl_gl_api_implementation.cc         !virtual_context->IsCurrent(surface)) {
surface           430 ui/gl/gl_gl_api_implementation.cc       if (!real_context_->MakeCurrent(surface)) {
surface           438 ui/gl/gl_gl_api_implementation.cc   DCHECK(virtual_context->IsCurrent(surface));
surface           459 ui/gl/gl_gl_api_implementation.cc   virtual_context->SetCurrent(surface);
surface           460 ui/gl/gl_gl_api_implementation.cc   if (!surface->OnMakeCurrent(virtual_context)) {
surface            98 ui/gl/gl_gl_api_implementation.h   bool MakeCurrent(GLContext* virtual_context, GLSurface* surface);
surface           236 ui/gl/gl_surface.cc void GLSurface::SetCurrent(GLSurface* surface) {
surface           237 ui/gl/gl_surface.cc   current_surface_.Pointer()->Set(surface);
surface           253 ui/gl/gl_surface.cc GLSurfaceAdapter::GLSurfaceAdapter(GLSurface* surface) : surface_(surface) {}
surface           122 ui/gl/gl_surface.h   static void SetCurrent(GLSurface* surface);
surface           137 ui/gl/gl_surface.h   explicit GLSurfaceAdapter(GLSurface* surface);
surface           160 ui/gl/gl_surface.h   GLSurface* surface() const { return surface_.get(); }
surface            37 ui/gl/gl_surface_android.cc     scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless());
surface            38 ui/gl/gl_surface_android.cc     if (!surface->Initialize())
surface            40 ui/gl/gl_surface_android.cc     return surface;
surface            44 ui/gl/gl_surface_android.cc     scoped_refptr<GLSurface> surface = new NativeViewGLSurfaceEGL(window);
surface            45 ui/gl/gl_surface_android.cc     if (surface->Initialize())
surface            46 ui/gl/gl_surface_android.cc       return surface;
surface            48 ui/gl/gl_surface_android.cc     scoped_refptr<GLSurface> surface = new GLSurfaceStub();
surface            49 ui/gl/gl_surface_android.cc     if (surface->Initialize())
surface            50 ui/gl/gl_surface_android.cc       return surface;
surface            60 ui/gl/gl_surface_android.cc       scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size));
surface            61 ui/gl/gl_surface_android.cc       if (!surface->Initialize())
surface            64 ui/gl/gl_surface_android.cc       return surface;
surface            67 ui/gl/gl_surface_android.cc       scoped_refptr<GLSurface> surface;
surface            70 ui/gl/gl_surface_android.cc         surface = new SurfacelessEGL(size);
surface            72 ui/gl/gl_surface_android.cc         surface = new PbufferGLSurfaceEGL(size);
surface            75 ui/gl/gl_surface_android.cc       if (!surface->Initialize())
surface            77 ui/gl/gl_surface_android.cc       return surface;
surface            64 ui/gl/gl_surface_egl.cc   explicit EGLSyncControlVSyncProvider(EGLSurface surface)
surface            66 ui/gl/gl_surface_egl.cc         surface_(surface) {
surface           265 ui/gl/gl_surface_egl.cc     scoped_refptr<GLSurface> surface = new SurfacelessEGL(Size(1, 1));
surface           267 ui/gl/gl_surface_egl.cc       NULL, surface.get(), PreferIntegratedGpu);
surface           268 ui/gl/gl_surface_egl.cc     if (!context->MakeCurrent(surface.get()))
surface           275 ui/gl/gl_surface_egl.cc       context->ReleaseCurrent(surface.get());
surface           571 ui/gl/gl_surface_egl.cc void NativeViewGLSurfaceEGL::SetHandle(EGLSurface surface) {
surface           572 ui/gl/gl_surface_egl.cc   surface_ = surface;
surface            78 ui/gl/gl_surface_egl.h   void SetHandle(EGLSurface surface);
surface            41 ui/gl/gl_surface_mac.cc       scoped_refptr<GLSurface> surface(new GLSurfaceNSView(window));
surface            42 ui/gl/gl_surface_mac.cc       if (!surface->Initialize())
surface            45 ui/gl/gl_surface_mac.cc       return surface;
surface            60 ui/gl/gl_surface_mac.cc       scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(OSMESA_RGBA,
surface            62 ui/gl/gl_surface_mac.cc       if (!surface->Initialize())
surface            65 ui/gl/gl_surface_mac.cc       return surface;
surface            69 ui/gl/gl_surface_mac.cc       scoped_refptr<GLSurface> surface(new NoOpGLSurfaceCGL(size));
surface            70 ui/gl/gl_surface_mac.cc       if (!surface->Initialize())
surface            73 ui/gl/gl_surface_mac.cc       return surface;
surface            69 ui/gl/gl_surface_ozone.cc     scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless());
surface            70 ui/gl/gl_surface_ozone.cc     if (!surface->Initialize())
surface            72 ui/gl/gl_surface_ozone.cc     return surface;
surface            83 ui/gl/gl_surface_ozone.cc     scoped_refptr<GLSurfaceOzoneEGL> surface =
surface            85 ui/gl/gl_surface_ozone.cc     if (!surface->Initialize(vsync_provider.Pass()))
surface            87 ui/gl/gl_surface_ozone.cc     return surface;
surface            89 ui/gl/gl_surface_ozone.cc     scoped_refptr<GLSurface> surface = new GLSurfaceStub();
surface            90 ui/gl/gl_surface_ozone.cc     if (surface->Initialize())
surface            91 ui/gl/gl_surface_ozone.cc       return surface;
surface           101 ui/gl/gl_surface_ozone.cc       scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size));
surface           102 ui/gl/gl_surface_ozone.cc       if (!surface->Initialize())
surface           105 ui/gl/gl_surface_ozone.cc       return surface;
surface           108 ui/gl/gl_surface_ozone.cc       scoped_refptr<GLSurface> surface;
surface           111 ui/gl/gl_surface_ozone.cc         surface = new SurfacelessEGL(size);
surface           113 ui/gl/gl_surface_ozone.cc         surface = new PbufferGLSurfaceEGL(size);
surface           115 ui/gl/gl_surface_ozone.cc       if (!surface->Initialize())
surface           117 ui/gl/gl_surface_ozone.cc       return surface;
surface           228 ui/gl/gl_surface_win.cc       scoped_refptr<GLSurface> surface(
surface           230 ui/gl/gl_surface_win.cc       if (!surface->Initialize())
surface           233 ui/gl/gl_surface_win.cc       return surface;
surface           237 ui/gl/gl_surface_win.cc       scoped_refptr<NativeViewGLSurfaceEGL> surface(
surface           242 ui/gl/gl_surface_win.cc       if (!surface->Initialize(sync_provider.Pass()))
surface           245 ui/gl/gl_surface_win.cc       return surface;
surface           248 ui/gl/gl_surface_win.cc       scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceWGL(
surface           250 ui/gl/gl_surface_win.cc       if (!surface->Initialize())
surface           253 ui/gl/gl_surface_win.cc       return surface;
surface           268 ui/gl/gl_surface_win.cc       scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(OSMESA_RGBA,
surface           270 ui/gl/gl_surface_win.cc       if (!surface->Initialize())
surface           273 ui/gl/gl_surface_win.cc       return surface;
surface           276 ui/gl/gl_surface_win.cc       scoped_refptr<GLSurface> surface(new PbufferGLSurfaceEGL(size));
surface           277 ui/gl/gl_surface_win.cc       if (!surface->Initialize())
surface           280 ui/gl/gl_surface_win.cc       return surface;
surface           283 ui/gl/gl_surface_win.cc       scoped_refptr<GLSurface> surface(new PbufferGLSurfaceWGL(size));
surface           284 ui/gl/gl_surface_win.cc       if (!surface->Initialize())
surface           287 ui/gl/gl_surface_win.cc       return surface;
surface           279 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(
surface           281 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           284 ui/gl/gl_surface_x11.cc       return surface;
surface           287 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceGLX(window));
surface           288 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           291 ui/gl/gl_surface_x11.cc       return surface;
surface           295 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceEGL(window));
surface           296 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           299 ui/gl/gl_surface_x11.cc       return surface;
surface           314 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(OSMESA_RGBA,
surface           316 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           319 ui/gl/gl_surface_x11.cc       return surface;
surface           322 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(new PbufferGLSurfaceGLX(size));
surface           323 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           326 ui/gl/gl_surface_x11.cc       return surface;
surface           329 ui/gl/gl_surface_x11.cc       scoped_refptr<GLSurface> surface(new PbufferGLSurfaceEGL(size));
surface           330 ui/gl/gl_surface_x11.cc       if (!surface->Initialize())
surface           333 ui/gl/gl_surface_x11.cc       return surface;
surface            14 ui/gl/scoped_make_current.cc                                      gfx::GLSurface* surface)
surface            18 ui/gl/scoped_make_current.cc       surface_(surface),
surface            21 ui/gl/scoped_make_current.cc   DCHECK(surface);
surface            22 ui/gl/scoped_make_current.cc   succeeded_ = context->MakeCurrent(surface);
surface            21 ui/gl/scoped_make_current.h   ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface);
surface            61 ui/snapshot/snapshot_gtk.cc   cairo_surface_t* surface =
surface            69 ui/snapshot/snapshot_gtk.cc   if (!surface) {
surface            74 ui/snapshot/snapshot_gtk.cc       surface, SnapshotCallback, png_representation);
surface            75 ui/snapshot/snapshot_gtk.cc   cairo_surface_destroy(surface);