Loading native/webview/plat_support/draw_gl.h +6 −6 Original line number Original line Diff line number Diff line Loading @@ -43,9 +43,9 @@ struct AwDrawGLInfo { // Input: tells the draw function what action to perform. // Input: tells the draw function what action to perform. enum Mode { enum Mode { kModeDraw = 0, kModeDraw = 0, kModeProcess, kModeProcess = 1, kModeProcessNoContext, kModeProcessNoContext = 2, kModeSync, kModeSync = 3, } mode; } mode; // Input: current clip rect in surface coordinates. Reflects the current state // Input: current clip rect in surface coordinates. Reflects the current state Loading Loading @@ -93,9 +93,9 @@ typedef void (AwDrawGLFunction)(long view_context, AwDrawGLInfo* draw_info, AwDrawGLInfo* draw_info, void* spare); void* spare); enum AwMapMode { enum AwMapMode { MAP_READ_ONLY, MAP_READ_ONLY = 0, MAP_WRITE_ONLY, MAP_WRITE_ONLY = 1, MAP_READ_WRITE, MAP_READ_WRITE = 2, }; }; // Called to create a GraphicBuffer // Called to create a GraphicBuffer Loading Loading
native/webview/plat_support/draw_gl.h +6 −6 Original line number Original line Diff line number Diff line Loading @@ -43,9 +43,9 @@ struct AwDrawGLInfo { // Input: tells the draw function what action to perform. // Input: tells the draw function what action to perform. enum Mode { enum Mode { kModeDraw = 0, kModeDraw = 0, kModeProcess, kModeProcess = 1, kModeProcessNoContext, kModeProcessNoContext = 2, kModeSync, kModeSync = 3, } mode; } mode; // Input: current clip rect in surface coordinates. Reflects the current state // Input: current clip rect in surface coordinates. Reflects the current state Loading Loading @@ -93,9 +93,9 @@ typedef void (AwDrawGLFunction)(long view_context, AwDrawGLInfo* draw_info, AwDrawGLInfo* draw_info, void* spare); void* spare); enum AwMapMode { enum AwMapMode { MAP_READ_ONLY, MAP_READ_ONLY = 0, MAP_WRITE_ONLY, MAP_WRITE_ONLY = 1, MAP_READ_WRITE, MAP_READ_WRITE = 2, }; }; // Called to create a GraphicBuffer // Called to create a GraphicBuffer Loading