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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2506863002: implement tex(Sub)Image2D/3D for HTMLVideoElement (Closed)
Patch Set: roll webgl Created 4 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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 void texImageHelperHTMLVideoElement(TexImageFunctionID, 1580 void texImageHelperHTMLVideoElement(TexImageFunctionID,
1581 GLenum, 1581 GLenum,
1582 GLint, 1582 GLint,
1583 GLint, 1583 GLint,
1584 GLenum, 1584 GLenum,
1585 GLenum, 1585 GLenum,
1586 GLint, 1586 GLint,
1587 GLint, 1587 GLint,
1588 GLint, 1588 GLint,
1589 HTMLVideoElement*, 1589 HTMLVideoElement*,
1590 const IntRect&,
1591 GLsizei,
1592 GLint,
1590 ExceptionState&); 1593 ExceptionState&);
1591 void texImageHelperImageBitmap(TexImageFunctionID, 1594 void texImageHelperImageBitmap(TexImageFunctionID,
1592 GLenum, 1595 GLenum,
1593 GLint, 1596 GLint,
1594 GLint, 1597 GLint,
1595 GLenum, 1598 GLenum,
1596 GLenum, 1599 GLenum,
1597 GLint, 1600 GLint,
1598 GLint, 1601 GLint,
1599 GLint, 1602 GLint,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 context, 1648 context,
1646 context->is3d(), 1649 context->is3d(),
1647 context.is3d()); 1650 context.is3d());
1648 1651
1649 } // namespace blink 1652 } // namespace blink
1650 1653
1651 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( 1654 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(
1652 blink::WebGLRenderingContextBase::TextureUnitState); 1655 blink::WebGLRenderingContextBase::TextureUnitState);
1653 1656
1654 #endif // WebGLRenderingContextBase_h 1657 #endif // WebGLRenderingContextBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698