Changeset 52845 in webkit


Ignore:
Timestamp:
Jan 5, 2010 6:46:25 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-01-05 Rachel Petterson <rlp@google.com>

Reviewed by Adam Barth.

Matches the texImage2D and texSubImage2D functions to their
declarations. Elminates uncessary versions of those functions.
https://bugs.webkit.org/show_bug.cgi?id=31562
Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493

  • src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::texImage2D): (WebCore::GraphicsContext3D::texSubImage2D):
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r52791 r52845  
     12010-01-05  Rachel Petterson  <rlp@google.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Matches the texImage2D and texSubImage2D functions to their
     6        declarations. Elminates uncessary versions of those functions.
     7        https://bugs.webkit.org/show_bug.cgi?id=31562
     8        Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
     9
     10        * src/GraphicsContext3D.cpp:
     11        (WebCore::GraphicsContext3D::texImage2D):
     12        (WebCore::GraphicsContext3D::texSubImage2D):
     13
    1142010-01-04  Maciej Stachowiak  <mjs@apple.com>
    215
  • trunk/WebKit/chromium/src/GraphicsContext3D.cpp

    r52791 r52845  
    18571857                                  unsigned format,
    18581858                                  unsigned type,
    1859                                   WebGLArray* pixels)
     1859                                  void* pixels)
    18601860{
    18611861    // FIXME: must do validation similar to JOGL's to ensure that
     
    18691869                 format,
    18701870                 type,
    1871                  pixels->baseAddress());
     1871                 pixels);
    18721872    return 0;
    1873 }
    1874 
    1875 int GraphicsContext3D::texImage2D(unsigned target,
    1876                                   unsigned level,
    1877                                   unsigned internalformat,
    1878                                   unsigned width,
    1879                                   unsigned height,
    1880                                   unsigned border,
    1881                                   unsigned format,
    1882                                   unsigned type,
    1883                                   ImageData* pixels)
    1884 {
    1885     // FIXME: implement.
    1886     notImplemented();
    1887     return -1;
    18881873}
    18891874
     
    20622047}
    20632048
    2064 int GraphicsContext3D::texImage2D(unsigned target, unsigned level, HTMLVideoElement* video,
    2065                                   bool flipY, bool premultiplyAlpha)
    2066 {
    2067     // FIXME: implement.
    2068     notImplemented();
    2069     return -1;
    2070 }
    2071 
    20722049GL_SAME_METHOD_3(TexParameterf, texParameterf, unsigned, unsigned, float);
    20732050
     
    20822059                                     unsigned format,
    20832060                                     unsigned type,
    2084                                      WebGLArray* pixels)
     2061                                     void* pixels)
    20852062{
    20862063    // FIXME: implement.
     
    20932070                                     unsigned xoffset,
    20942071                                     unsigned yoffset,
    2095                                      unsigned width,
    2096                                      unsigned height,
    2097                                      unsigned format,
    2098                                      unsigned type,
    2099                                      ImageData* pixels)
     2072                                     Image* image,
     2073                                     bool flipY,
     2074                                     bool premultiplyAlpha)
    21002075{
    21012076    // FIXME: implement.
     
    21042079}
    21052080
    2106 int GraphicsContext3D::texSubImage2D(unsigned target,
    2107                                      unsigned level,
    2108                                      unsigned xoffset,
    2109                                      unsigned yoffset,
    2110                                      unsigned width,
    2111                                      unsigned height,
    2112                                      Image* image,
    2113                                      bool flipY,
    2114                                      bool premultiplyAlpha)
    2115 {
    2116     // FIXME: implement.
    2117     notImplemented();
    2118     return -1;
    2119 }
    2120 
    2121 int GraphicsContext3D::texSubImage2D(unsigned target,
    2122                                      unsigned level,
    2123                                      unsigned xoffset,
    2124                                      unsigned yoffset,
    2125                                      unsigned width,
    2126                                      unsigned height,
    2127                                      HTMLVideoElement* video,
    2128                                      bool flipY,
    2129                                      bool premultiplyAlpha)
    2130 {
    2131     // FIXME: implement.
    2132     notImplemented();
    2133     return -1;
    2134 }
    2135 
    21362081GL_SAME_METHOD_2(Uniform1f, uniform1f, long, float)
    21372082
Note: See TracChangeset for help on using the changeset viewer.