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

Side by Side Diff: Source/platform/graphics/ImageBufferSurface.h

Issue 1222243002: remove call to didModifyBackingTexture (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 virtual SkCanvas* canvas() const = 0; 60 virtual SkCanvas* canvas() const = 0;
61 virtual const SkBitmap& bitmap(); 61 virtual const SkBitmap& bitmap();
62 virtual void willAccessPixels() { } 62 virtual void willAccessPixels() { }
63 virtual void didDraw(const FloatRect& rect) { } 63 virtual void didDraw(const FloatRect& rect) { }
64 virtual bool isValid() const = 0; 64 virtual bool isValid() const = 0;
65 virtual bool restore() { return false; } 65 virtual bool restore() { return false; }
66 virtual WebLayer* layer() const { return 0; } 66 virtual WebLayer* layer() const { return 0; }
67 virtual bool isAccelerated() const { return false; } 67 virtual bool isAccelerated() const { return false; }
68 virtual bool isRecording() const { return false; } 68 virtual bool isRecording() const { return false; }
69 virtual void didModifyBackingTexture() { }
70 virtual bool isExpensiveToPaint() { return false; } 69 virtual bool isExpensiveToPaint() { return false; }
71 virtual void setFilterQuality(SkFilterQuality) { } 70 virtual void setFilterQuality(SkFilterQuality) { }
72 virtual void setIsHidden(bool) { } 71 virtual void setIsHidden(bool) { }
73 virtual void setImageBuffer(ImageBuffer*) { } 72 virtual void setImageBuffer(ImageBuffer*) { }
74 virtual PassRefPtr<SkPicture> getPicture(); 73 virtual PassRefPtr<SkPicture> getPicture();
75 virtual void finalizeFrame(const FloatRect &dirtyRect) { } 74 virtual void finalizeFrame(const FloatRect &dirtyRect) { }
76 virtual void willDrawVideo() { } 75 virtual void willDrawVideo() { }
77 virtual void willOverwriteCanvas() { } 76 virtual void willOverwriteCanvas() { }
78 virtual void draw(GraphicsContext*, const FloatRect& destRect, const FloatRe ct& srcRect, SkXfermode::Mode); 77 virtual void draw(GraphicsContext*, const FloatRect& destRect, const FloatRe ct& srcRect, SkXfermode::Mode);
79 virtual void setHasExpensiveOp() { } 78 virtual void setHasExpensiveOp() { }
(...skipping 11 matching lines...) Expand all
91 void clear(); 90 void clear();
92 91
93 private: 92 private:
94 OpacityMode m_opacityMode; 93 OpacityMode m_opacityMode;
95 IntSize m_size; 94 IntSize m_size;
96 }; 95 };
97 96
98 } // namespace blink 97 } // namespace blink
99 98
100 #endif 99 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/ImageBuffer.cpp ('k') | Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698