Do not expose DrishtiGraphGPUData.h in public header
This class is an implementation detail. PiperOrigin-RevId: 490530823
This commit is contained in:
		
							parent
							
								
									b5189758f7
								
							
						
					
					
						commit
						3c53ec2cdb
					
				| 
						 | 
				
			
			@ -550,12 +550,7 @@ cc_library(
 | 
			
		|||
    name = "gpu_shared_data_header",
 | 
			
		||||
    textual_hdrs = [
 | 
			
		||||
        "gpu_shared_data_internal.h",
 | 
			
		||||
    ] + select({
 | 
			
		||||
        "//conditions:default": [],
 | 
			
		||||
        "//mediapipe:apple": [
 | 
			
		||||
            "MPPGraphGPUData.h",
 | 
			
		||||
    ],
 | 
			
		||||
    }),
 | 
			
		||||
    visibility = ["//visibility:private"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        ":gl_base",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,13 +21,11 @@
 | 
			
		|||
 | 
			
		||||
#include "mediapipe/framework/packet.h"
 | 
			
		||||
#include "mediapipe/framework/packet_type.h"
 | 
			
		||||
#include "mediapipe/gpu/MPPGraphGPUData.h"
 | 
			
		||||
#include "mediapipe/gpu/gpu_shared_data_internal.h"
 | 
			
		||||
 | 
			
		||||
NS_ASSUME_NONNULL_BEGIN
 | 
			
		||||
 | 
			
		||||
@interface MPPMetalHelper : NSObject {
 | 
			
		||||
  MPPGraphGPUData* _gpuShared;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
- (instancetype)init NS_UNAVAILABLE;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,11 +14,17 @@
 | 
			
		|||
 | 
			
		||||
#import "mediapipe/gpu/MPPMetalHelper.h"
 | 
			
		||||
 | 
			
		||||
#import "mediapipe/gpu/MPPGraphGPUData.h"
 | 
			
		||||
#import "mediapipe/gpu/graph_support.h"
 | 
			
		||||
#import "GTMDefines.h"
 | 
			
		||||
 | 
			
		||||
#include "mediapipe/framework/port/ret_check.h"
 | 
			
		||||
 | 
			
		||||
@interface MPPMetalHelper () {
 | 
			
		||||
  MPPGraphGPUData* _gpuShared;
 | 
			
		||||
}
 | 
			
		||||
@end
 | 
			
		||||
 | 
			
		||||
namespace mediapipe {
 | 
			
		||||
 | 
			
		||||
// Using a C++ class so it can be declared as a friend of LegacyCalculatorSupport.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,7 +24,6 @@
 | 
			
		|||
#include "mediapipe/framework/formats/image.h"
 | 
			
		||||
#include "mediapipe/framework/formats/image_frame.h"
 | 
			
		||||
#include "mediapipe/framework/graph_service.h"
 | 
			
		||||
#include "mediapipe/gpu/MPPGraphGPUData.h"
 | 
			
		||||
#include "mediapipe/gpu/gl_base.h"
 | 
			
		||||
#include "mediapipe/gpu/gpu_shared_data_internal.h"
 | 
			
		||||
#include "mediapipe/objc/util.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user