summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz
AgeCommit message (Collapse)Author
2016-03-26Isolate the definition of the 3 public, OS-dependent types (Fl_Offscreen, ↵Manolo Gouy
Fl_Region, Fl_Bitmask). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-24Rewrite Fl::handle_(int e, Fl_Window* window) and Fl_Widget::damage() to ↵Manolo Gouy
remove their platform dependent parts git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Rename Fl_XXX_Image_Surface.cxx to Fl_XXX_Image_Surface_Driver.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Deleted because renamed to src/drivers/XXX/Fl_XXX_Copy_Surface_Driver.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Rename src/drivers/XXX/Fl_XXX_Copy_Surface.cxx to Fl_XXX_Copy_Surface_Driver.cxxManolo Gouy
because these files implement the Fl_XXX_Copy_Surface_Driver class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Remove unused files. Their content is now in ↵Manolo Gouy
src/drivers/XXX/Fl_XXX_Copy_Surface.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Driver-based rewrite of the Fl_Copy_Surface class.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19Remove src/drivers/XXX/Fl_XXX_Image_Surface.H files that are no longer useful.Manolo Gouy
Their content is now in src/drivers/XXX/Fl_XXX_Image_Surface.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19(hopefully) Final driver-based rewriting of the Fl_Image_Surface class.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08Simpler method to retain printed image data in memory until it is ↵Manolo Gouy
effectively used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-05Complete the platform-neutral implementation of fl_XXX_offscreen() functions.Manolo Gouy
It is necessary to have a stack of the fl_begin_offscreen() calls, so that nested such calls apply fl_end_offscreen() to the matching fl_begin_offscreen(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04Fix a problem seen in fluid on the Mac OS platform - continued.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04Fix a problem seen in fluid on the Mac OS platform.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04Fix bad #include directivesManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04Complete driver-based implementation of Fl_Image_Surface.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-03Fix error in an #include directive.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02Finalize new implementation of Fl_Copy_Surface.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-01Fix a few Doxygen warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-01Allow fl_draw_image() with negative L parameter for Mac OS - continued.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-01Rewrite the Fl_Copy_Surface class with strict separation of public API and ↵Manolo Gouy
platform-related code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-01Have fl_draw_image(buf,X,Y,W,H,D,L) support negative D and/or L arguments on ↵Manolo Gouy
Mac OS X - continued. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-29Accept fl_draw_image(buf, X,Y,W,H,D,L) with negative D and/or L arguments on ↵Manolo Gouy
the Mac OS platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27Remove declaration of ↵Manolo Gouy
Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha() no longer used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27Rewrite all fl_XXX_offscreen() functions so they use an Fl_Image_Surface object.Manolo Gouy
These functions become therefore platform-independent. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26These files have been renamed from .h to .HManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26Use the FL_DOXYGEN preprocessor variable to remove all Doxygen warningsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26More .h renamed to .HManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26Rename remaining src/drivers/XXX.h to XXX.H - continuedManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26Rename Fl_Quartz_Display_Device.h to Fl_Quartz_Display_Device.HManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-25Remove the useless pseudo run-time type information supported by the ↵Manolo Gouy
Fl_Device class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-25Mac OS platform: make fl_draw_image() draw correctly depth-4 images with ↵Manolo Gouy
transparent areas. This simplifies the drawing of Fl_Pixmap's. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-23Fix Fl_RGB_Image::uncache() and Fl_Bitmap::uncache().Manolo Gouy
It is not possible to use fl_graphics_driver in these functions because when they are called *fl_graphics_driver may have been deleted. A solution is to use Fl_Display_Device::display_device()->driver() instead which is always valid. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-19Rename Fl_Graphics_Driver::set_gc(void*) to gc(void*) and ↵Manolo Gouy
Fl_Graphics_Driver::get_gc() to gc(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-19Update the fl_gc global variable also when Fl_Graphics_Driver::set_gc() is ↵Manolo Gouy
called. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-18Remove all uses of the fl_gc global variable. Towards a clean driver model.Manolo Gouy
fl_gc remains usable by the application as a hook into the system. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-15Reformatting.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-15Improve image drawing to double-resolution Fl_Image_Surface objects (Mac OS ↵Manolo Gouy
only). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-14Remove Fl_X::q_fill_context() used only once.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-14Remove Fl_X::q_clear_clipping() used only once.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-14Move Fl_Quartz_Graphics_Driver::draw_CGImage() to ↵Manolo Gouy
Fl_Quartz_Graphics_Driver_image.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-13New member function Fl_Quartz_Graphics_Driver::draw_CGImage() used ↵Manolo Gouy
internally for all image drawing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-11Mark places that need to be refactored with // PORTME:Matthias Melcher
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-10Avoid OS X warning.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-09Porting efforts, minimal Android stuff, cleanup.Matthias Melcher
- Moving code around for Fl_Double_Window, but not yet happy - Tested CMake for Android cross compilation. Very happy! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-09Move ifdef's in RGB_Image into driver system.Matthias Melcher
- change image caching variable types to uintptr_t - added driver function to uncache image data - cleaning up (Xlib and GDI will likely throw syntax errors. Trying to fix ASAP) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-09Strip Graphics Driver related ifdefs.Matthias Melcher
- removed more ifdef's from the graphics drivers - moved functionality into the driver files themselves - updated CMakeList.txt git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-01Remove fl_set_fonts_mac.cxx and put in Fl_Quartz_Graphics_Driver_font.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-31Moved fl_create_bitmask and fl_delete_bitmask functions into driver ↵Matthias Melcher
structure. Tested on OS X. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30Fix case of include file names.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29Made OpenGL driver compile by itself instead of including files from another ↵Matthias Melcher
.cxx file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121