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

Side by Side Diff: plugin/cross/o3d_glue.h

Issue 577038: O3D Mac: Add CoreAnimation support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 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
« no previous file with comments | « no previous file | plugin/cross/o3d_glue.cc » ('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 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 void* mac_window_selected_tab_; 268 void* mac_window_selected_tab_;
269 bool mac_surface_hidden_; 269 bool mac_surface_hidden_;
270 // end of Safari tab detection vars 270 // end of Safari tab detection vars
271 GLint last_buffer_rect_[4]; 271 GLint last_buffer_rect_[4];
272 Point last_plugin_loc_; 272 Point last_plugin_loc_;
273 // can be a CGrafPtr, a CGContextRef or NULL depending on drawing_model 273 // can be a CGrafPtr, a CGContextRef or NULL depending on drawing_model
274 void* mac_2d_context_; 274 void* mac_2d_context_;
275 // either can be NULL depending on drawing_model 275 // either can be NULL depending on drawing_model
276 AGLContext mac_agl_context_; 276 AGLContext mac_agl_context_;
277 CGLContextObj mac_cgl_context_; 277 CGLContextObj mac_cgl_context_;
278 void *gl_layer_;
278 // If in Chrome, we actually do all of our rendering offscreen, and 279 // If in Chrome, we actually do all of our rendering offscreen, and
279 // bootstrap off a 1x1 pbuffer 280 // bootstrap off a 1x1 pbuffer
280 CGLPBufferObj mac_cgl_pbuffer_; 281 CGLPBufferObj mac_cgl_pbuffer_;
281 282
282 // Fullscreen related stuff. 283 // Fullscreen related stuff.
283 284
284 #ifdef O3D_PLUGIN_ENABLE_FULLSCREEN_MSG 285 #ifdef O3D_PLUGIN_ENABLE_FULLSCREEN_MSG
285 // FullscreenIdle gets repeatedly called while we are in fullscreen mode. 286 // FullscreenIdle gets repeatedly called while we are in fullscreen mode.
286 // Currently its only task is to hide the fullscreen message at the right 287 // Currently its only task is to hide the fullscreen message at the right
287 // time. 288 // time.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 535
535 bool AllocateOffscreenRenderSurfaces(int width, int height); 536 bool AllocateOffscreenRenderSurfaces(int width, int height);
536 void DeallocateOffscreenRenderSurfaces(); 537 void DeallocateOffscreenRenderSurfaces();
537 }; 538 };
538 539
539 } // namespace o3d 540 } // namespace o3d
540 } // namespace glue 541 } // namespace glue
541 542
542 543
543 #endif // O3D_PLUGIN_CROSS_O3D_GLUE_H_ 544 #endif // O3D_PLUGIN_CROSS_O3D_GLUE_H_
OLDNEW
« no previous file with comments | « no previous file | plugin/cross/o3d_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698