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

Side by Side Diff: Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h

Issue 8479052: Merge 98185 - [chromium] Make setVisibility extension- and thread-correct (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 READ_ONLY = 0x88B8, 62 READ_ONLY = 0x88B8,
63 WRITE_ONLY = 0x88B9 63 WRITE_ONLY = 0x88B9
64 }; 64 };
65 65
66 // GL_CHROMIUM_map_sub 66 // GL_CHROMIUM_map_sub
67 void* mapBufferSubDataCHROMIUM(unsigned target, int offset, int size, unsign ed access); 67 void* mapBufferSubDataCHROMIUM(unsigned target, int offset, int size, unsign ed access);
68 void unmapBufferSubDataCHROMIUM(const void*); 68 void unmapBufferSubDataCHROMIUM(const void*);
69 void* mapTexSubImage2DCHROMIUM(unsigned target, int level, int xoffset, int yoffset, int width, int height, unsigned format, unsigned type, unsigned access) ; 69 void* mapTexSubImage2DCHROMIUM(unsigned target, int level, int xoffset, int yoffset, int width, int height, unsigned format, unsigned type, unsigned access) ;
70 void unmapTexSubImage2DCHROMIUM(const void*); 70 void unmapTexSubImage2DCHROMIUM(const void*);
71 71
72 // GL_CHROMIUM_set_visibility
73 void setVisibilityCHROMIUM(bool);
74
72 // GL_CHROMIUM_swapbuffers_complete_callback 75 // GL_CHROMIUM_swapbuffers_complete_callback
73 class SwapBuffersCompleteCallbackCHROMIUM { 76 class SwapBuffersCompleteCallbackCHROMIUM {
74 public: 77 public:
75 virtual void onSwapBuffersComplete() = 0; 78 virtual void onSwapBuffersComplete() = 0;
76 virtual ~SwapBuffersCompleteCallbackCHROMIUM() { } 79 virtual ~SwapBuffersCompleteCallbackCHROMIUM() { }
77 }; 80 };
78 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<SwapBuffersCompleteCa llbackCHROMIUM>); 81 void setSwapBuffersCompleteCallbackCHROMIUM(PassOwnPtr<SwapBuffersCompleteCa llbackCHROMIUM>);
79 82
80 // GL_CHROMIUM_rate_limit_offscreen_context 83 // GL_CHROMIUM_rate_limit_offscreen_context
81 void rateLimitOffscreenContextCHROMIUM(); 84 void rateLimitOffscreenContextCHROMIUM();
82 85
83 // GL_CHROMIUM_paint_framebuffer_canvas 86 // GL_CHROMIUM_paint_framebuffer_canvas
84 void paintFramebufferToCanvas(int framebuffer, int width, int height, bool p remultiplyAlpha, ImageBuffer*); 87 void paintFramebufferToCanvas(int framebuffer, int width, int height, bool p remultiplyAlpha, ImageBuffer*);
85 88
86 private: 89 private:
87 // Instances of this class are strictly owned by the GraphicsContext3D imple mentation and do not 90 // Instances of this class are strictly owned by the GraphicsContext3D imple mentation and do not
88 // need to be instantiated by any other code. 91 // need to be instantiated by any other code.
89 friend class GraphicsContext3DPrivate; 92 friend class GraphicsContext3DPrivate;
90 explicit Extensions3DChromium(GraphicsContext3DPrivate*); 93 explicit Extensions3DChromium(GraphicsContext3DPrivate*);
91 94
92 // Weak pointer back to GraphicsContext3DPrivate 95 // Weak pointer back to GraphicsContext3DPrivate
93 GraphicsContext3DPrivate* m_private; 96 GraphicsContext3DPrivate* m_private;
94 }; 97 };
95 98
96 } // namespace WebCore 99 } // namespace WebCore
97 100
98 #endif // Extensions3DChromium_h 101 #endif // Extensions3DChromium_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698