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

Side by Side Diff: content/common/gpu/media/rendering_helper.h

Issue 23526070: Remove GSC usage from ExynosVideoDecodeAccelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 11845b4b crop fix, rebase. Created 7 years, 1 month 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) 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_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_
6 #define CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Undo the effects of Initialize() and signal |*done|. 62 // Undo the effects of Initialize() and signal |*done|.
63 void UnInitialize(base::WaitableEvent* done); 63 void UnInitialize(base::WaitableEvent* done);
64 64
65 // Return a newly-created GLES2 texture id rendering to a specific window, and 65 // Return a newly-created GLES2 texture id rendering to a specific window, and
66 // signal |*done|. 66 // signal |*done|.
67 void CreateTexture(int window_id, 67 void CreateTexture(int window_id,
68 uint32 texture_target, 68 uint32 texture_target,
69 uint32* texture_id, 69 uint32* texture_id,
70 base::WaitableEvent* done); 70 base::WaitableEvent* done);
71 71
72 // Render |texture_id| to the screen. 72 // Render |texture_id| to the screen using target |texture_target|.
73 void RenderTexture(uint32 texture_id); 73 void RenderTexture(uint32 texture_target, uint32 texture_id);
74 74
75 // Delete |texture_id|. 75 // Delete |texture_id|.
76 void DeleteTexture(uint32 texture_id); 76 void DeleteTexture(uint32 texture_id);
77 77
78 // Get the platform specific handle to the OpenGL context. 78 // Get the platform specific handle to the OpenGL context.
79 void* GetGLContext(); 79 void* GetGLContext();
80 80
81 // Get the platform specific handle to the OpenGL display. 81 // Get the platform specific handle to the OpenGL display.
82 void* GetGLDisplay(); 82 void* GetGLDisplay();
83 83
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 gfx::Size thumbnails_fbo_size_; 122 gfx::Size thumbnails_fbo_size_;
123 gfx::Size thumbnail_size_; 123 gfx::Size thumbnail_size_;
124 GLuint program_; 124 GLuint program_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(RenderingHelper); 126 DISALLOW_COPY_AND_ASSIGN(RenderingHelper);
127 }; 127 };
128 128
129 } // namespace content 129 } // namespace content
130 130
131 #endif // CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ 131 #endif // CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698