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

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

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 GLenum format, GLenum type, DOMArrayBufferView*); 285 GLenum format, GLenum type, DOMArrayBufferView*);
286 void texImage2D(GLenum target, GLint level, GLint internalformat, 286 void texImage2D(GLenum target, GLint level, GLint internalformat,
287 GLenum format, GLenum type, ImageData*); 287 GLenum format, GLenum type, ImageData*);
288 void texImage2D(GLenum target, GLint level, GLint internalformat, 288 void texImage2D(GLenum target, GLint level, GLint internalformat,
289 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); 289 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&);
290 void texImage2D(GLenum target, GLint level, GLint internalformat, 290 void texImage2D(GLenum target, GLint level, GLint internalformat,
291 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); 291 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&);
292 void texImage2D(GLenum target, GLint level, GLint internalformat, 292 void texImage2D(GLenum target, GLint level, GLint internalformat,
293 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); 293 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&);
294 void texImage2D(GLenum target, GLint level, GLint internalformat, 294 void texImage2D(GLenum target, GLint level, GLint internalformat,
295 GLenum format, GLenum type, RawPtr<ImageBitmap>, ExceptionState&); 295 GLenum format, GLenum type, ImageBitmap*, ExceptionState&);
296 296
297 void texParameterf(GLenum target, GLenum pname, GLfloat param); 297 void texParameterf(GLenum target, GLenum pname, GLfloat param);
298 void texParameteri(GLenum target, GLenum pname, GLint param); 298 void texParameteri(GLenum target, GLenum pname, GLint param);
299 299
300 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 300 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
301 GLsizei width, GLsizei height, 301 GLsizei width, GLsizei height,
302 GLenum format, GLenum type, DOMArrayBufferView*); 302 GLenum format, GLenum type, DOMArrayBufferView*);
303 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 303 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
304 GLenum format, GLenum type, ImageData*); 304 GLenum format, GLenum type, ImageData*);
305 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 305 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
306 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); 306 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&);
307 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 307 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
308 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); 308 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&);
309 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 309 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
310 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); 310 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&);
311 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, 311 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
312 GLenum format, GLenum type, RawPtr<ImageBitmap>, ExceptionState&); 312 GLenum format, GLenum type, ImageBitmap*, ExceptionState&);
313 313
314 void uniform1f(const WebGLUniformLocation*, GLfloat x); 314 void uniform1f(const WebGLUniformLocation*, GLfloat x);
315 void uniform1fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView& ); 315 void uniform1fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView& );
316 void uniform1fv(const WebGLUniformLocation*, Vector<GLfloat>&); 316 void uniform1fv(const WebGLUniformLocation*, Vector<GLfloat>&);
317 void uniform1i(const WebGLUniformLocation*, GLint x); 317 void uniform1i(const WebGLUniformLocation*, GLint x);
318 void uniform1iv(const WebGLUniformLocation*, const FlexibleInt32ArrayView&); 318 void uniform1iv(const WebGLUniformLocation*, const FlexibleInt32ArrayView&);
319 void uniform1iv(const WebGLUniformLocation*, Vector<GLint>&); 319 void uniform1iv(const WebGLUniformLocation*, Vector<GLint>&);
320 void uniform2f(const WebGLUniformLocation*, GLfloat x, GLfloat y); 320 void uniform2f(const WebGLUniformLocation*, GLfloat x, GLfloat y);
321 void uniform2fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView& ); 321 void uniform2fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView& );
322 void uniform2fv(const WebGLUniformLocation*, Vector<GLfloat>&); 322 void uniform2fv(const WebGLUniformLocation*, Vector<GLfloat>&);
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 #endif 1097 #endif
1098 }; 1098 };
1099 1099
1100 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d()); 1100 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d());
1101 1101
1102 } // namespace blink 1102 } // namespace blink
1103 1103
1104 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState); 1104 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState);
1105 1105
1106 #endif // WebGLRenderingContextBase_h 1106 #endif // WebGLRenderingContextBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698