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

Side by Side Diff: Source/WebCore/platform/graphics/GraphicsContext.h

Issue 14067007: Remove 3D_RENDERING define from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased, retrying the bots Created 7 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) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2008-2009 Torch Mobile, Inc. 3 * Copyright (C) 2008-2009 Torch Mobile, Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 void translate(float x, float y); 332 void translate(float x, float y);
333 333
334 void setURLForRect(const KURL&, const IntRect&); 334 void setURLForRect(const KURL&, const IntRect&);
335 335
336 void concatCTM(const AffineTransform&); 336 void concatCTM(const AffineTransform&);
337 void setCTM(const AffineTransform&); 337 void setCTM(const AffineTransform&);
338 338
339 enum IncludeDeviceScale { DefinitelyIncludeDeviceScale, PossiblyIncludeD eviceScale }; 339 enum IncludeDeviceScale { DefinitelyIncludeDeviceScale, PossiblyIncludeD eviceScale };
340 AffineTransform getCTM(IncludeDeviceScale includeScale = PossiblyInclude DeviceScale) const; 340 AffineTransform getCTM(IncludeDeviceScale includeScale = PossiblyInclude DeviceScale) const;
341 341
342 #if ENABLE(3D_RENDERING) && USE(TEXTURE_MAPPER) 342 #if USE(TEXTURE_MAPPER)
343 // This is needed when using accelerated-compositing in software mode, l ike in TextureMapper. 343 // This is needed when using accelerated-compositing in software mode, l ike in TextureMapper.
344 void concat3DTransform(const TransformationMatrix&); 344 void concat3DTransform(const TransformationMatrix&);
345 void set3DTransform(const TransformationMatrix&); 345 void set3DTransform(const TransformationMatrix&);
346 TransformationMatrix get3DTransform() const; 346 TransformationMatrix get3DTransform() const;
347 #endif 347 #endif
348 // Create an image buffer compatible with this context, with suitable re solution 348 // Create an image buffer compatible with this context, with suitable re solution
349 // for drawing into the buffer and then into this context. 349 // for drawing into the buffer and then into this context.
350 PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, bool hasA lpha = true) const; 350 PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, bool hasA lpha = true) const;
351 bool isCompatibleWithBuffer(ImageBuffer*) const; 351 bool isCompatibleWithBuffer(ImageBuffer*) const;
352 352
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 436
437 private: 437 private:
438 GraphicsContext& m_context; 438 GraphicsContext& m_context;
439 bool m_saveAndRestore; 439 bool m_saveAndRestore;
440 }; 440 };
441 441
442 } // namespace WebCore 442 } // namespace WebCore
443 443
444 #endif // GraphicsContext_h 444 #endif // GraphicsContext_h
445 445
OLDNEW
« no previous file with comments | « Source/WebCore/css/MediaQueryEvaluator.cpp ('k') | Source/WebCore/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698