Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: content/browser/renderer_host/surface_texture_transport_client_android.h

Issue 12038095: Android webview fix gpu crashes after destroy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fixes. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H _ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H _
6 #define CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H _ 6 #define CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H _
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/video_frame_provider.h" 10 #include "cc/video_frame_provider.h"
(...skipping 26 matching lines...) Expand all
37 OVERRIDE; 37 OVERRIDE;
38 38
39 private: 39 private:
40 void OnSurfaceTextureFrameAvailable(); 40 void OnSurfaceTextureFrameAvailable();
41 41
42 scoped_refptr<cc::VideoLayer> video_layer_; 42 scoped_refptr<cc::VideoLayer> video_layer_;
43 scoped_refptr<SurfaceTextureBridge> surface_texture_; 43 scoped_refptr<SurfaceTextureBridge> surface_texture_;
44 ANativeWindow* window_; 44 ANativeWindow* window_;
45 scoped_refptr<media::VideoFrame> video_frame_; 45 scoped_refptr<media::VideoFrame> video_frame_;
46 uint32 texture_id_; 46 uint32 texture_id_;
47 int surface_id_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureTransportClient); 49 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureTransportClient);
49 }; 50 };
50 51
51 } // namespace content 52 } // namespace content
52 53
53 #endif // CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROI D_H_ 54 #endif // CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROI D_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_surface_tracker.cc ('k') | content/browser/renderer_host/surface_texture_transport_client_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698