mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 747207: Adjust NPAPI Async drawing model values. r=josh
This commit is contained in:
parent
cf4f808f6d
commit
b28bc71f6e
@ -314,8 +314,7 @@ typedef enum {
|
||||
NPDrawingModelSyncX = 6,
|
||||
NPDrawingModelAsyncBitmapSurface = 7
|
||||
#if defined(XP_WIN)
|
||||
, NPDrawingModelAsyncWindowsDXGISurface = 8,
|
||||
NPDrawingModelAsyncWindowsDX9ExSurface = 9
|
||||
, NPDrawingModelAsyncWindowsDXGISurface = 8
|
||||
#endif
|
||||
} NPDrawingModel;
|
||||
|
||||
@ -462,11 +461,9 @@ typedef enum {
|
||||
, NPNVsupportsCoreAnimationBool = 2003
|
||||
, NPNVsupportsInvalidatingCoreAnimationBool = 2004
|
||||
#endif
|
||||
, NPNVsupportsSyncDrawingBool = 2005
|
||||
, NPNVsupportsAsyncBitmapSurfaceBool = 2006
|
||||
, NPNVsupportsAsyncBitmapSurfaceBool = 2005
|
||||
#if defined(XP_WIN)
|
||||
, NPNVsupportsAsyncWindowsDXGISurfaceBool = 2007
|
||||
, NPNVsupportsAsyncWindowsDX9ExSurfaceBool = 2008
|
||||
, NPNVsupportsAsyncWindowsDXGISurfaceBool = 2006
|
||||
#endif
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
|
@ -93,7 +93,6 @@ inline bool IsDrawingModelAsync(int16_t aModel) {
|
||||
return aModel == NPDrawingModelAsyncBitmapSurface
|
||||
#ifdef XP_WIN
|
||||
|| aModel == NPDrawingModelAsyncWindowsDXGISurface
|
||||
|| aModel == NPDrawingModelAsyncWindowsDX9ExSurface
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user