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

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

Issue 1830453002: WebGL: GL_RGB emulation for IOSurface backed textures. [For reference only] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile error. Created 4 years, 9 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 const gfx::Point& offset, 49 const gfx::Point& offset,
50 const gfx::Rect& rect) override; 50 const gfx::Rect& rect) override;
51 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 51 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
52 int z_order, 52 int z_order,
53 gfx::OverlayTransform transform, 53 gfx::OverlayTransform transform,
54 const gfx::Rect& bounds_rect, 54 const gfx::Rect& bounds_rect,
55 const gfx::RectF& crop_rect) override; 55 const gfx::RectF& crop_rect) override;
56 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 56 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
57 uint64_t process_tracing_id, 57 uint64_t process_tracing_id,
58 const std::string& dump_name) override; 58 const std::string& dump_name) override;
59 bool EmulatingRGB() const override;
59 60
60 // GpuCommandBufferStub::DestructionObserver implementation. 61 // GpuCommandBufferStub::DestructionObserver implementation.
61 void OnWillDestroyStub() override; 62 void OnWillDestroyStub() override;
62 63
63 scoped_ptr<ui::ScopedMakeCurrent> MakeStubCurrent(); 64 scoped_ptr<ui::ScopedMakeCurrent> MakeStubCurrent();
64 65
65 void UpdateTexImage(); 66 void UpdateTexImage();
66 67
67 // Called when a new frame is available for the SurfaceTexture. 68 // Called when a new frame is available for the SurfaceTexture.
68 void OnFrameAvailable(); 69 void OnFrameAvailable();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 unsigned vertex_buffer_; 102 unsigned vertex_buffer_;
102 int u_xform_location_; 103 int u_xform_location_;
103 104
104 base::WeakPtrFactory<StreamTexture> weak_factory_; 105 base::WeakPtrFactory<StreamTexture> weak_factory_;
105 DISALLOW_COPY_AND_ASSIGN(StreamTexture); 106 DISALLOW_COPY_AND_ASSIGN(StreamTexture);
106 }; 107 };
107 108
108 } // namespace content 109 } // namespace content
109 110
110 #endif // CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_ 111 #endif // CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/avda_codec_image.cc ('k') | content/common/gpu/stream_texture_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698