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

Side by Side Diff: media/gpu/avda_codec_image.h

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 5 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
« no previous file with comments | « gpu/ipc/service/stream_texture_android.h ('k') | third_party/khronos/EGL/eglext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MEDIA_GPU_AVDA_CODEC_IMAGE_H_ 5 #ifndef MEDIA_GPU_AVDA_CODEC_IMAGE_H_
6 #define MEDIA_GPU_AVDA_CODEC_IMAGE_H_ 6 #define MEDIA_GPU_AVDA_CODEC_IMAGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 28 matching lines...) Expand all
39 void ReleaseTexImage(unsigned target) override; 39 void ReleaseTexImage(unsigned target) override;
40 bool CopyTexImage(unsigned target) override; 40 bool CopyTexImage(unsigned target) override;
41 bool CopyTexSubImage(unsigned target, 41 bool CopyTexSubImage(unsigned target,
42 const gfx::Point& offset, 42 const gfx::Point& offset,
43 const gfx::Rect& rect) override; 43 const gfx::Rect& rect) override;
44 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 44 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
45 int z_order, 45 int z_order,
46 gfx::OverlayTransform transform, 46 gfx::OverlayTransform transform,
47 const gfx::Rect& bounds_rect, 47 const gfx::Rect& bounds_rect,
48 const gfx::RectF& crop_rect) override; 48 const gfx::RectF& crop_rect) override;
49 void Flush() override {}
49 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 50 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
50 uint64_t process_tracing_id, 51 uint64_t process_tracing_id,
51 const std::string& dump_name) override; 52 const std::string& dump_name) override;
52 // gpu::gles2::GLStreamTextureMatrix implementation 53 // gpu::gles2::GLStreamTextureMatrix implementation
53 void GetTextureMatrix(float xform[16]) override; 54 void GetTextureMatrix(float xform[16]) override;
54 55
55 enum class UpdateMode { 56 enum class UpdateMode {
56 // Discards the codec buffer, no UpdateTexImage(). 57 // Discards the codec buffer, no UpdateTexImage().
57 DISCARD_CODEC_BUFFER, 58 DISCARD_CODEC_BUFFER,
58 59
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 156
156 // The picture buffer id attached to this image. 157 // The picture buffer id attached to this image.
157 int picture_buffer_id_; 158 int picture_buffer_id_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(AVDACodecImage); 160 DISALLOW_COPY_AND_ASSIGN(AVDACodecImage);
160 }; 161 };
161 162
162 } // namespace media 163 } // namespace media
163 164
164 #endif // MEDIA_GPU_AVDA_CODEC_IMAGE_H_ 165 #endif // MEDIA_GPU_AVDA_CODEC_IMAGE_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/stream_texture_android.h ('k') | third_party/khronos/EGL/eglext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698