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

Side by Side Diff: Source/core/html/HTMLVideoElement.h

Issue 1152733008: remove |level| in copyVideoTextureToPlatformTexture(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add TODO Created 5 years, 6 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 | « no previous file | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool webkitDisplayingFullscreen(); 60 bool webkitDisplayingFullscreen();
61 61
62 // Statistics 62 // Statistics
63 unsigned webkitDecodedFrameCount() const; 63 unsigned webkitDecodedFrameCount() const;
64 unsigned webkitDroppedFrameCount() const; 64 unsigned webkitDroppedFrameCount() const;
65 65
66 // Used by canvas to gain raw pixel access 66 // Used by canvas to gain raw pixel access
67 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; 67 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const;
68 68
69 // Used by WebGL to do GPU-GPU textures copy if possible. 69 // Used by WebGL to do GPU-GPU textures copy if possible.
70 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GC3Dint level, GLenum internalFormat, GLenum type, bool premultiplyA lpha, bool flipY); 70 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip Y);
71 71
72 bool shouldDisplayPosterImage() const { return displayMode() == Poster; } 72 bool shouldDisplayPosterImage() const { return displayMode() == Poster; }
73 73
74 KURL posterImageURL() const; 74 KURL posterImageURL() const;
75 75
76 bool hasAvailableVideoFrame() const; 76 bool hasAvailableVideoFrame() const;
77 77
78 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d epend on it. 78 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d epend on it.
79 virtual KURL mediaPlayerPosterURL() override; 79 virtual KURL mediaPlayerPosterURL() override;
80 80
(...skipping 25 matching lines...) Expand all
106 virtual void setDisplayMode(DisplayMode) override; 106 virtual void setDisplayMode(DisplayMode) override;
107 107
108 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 108 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
109 109
110 AtomicString m_defaultPosterURL; 110 AtomicString m_defaultPosterURL;
111 }; 111 };
112 112
113 } // namespace blink 113 } // namespace blink
114 114
115 #endif // HTMLVideoElement_h 115 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698