This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TDWOperation.h | |
// | |
// Created by Aleksandr Medvedev on 16.04.2023. | |
// | |
#import <Foundation/Foundation.h> | |
NS_ASSUME_NONNULL_BEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TDWView.h | |
// | |
// Created by Aleksandr Medvedev on 12.01.2023. | |
// | |
#import <AppKit/AppKit.h> | |
typedef struct { | |
CGFloat location; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSObject+TDWHasObserver.h | |
// | |
// Created by Aleksandr Medvedev on 09.11.2022. | |
// | |
#import <Foundation/Foundation.h> | |
NS_ASSUME_NONNULL_BEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TDWFTPUploader.h | |
// iOSPlayground | |
// | |
// Created by Aleksandr Medvedev on 25.09.2022. | |
// | |
@import Foundation; | |
NS_ASSUME_NONNULL_BEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// ObjCPlayground | |
// | |
// Created by Aleksandr Medvedev on 04.08.2022. | |
// | |
#include <objc/runtime.h> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package the.dreams.wind.blendingfilter; | |
import android.opengl.GLES20; | |
import jp.co.cyberagent.android.gpuimage.filter.GPUImageFilter; | |
class ColorMatrixSubtractFilter extends GPUImageFilter { | |
private static final String FRAGMENT_SHADER = "precision mediump float;" + | |
"struct ColorFilter {" + | |
" mat4 factor;" + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package the.dreams.wind.blendingfilter; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.opengl.GLES20; | |
import android.opengl.GLException; | |
import android.opengl.GLSurfaceView; | |
import android.opengl.GLUtils; | |
import android.support.annotation.NonNull; | |
import android.view.WindowManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/rootView" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<android.support.constraint.ConstraintLayout |