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

Side by Side Diff: content/common/gpu/stream_texture_android.h

Issue 1299713003: GLImage::OnMemoryDump Stubs + Some Impls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@images1.3
Patch Set: Fix android build. Created 5 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_ 5 #ifndef CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
6 #define CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_ 6 #define CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/common/gpu/gpu_command_buffer_stub.h" 10 #include "content/common/gpu/gpu_command_buffer_stub.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const gfx::Rect& rect) override; 43 const gfx::Rect& rect) override;
44 void WillUseTexImage() override; 44 void WillUseTexImage() override;
45 void DidUseTexImage() override {} 45 void DidUseTexImage() override {}
46 void WillModifyTexImage() override {} 46 void WillModifyTexImage() override {}
47 void DidModifyTexImage() override {} 47 void DidModifyTexImage() override {}
48 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 48 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
49 int z_order, 49 int z_order,
50 gfx::OverlayTransform transform, 50 gfx::OverlayTransform transform,
51 const gfx::Rect& bounds_rect, 51 const gfx::Rect& bounds_rect,
52 const gfx::RectF& crop_rect) override; 52 const gfx::RectF& crop_rect) override;
53 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
54 uint64_t process_tracing_id,
55 const std::string& dump_name) override;
53 56
54 // GpuCommandBufferStub::DestructionObserver implementation. 57 // GpuCommandBufferStub::DestructionObserver implementation.
55 void OnWillDestroyStub() override; 58 void OnWillDestroyStub() override;
56 59
57 // Called when a new frame is available for the SurfaceTexture. 60 // Called when a new frame is available for the SurfaceTexture.
58 void OnFrameAvailable(); 61 void OnFrameAvailable();
59 62
60 // IPC::Listener implementation: 63 // IPC::Listener implementation:
61 bool OnMessageReceived(const IPC::Message& message) override; 64 bool OnMessageReceived(const IPC::Message& message) override;
62 65
(...skipping 20 matching lines...) Expand all
83 int32 route_id_; 86 int32 route_id_;
84 bool has_listener_; 87 bool has_listener_;
85 88
86 base::WeakPtrFactory<StreamTexture> weak_factory_; 89 base::WeakPtrFactory<StreamTexture> weak_factory_;
87 DISALLOW_COPY_AND_ASSIGN(StreamTexture); 90 DISALLOW_COPY_AND_ASSIGN(StreamTexture);
88 }; 91 };
89 92
90 } // namespace content 93 } // namespace content
91 94
92 #endif // CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_ 95 #endif // CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_io_surface.cc ('k') | content/common/gpu/stream_texture_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698