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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContextBase.h

Issue 1084313004: Oilpan: keep ImageData on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 void forceRestoreContext(); 351 void forceRestoreContext();
352 void loseContextImpl(LostContextMode, AutoRecoveryMethod); 352 void loseContextImpl(LostContextMode, AutoRecoveryMethod);
353 353
354 blink::WebGraphicsContext3D* webContext() const { return drawingBuffer()->co ntext(); } 354 blink::WebGraphicsContext3D* webContext() const { return drawingBuffer()->co ntext(); }
355 WebGLContextGroup* contextGroup() const { return m_contextGroup.get(); } 355 WebGLContextGroup* contextGroup() const { return m_contextGroup.get(); }
356 Extensions3DUtil* extensionsUtil(); 356 Extensions3DUtil* extensionsUtil();
357 357
358 void reshape(int width, int height); 358 void reshape(int width, int height);
359 359
360 void markLayerComposited(); 360 void markLayerComposited();
361 PassRefPtrWillBeRawPtr<ImageData> paintRenderingResultsToImageData(SourceDra wingBuffer); 361 ImageData* paintRenderingResultsToImageData(SourceDrawingBuffer);
362 362
363 void removeSharedObject(WebGLSharedObject*); 363 void removeSharedObject(WebGLSharedObject*);
364 void removeContextObject(WebGLContextObject*); 364 void removeContextObject(WebGLContextObject*);
365 365
366 unsigned maxVertexAttribs() const { return m_maxVertexAttribs; } 366 unsigned maxVertexAttribs() const { return m_maxVertexAttribs; }
367 367
368 // GL_CHROMIUM_subscribe_uniform 368 // GL_CHROMIUM_subscribe_uniform
369 PassRefPtrWillBeRawPtr<CHROMIUMValuebuffer> createValuebufferCHROMIUM(); 369 PassRefPtrWillBeRawPtr<CHROMIUMValuebuffer> createValuebufferCHROMIUM();
370 void deleteValuebufferCHROMIUM(CHROMIUMValuebuffer*); 370 void deleteValuebufferCHROMIUM(CHROMIUMValuebuffer*);
371 GLboolean isValuebufferCHROMIUM(CHROMIUMValuebuffer*); 371 GLboolean isValuebufferCHROMIUM(CHROMIUMValuebuffer*);
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 static IntSize oldestContextSize(); 1005 static IntSize oldestContextSize();
1006 }; 1006 };
1007 1007
1008 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d()); 1008 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d());
1009 1009
1010 } // namespace blink 1010 } // namespace blink
1011 1011
1012 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState); 1012 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState);
1013 1013
1014 #endif // WebGLRenderingContextBase_h 1014 #endif // WebGLRenderingContextBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698