Changeset 229194 in webkit


Ignore:
Timestamp:
Mar 2, 2018 4:07:51 PM (6 years ago)
Author:
dino@apple.com
Message:

Remove NP_GLContext since it is unsupported
https://bugs.webkit.org/show_bug.cgi?id=183305
<rdar://problem/36875555>

Reviewed by Simon Fraser.

  • plugins/npapi.h: Remove NP_GLContext and mention that

it is not supported.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r229191 r229194  
     12018-03-02  Dean Jackson  <dino@apple.com>
     2
     3        Remove NP_GLContext since it is unsupported
     4        https://bugs.webkit.org/show_bug.cgi?id=183305
     5        <rdar://problem/36875555>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * plugins/npapi.h: Remove NP_GLContext and mention that
     10        it is not supported.
     11
    1122018-03-02  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebCore/plugins/npapi.h

    r187886 r229194  
    285285#endif
    286286  NPDrawingModelCoreGraphics = 1,
    287   NPDrawingModelOpenGL = 2,
     287  NPDrawingModelOpenGL = 2, // Note: This is not supported.
    288288  NPDrawingModelCoreAnimation = 3
    289289} NPDrawingModel;
     
    583583#endif
    584584} NP_CGContext;
    585 
    586 /*
    587  * NP_GLContext is the type of the NPWindow's 'window' when the plugin specifies NPDrawingModelOpenGL as its
    588  * drawing model.
    589  */
    590 
    591 typedef struct NP_GLContext
    592 {
    593   CGLContextObj context;
    594 #ifdef NP_NO_CARBON
    595   NPNSWindow *window;
    596 #else
    597   void *window; /* Can be either an NSWindow or a WindowRef depending on the event model */
    598 #endif
    599 } NP_GLContext;
    600585
    601586typedef enum {
Note: See TracChangeset for help on using the changeset viewer.