FreeRDP
shadow_surface.c File Reference
#include <freerdp/config.h>
#include "shadow.h"
#include "shadow_surface.h"

Macros

#define ALIGN_SCREEN_SIZE(size, align)    ((((size) % (align)) != 0) ? ((size) + (align) - ((size) % (align))) : (size))
 

Functions

rdpShadowSurface * shadow_surface_new (rdpShadowServer *server, UINT16 x, UINT16 y, UINT32 width, UINT32 height)
 
void shadow_surface_free (rdpShadowSurface *surface)
 
BOOL shadow_surface_resize (rdpShadowSurface *surface, UINT16 x, UINT16 y, UINT32 width, UINT32 height)
 

Macro Definition Documentation

◆ ALIGN_SCREEN_SIZE

#define ALIGN_SCREEN_SIZE (   size,
  align 
)     ((((size) % (align)) != 0) ? ((size) + (align) - ((size) % (align))) : (size))

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ shadow_surface_free()

void shadow_surface_free ( rdpShadowSurface *  surface)

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadow_surface_new()

rdpShadowSurface* shadow_surface_new ( rdpShadowServer *  server,
UINT16  x,
UINT16  y,
UINT32  width,
UINT32  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadow_surface_resize()

BOOL shadow_surface_resize ( rdpShadowSurface *  surface,
UINT16  x,
UINT16  y,
UINT32  width,
UINT32  height 
)
Here is the caller graph for this function: